-
Notifications
You must be signed in to change notification settings - Fork 13
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
Conversation
…ble/disable AgentStatusUpdate jobs.
…ble/disable AgentStatusUpdate jobs.
pkg/config/agentfeaturesconfig.go
Outdated
@@ -24,6 +25,7 @@ type AgentFeaturesConfiguration struct { | |||
PersistCache bool `config:"persistCache"` | |||
MarketplaceProvisioning bool `config:"marketplaceProvisioning"` | |||
ExternalIDPConfig ExternalIDPConfig `config:"idp"` | |||
SdkAgentStatusUpdates bool `config:"sdkAgentStatusUpdates"` |
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.
Can this be changed to enableAgentStatusUpdates?
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.
Can we rename it as agentStatusUpdates without the "enable" to be consistent with all the other flags like (versionChecker, marketplaceProvisioning, connectToCentral , ...)?
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 agree that we should drop enable from the name.
pkg/config/agentfeaturesconfig.go
Outdated
@@ -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") |
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.
The default here should be true
d69f923
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.