-
Notifications
You must be signed in to change notification settings - Fork 48
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
feat(snap): add additional tokens for app-service-configurable profiles #361
feat(snap): add additional tokens for app-service-configurable profiles #361
Conversation
The external-mqtt-trigger profile is used by the TAF integration tests. This commit updates the snap so that the secret-store token for that profile is copied from the edgexfoundry snap Signed-off-by: Siggi Skulason <[email protected]>
This commit updates the snap so that the token for the push-to-core secret-store profile is copied from the edgexfoundry snap It also changes the list of profiles to a YAML list to shorten the line Signed-off-by: Siggi Skulason <[email protected]>
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.
Looks good.
But please update the PR title:
- multiple tokens added now
- fix or feat?
- $SNAP_DATA/app-external-mqtt-trigger | ||
- $SNAP_DATA/app-functional-tests | ||
- $SNAP_DATA/app-push-to-core | ||
- $SNAP_DATA/app-rules-engine |
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.
In future, we need to improve the way this content interface works to allow receiving tokens that are requested dynamically from the secret store, e.g. for development, testing, multiple custom names.
Done |
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
This PR adds updates the snap so that the secret-store tokens for
are copied from the edgexfoundry snap. Both are built-in profiles that are referenced in the TAF tests
Signed-off-by: Siggi Skulason [email protected]
If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/app-service-configurable/blob/main/.github/CONTRIBUTING.md
PR Checklist
Please check if your PR fulfills the following requirements:
BREAKING CHANGE:
describing the break)Testing Instructions
To test:
sudo snap connect edgexfoundry:edgex-secretstore-token edgex-app-service-configurable
sudo snap set edgex-app-service-configurable profile=external-mqtt-trigger
New Dependency Instructions (If applicable)