Skip to content

Commit 8d90924

Browse files
committed
Adding Inspect Image button to allow helping the user locate the WDT Model and Install Homes from existing images
1 parent 1917e02 commit 8d90924

File tree

8 files changed

+464
-78
lines changed

8 files changed

+464
-78
lines changed

electron/app/locales/en/webui.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,8 @@
570570
"domain-design-image-wdt-install-home-help": "The location of the WebLogic Deploy Tooling installation within the primary image.",
571571
"domain-design-image-model-home-label": "WebLogic Deploy Tooling Model Home in Primary Image",
572572
"domain-design-image-model-home-help": "The directory location of the WebLogic Deploy Tooling model files within the primary image.",
573+
"domain-design-image-inspect-button": "Inspect Primary Image",
574+
"domain-design-image-inspect-hints": "Find WDT and Model Home from Primary Image.",
573575
"domain-design-image-registry-pull-requires-authentication-label": "Specify Image Pull Credentials",
574576
"domain-design-image-registry-pull-requires-authentication-help": "Whether you want to specify authentication credentials for pulling the image from the registry.",
575577
"domain-design-image-registry-use-existing-pull-secret-label": "Use Existing Image Pull Secret",
@@ -597,6 +599,8 @@
597599
"domain-design-aux-image-source-wdt-home-help": "The source location of the WebLogic Deploy Tooling installation within the auxiliary image.",
598600
"domain-design-aux-image-source-model-home-label": "WebLogic Deploy Tooling Model Home in Auxiliary Image",
599601
"domain-design-aux-image-source-model-home-help": "The source directory location of the WebLogic Deploy Tooling model files within the auxiliary image.",
602+
"domain-design-aux-image-inspect-button": "Inspect Auxiliary Image",
603+
"domain-design-aux-image-inspect-hints": "Find WDT and Model Home from Auxiliary Image.",
600604
"domain-design-aux-image-registry-pull-requires-authentication-label": "Specify Auxiliary Image Pull Credentials",
601605
"domain-design-aux-image-registry-pull-requires-authentication-help": "Whether you want to specify authentication credentials for pulling the auxiliary image from the registry.",
602606
"domain-design-aux-image-registry-use-existing-pull-secret-label": "Use Existing Auxiliary Image Pull Secret",
@@ -1010,6 +1014,18 @@
10101014
"wit-inspect-results-java-message": "Inspection of image {{imageTag}} found a Java installation.",
10111015
"wit-inspector-empty-contents-message": "Inspection of image {{imageTag}} did not find Java or Oracle Fusion Middleware installations",
10121016

1017+
"wit-inspector-wdt-primary-aborted-error-title": "Inspect Primary Image Aborted",
1018+
"wit-inspect-primary-results-success-message": "Inspector found both the WDT install home and model home and updated the project.",
1019+
"wit-inspect-primary-results-no-wdt-or-models-message": "Inspector was unable to find WDT and models in the primary image so the project was not updated. This does not necessarily mean that they are not present. It could be that the image was not created using the WebLogic Image Tool.",
1020+
"wit-inspect-primary-results-no-wdt-message": "Inspector was unable to find WDT but found models at {{wdtModelHome}} in the primary image so the project was not updated.",
1021+
"wit-inspect-primary-results-no-models-message": "Inspector was unable to find models but found WDT at {{wdtInstallHome}} in the primary image so the project was not updated.",
1022+
1023+
"wit-inspector-wdt-auxiliary-aborted-error-title": "Inspect Auxiliary Image Aborted",
1024+
"wit-inspect-auxiliary-results-success-message": "Inspector found both the WDT install home and model home and updated the project.",
1025+
"wit-inspect-auxiliary-results-no-wdt-or-models-message": "Inspector was unable to find WDT and models in the auxiliary image so the project was not updated. This does not necessarily mean that they are not present. It could be that the image was not created using the WebLogic Image Tool.",
1026+
"wit-inspect-auxiliary-results-no-wdt-message": "Inspector was unable to find WDT but found models at {{wdtModelHome}} in the auxiliary image so the project was not updated.",
1027+
"wit-inspect-auxiliary-results-no-models-message": "Inspector was unable to find models but found WDT at {{wdtInstallHome}} in the auxiliary image so the project was not updated.",
1028+
10131029
"inspect-dialog-default-title": "Image Contents",
10141030
"inspect-dialog-default-message": "Unknown image contents",
10151031
"inspect-dialog-os-section-title": "Operating System:",
@@ -1324,6 +1340,8 @@
13241340
"flow-validate-model-name": "Validate Model",
13251341
"flow-prepare-model-name": "Prepare Model",
13261342
"flow-inspect-base-image-name": "Inspect Base Image",
1343+
"flow-inspect-primary-image-name": "Inspect Primary Image",
1344+
"flow-inspect-auxiliary-image-name": "Inspect Auxiliary Image",
13271345
"flow-create-image-name": "Create Primary Image",
13281346
"flow-create-aux-image-name": "Create Auxiliary Image",
13291347
"flow-push-image-name": "Push Primary Image",

webui/src/js/models/k8s-domain-definition.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ define(['knockout', 'utils/observable-properties', 'utils/common-utilities', 'ut
5353
// not using an Auxiliary Image at all.
5454
//
5555
this.imageModelHome = props.createProperty(imageDefinition.modelHomePath.value);
56-
this.imageWDTInstallHome = props.createProperty(imageDefinition.wdtHomePath.value);
56+
this.imageWDTInstallHome = props.createProperty(imageDefinition.wdtHomePath.value + '/weblogic-deploy');
5757

5858
// Auxiliary image-related properties
5959
this.auxImageRegistryPullRequireAuthentication = props.createProperty(false);

0 commit comments

Comments
 (0)