-
Notifications
You must be signed in to change notification settings - Fork 123
CSPL-763 - App framework related changes #245
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
Conversation
|
||
func TestValidateApplicationFrameworkSpec(t *testing.T) { | ||
var err error | ||
// Valid app framework config with proper inputs |
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 add a Positive test case too?
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.
Sure, let me check.
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.
Positive check was also added.
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. Couple of minor comments.
1) Log only if apps framework feature flag is true 2) Use scoped logging
description: App Package Remote Store Endpoint | ||
type: string | ||
s3PollInterval: | ||
description: App Package Remote Store Polling interval |
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.
We should probably add the units and default value here so users know what they are configuring.
Also I noticed that it looks like the other code is written with seconds in mind, from our earlier discussion did we want to go with minutes instead?
Overview
This PR is for a story as part of AppFramework Operator-Setup. This story provides configuration section to pass the App Framework related parameters.
It is applicable to following CRs:
Standalone, ClusterMaster, SearchHeadCluster and LicenseMaster
By default, this feature is disabled unless we explicitly enable it by adding following under "applications" section
featureEnabled: TRUE
Currently unit tests are present for the configuration values for :