-
Notifications
You must be signed in to change notification settings - Fork 212
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
Owls 87209 - Domain lifecycle scripts fix in cases where domain/cluster specs are overridden at the individual managed server level #2222
Conversation
…etails under spec.managedServers.
…spec has only serverStartPolicy
General comment: IIRC, there are integration tests for these scripts. If so, please file a JIRA to enhance them to cover the new use case... |
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 you enhance integration test (ItServerStartPolicy.java) to add this usecase.
Thanks. I have made the suggested changes and also created JIRA OWLS-87819 to track the enhancement of the integration tests to cover the new use case. |
|
.. Can you enhance integration test (ItServerStartPolicy.java) to add this usecase. |
Owls 87209 - Domain lifecycle scripts fix in cases where domain/cluster specs are overridden at the individual managed server level. The script doesn't work correctly when
.spec.managedServers
section has pre-existing details for a particular managed server. For e.g Consider the below stanza where theserverStartState
attribute is overridden for soa_server1.spec:
managedServers:
serverStartState: RUNNING
This change adds the server start policy element for the managed server if the policy doesn't exist or replaces the policy if the policy already exists. Similarly, it unsets the policy and/or deletes the managed server element if managed server spec only has serverStartPolicy under it.