Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add configuration checker #14

Open
lsloan opened this issue Aug 11, 2023 · 1 comment
Open

add configuration checker #14

lsloan opened this issue Aug 11, 2023 · 1 comment
Assignees
Labels
🆕 enhancement New feature or request

Comments

@lsloan
Copy link
Member

lsloan commented Aug 11, 2023

Add a mode to the application in which it reads .env and checks the configuration, then exits without doing any migrations. This would let the user get some validation for the values in the file. Things that should be checked…

  • Canvas API — Check by connecting to the Canvas API and performing a simple query using the supplied URL and key. (Could be the tool ID queries, below.)
  • UDW — Check by connecting to UDW and performing a simple query.
  • Account ID — Check by looking up the ID in the Canvas API and displaying its name.
  • Term IDs — Check by looking up the IDs in the Canvas API and displaying their names and dates.
  • Tool IDs — Check by looking up the IDs in the Canvas API and displaying their names.
@lsloan lsloan added the 🆕 enhancement New feature or request label Aug 11, 2023
@lsloan lsloan self-assigned this Aug 11, 2023
@lsloan
Copy link
Member Author

lsloan commented Oct 17, 2023

This is partially resolved by PR #32 for #22. To completely implement this feature, we'd need…

  1. Another parameter (probably Boolean) that indicates whether the run is for config check only.
  2. Simple connection checks with Canvas API and UDW.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant