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

Ampgw 879 #519

Merged
merged 4 commits into from
Aug 24, 2022
Merged

Ampgw 879 #519

merged 4 commits into from
Aug 24, 2022

Conversation

wkolsi
Copy link
Collaborator

@wkolsi wkolsi commented Aug 18, 2022

We have added this flag which is true by default, so that we can on the GovernanceAgent side manage the status, but we keeping the periodic status update.

jcollins-axway
jcollins-axway previously approved these changes Aug 18, 2022
@@ -24,6 +25,7 @@ type AgentFeaturesConfiguration struct {
PersistCache bool `config:"persistCache"`
MarketplaceProvisioning bool `config:"marketplaceProvisioning"`
ExternalIDPConfig ExternalIDPConfig `config:"idp"`
SdkAgentStatusUpdates bool `config:"sdkAgentStatusUpdates"`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be changed to enableAgentStatusUpdates?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we rename it as agentStatusUpdates without the "enable" to be consistent with all the other flags like (versionChecker, marketplaceProvisioning, connectToCentral , ...)?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that we should drop enable from the name.

jcollins-axway
jcollins-axway previously approved these changes Aug 22, 2022
vivekschauhan
vivekschauhan previously approved these changes Aug 23, 2022
@@ -90,17 +99,19 @@ func AddAgentFeaturesConfigProperties(props properties.Properties) {
props.AddBoolProperty(pathVersionChecker, true, "Controls whether the agent SDK version checker will be enabled or not")
props.AddBoolProperty(pathPersistCache, false, "Controls whether the agent SDK will persist agent cache or not")
props.AddBoolProperty(pathMarketplaceProvisioning, false, "Controls whether the agent should handle Marketplace Subscriptions or not")
props.AddBoolProperty(pathEnableAgentStatusUpdates, false, "Controls whether the agent should manage the status update or not")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default here should be true

@wkolsi wkolsi dismissed stale reviews from vivekschauhan and jcollins-axway via d69f923 August 23, 2022 23:59
@wkolsi wkolsi merged commit 3a5bc44 into main Aug 24, 2022
@wkolsi wkolsi deleted the AMPGW-879 branch August 24, 2022 12:24
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