-
Notifications
You must be signed in to change notification settings - Fork 485
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 #3825
feat(snap): add additional tokens for app-service-configurable profiles #3825
Conversation
Can't we add this token for the test via the config arguments? It also applies to |
Yes, indeed, I can do
and that generates the token. However, it adds a few extra steps and the requirement to revoke and regenerate all tokens and since this profile is one of the built-in profiles of app-service-configurable, it might make sense to include a token for it by default. Also - the config hook in edgexfoundry currently expects all the tokens to be there for the slots listed in the connecting snap. So if we add a slot there for this profile (which PR edgexfoundry/app-service-configurable#361 does), then the content interface doesn't connect unless that token in present. (we get an error like |
I added a 2nd commit to this PR to add the app-push-to-core token as well, so we now have tokens for all 6 built-in profiles. |
The external-mqtt-trigger profile is used by the TAF integration tests. This commit enables that profile by creating a token for that profile and making it available for the edgex-app-service-configurable snap. Signed-off-by: Siggi Skulason <[email protected]>
This commit enables the push-to-core app-service-configurable profile by creating a token for that profile and making it available for the edgex-app-service-configurable snap. Signed-off-by: Siggi Skulason <[email protected]>
force-pushed a rebase to main |
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.
ignore this..
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 are added now
- sounds more like a new feature (feat) than fix
thanks - done. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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.
Thanks @siggiskulason.
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
…es (edgexfoundry#3825) * feat(snap): add additional tokens for app-service-configurable profiles The external-mqtt-trigger and app-push-to-core profiles are used by the TAF integration tests. This commit enables those profiles by creating tokens for them and making the tokens available for the edgex-app-service-configurable snap. Signed-off-by: Siggi Skulason <[email protected]>
…es (edgexfoundry#3825) * feat(snap): add additional tokens for app-service-configurable profiles The external-mqtt-trigger and app-push-to-core profiles are used by the TAF integration tests. This commit enables those profiles by creating tokens for them and making the tokens available for the edgex-app-service-configurable snap. Signed-off-by: Siggi Skulason <[email protected]> (cherry picked from commit 23881e6)
…es (edgexfoundry#3825) * feat(snap): add additional tokens for app-service-configurable profiles The external-mqtt-trigger and app-push-to-core profiles are used by the TAF integration tests. This commit enables those profiles by creating tokens for them and making the tokens available for the edgex-app-service-configurable snap. Signed-off-by: Siggi Skulason <[email protected]> (cherry picked from commit 23881e6)
…es (edgexfoundry#3825) * feat(snap): add additional tokens for app-service-configurable profiles The external-mqtt-trigger and app-push-to-core profiles are used by the TAF integration tests. This commit enables those profiles by creating tokens for them and making the tokens available for the edgex-app-service-configurable snap. Signed-off-by: Siggi Skulason <[email protected]> (cherry picked from commit 23881e6)
…es (#3825) (#4043) * feat(snap): add additional tokens for app-service-configurable profiles The external-mqtt-trigger and app-push-to-core profiles are used by the TAF integration tests. This commit enables those profiles by creating tokens for them and making the tokens available for the edgex-app-service-configurable snap. Signed-off-by: Siggi Skulason <[email protected]> (cherry picked from commit 23881e6) Co-authored-by: Siggi Skulason <[email protected]>
The external-mqtt-trigger and app-push-to-core profiles are used by the TAF integration tests.
This PR enables those profiles by creating tokens for them and making the tokens available for
the edgex-app-service-configurable snap.
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/edgex-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:
BREAKING CHANGE:
describing the break)Testing Instructions
sudo ls /var/snap/edgexfoundry/current/secrets/app-external-mqtt-trigger/secrets-token.json
New Dependency Instructions (If applicable)