-
Notifications
You must be signed in to change notification settings - Fork 47
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(c2cuc): add functionality for updating configuration of other components #1577
base: c2c-update-configuration
Are you sure you want to change the base?
feat(c2cuc): add functionality for updating configuration of other components #1577
Conversation
…teConfiguration field
Unit Tests Coverage Report
Minimum allowed coverage is Generated by 🐒 cobertura-action against c391d69 |
Integration Tests Coverage Report
Minimum allowed coverage is Generated by 🐒 cobertura-action against c391d69 |
...ain/java/com/aws/greengrass/builtin/services/configstore/ConfigStoreIPCEventStreamAgent.java
Outdated
Show resolved
Hide resolved
String.join(", ", request.getValueToMerge().keySet()) | ||
)); | ||
|
||
Topics serviceTopics = kernel.findServiceTopic(targetServiceName); |
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.
you need to check for authorization before starting to do the lookup and applying changes. Please do that in this change.
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.
Will do
...java/com/aws/greengrass/builtin/services/configstore/ConfigStoreIPCEventStreamAgentTest.java
Outdated
Show resolved
Hide resolved
...ain/java/com/aws/greengrass/builtin/services/configstore/ConfigStoreIPCEventStreamAgent.java
Show resolved
Hide resolved
…n and UpdateConfiguration
c391d69
to
d55536b
Compare
Authorization changes still WIP, setting this PR to draft for that |
Issue #, if available:
GG-44771
GG-44748
Description of changes:
Key not found
, so I updated it to also use the error message I introduced for UpdateConfiguration when a component is not found.Why is this change necessary:
As a developer building components to run in Greengrass, I want to update a component A's config from an other component B, so that B can adjust the behavior of A at runtime.
How was this change tested:
Any additional information or context required to review the change:
c2c-update-configuration
)Documentation Checklist:
Compatibility Checklist:
any deprecated method or type.
Refer to Compatibility Guidelines for more information.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.