Issue #721 fix. When domain resource 'domainHome' is not set and 'domainHomeInImage' is 'true' look for a single WebLogic domain under '/u01/oracle/user_projects/domains', and use this as this location as the DOMAIN_HOME. #744
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change Summary:
Fix for Issue #721.
When domain resource 'domainHome' is not set and 'domainHomeInImage' is 'true' look for a single WebLogic domain under '/u01/oracle/user_projects/domains', and use this as this location as the DOMAIN_HOME. Fail and report an error if no 'config/config.xml' is found among these locations, or more than one is found.
This mandate has been broadened slightly beyond "when domain resource 'domainHome' is not set and 'domainHomeInImage' is 'true'" to always hunt for a single domain among the subdirectories of 'domainHome' if 'domainHome' equals ''/u01/oracle/user_projects/domains' regardless of whether this value came from a default or was specifically set by the administrator.
Test status:
Jenkins, QUICKTEST, and some ad hoc testing passed (including a domain-in-image test).