-
Notifications
You must be signed in to change notification settings - Fork 7
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
move STAC service Magpie definition under its component #383
move STAC service Magpie definition under its component #383
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay so we can merge this seperately from the fix with the redirect
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should also completely remove stac-public-access and put those permission changes under all-public-access. (see my concern here: #382 (comment))
See proposed changes from here (https://github.com/bird-house/birdhouse-deploy/compare/stac-permission-fixes)
@mishaschwartz |
E2E Test ResultsDACCS-iac Pipeline ResultsBuild URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/2076/Result : failure BIRDHOUSE_DEPLOY_BRANCH : stac-magpie-provider-without-public-permissions DACCS_CONFIGS_BRANCH : master PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master PAVICS_SDI_BRANCH : master DESTROY_INFRA_ON_EXIT : true PAVICS_HOST : https://host-140-46.rdext.crim.ca PAVICS-e2e-workflow-tests Pipeline ResultsTests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/1319/NOTEBOOK TEST RESULTS |
Ok I'm fine with that compromise. Can you remove it from the |
birdhouse/optional-components/stac-public-access/config/magpie/config.yml.template
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as well, pending the comment from Misha.
E2E Test ResultsDACCS-iac Pipeline ResultsBuild URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/2077/Result : failure BIRDHOUSE_DEPLOY_BRANCH : stac-magpie-provider-without-public-permissions DACCS_CONFIGS_BRANCH : master PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master PAVICS_SDI_BRANCH : master DESTROY_INFRA_ON_EXIT : true PAVICS_HOST : https://host-140-133.rdext.crim.ca PAVICS-e2e-workflow-tests Pipeline ResultsTests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/1320/NOTEBOOK TEST RESULTS |
E2E Test ResultsDACCS-iac Pipeline ResultsBuild URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/2080/Result : failure BIRDHOUSE_DEPLOY_BRANCH : stac-magpie-provider-without-public-permissions DACCS_CONFIGS_BRANCH : master PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master PAVICS_SDI_BRANCH : master DESTROY_INFRA_ON_EXIT : true PAVICS_HOST : https://host-140-46.rdext.crim.ca PAVICS-e2e-workflow-tests Pipeline ResultsTests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/1322/NOTEBOOK TEST RESULTS |
Overview
Move STAC service definitions under
components/stac
configuration.Changes
Non-breaking changes
Move initial
stac
service Magpie definition under its component configuration.optional-components/stac-public-access
was mandatory since thestac
service underMagpie was not created otherwise, leading to "service not found" error when requesting the
/stac
endpoint.stac
resource understac
service in Magpie is created by default.Without this resource being defined initially, it is very easy to forget creating it, which would not take into
account the required
/stac/stac
request path to properly resolve the real endpoints where STAC API is served.Remove
optional-components/stac-public-access
dependency underoptional-components/all-public-access
to avoid indirectly enforcing
components/stac
whenoptional-components/all-public-access
is enabled.Users that desire using
optional-components/stac-public-access
will have to add it explicitly to the listof
EXTRA_CONF_DIRS
.Rename
optional-components/stac-public-access/config/magpie/config.yml.template
tooptional-components/stac-public-access/config/magpie/permissions.cfg
in order to alignwith permissions-specific contents as accomplished with other components.
Breaking changes
Related Issue / Discussion