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

Enable catalogue authorization #208

Merged
merged 7 commits into from
Jun 4, 2020
Merged

Enable catalogue authorization #208

merged 7 commits into from
Jun 4, 2020

Conversation

ateucher
Copy link
Collaborator

@ateucher ateucher commented Jun 3, 2020

This is a minimal implementation, allowing a user to store their catalogue API key in their .Renviron file as BCDC_KEY.

This allows searching and retrieving records and data from the catalogue which are not public/published (but they are authorized for in the catalogue) - e.g., DRAFT records.

ateucher added 2 commits June 3, 2020 14:36
- split bcdc_http_client into wfs and catalogue
- access BCDC_KEY env var for authorization of catalogue requests
- add tests
@ateucher ateucher requested review from boshek and stephhazlitt June 3, 2020 21:57
@ateucher
Copy link
Collaborator Author

ateucher commented Jun 3, 2020

Also, that error on Actions on R 3.5 is from rmarkdown - they know about it and should be fixed next release... rstudio/rmarkdown#1832

README.Rmd Outdated Show resolved Hide resolved
@ateucher ateucher merged commit 99971c6 into master Jun 4, 2020
@ateucher ateucher deleted the auth branch June 4, 2020 23:28
ateucher added a commit that referenced this pull request Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants