Skip to content

Commit 324a049

Browse files
committed
Merge branch 'hide-ohs' into 'main'
Temporarily hide OHS and OHS_DB19 type from create image operation. See merge request weblogic-cloud/weblogic-image-tool!484
2 parents 38100af + ac71734 commit 324a049

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

documentation/site/content/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ Use WebLogic Image Tool to create, update, and rebase the following FMW product
5656
* Oracle WebLogic Server (WLS)
5757
* Fusion Middleware Infrastructure (FMW)
5858
* Oracle BPM Suite for business process (SOA)
59-
* Oracle HTTP Server (OHS_DB19)
6059
* Oracle Service Bus (OSB)
6160
* Oracle Data Integrator (ODI)
6261
* Oracle Access Management (OAM)

documentation/site/content/userguide/tools/create-image.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Usage: imagetool create [OPTIONS]
4747
| `--skipcleanup` | Do not delete the build context folder, intermediate images, and failed build containers. For debugging purposes. | |
4848
| `--strictPatchOrdering` | Instruct OPatch to apply patches one at a time (uses `apply` instead of `napply`). | |
4949
| `--target` | Select the target environment in which the created image will be used. Supported values: `Default` (Docker/Kubernetes), `OpenShift`. See [Additional information](#--target). | `Default` |
50-
| `--type` | Installer type. Supported values: `WLS`, `WLSDEV`, `WLSSLIM`, `FMW`, `IDM`, `OHS`, `OHS_DB19`, `OSB`, `OUD_WLS`, `SOA_OSB`, `SOA_OSB_B2B`, `MFT`, `WCP`, `OAM`, `OIG`, `OUD`, `OID`, `ODI`, `SOA`, `WCC`, `WCS`, `WCP` | `WLS` |
50+
| `--type` | Installer type. Supported values: `WLS`, `WLSDEV`, `WLSSLIM`, `FMW`, `IDM`, `OSB`, `OUD_WLS`, `SOA_OSB`, `SOA_OSB_B2B`, `MFT`, `WCP`, `OAM`, `OIG`, `OUD`, `OID`, `ODI`, `SOA`, `WCC`, `WCS`, `WCP` | `WLS` |
5151
| `--user` | Oracle support email ID. When supplying `user`, you must supply the password either as an environment variable using `--passwordEnv`, or as a file using `--passwordFile`, or interactively, on the command line with `--password`. | |
5252
| `--version` | Installer version. | `12.2.1.3.0` |
5353
| `--wdtArchive` | A WDT archive ZIP file or comma-separated list of files. | |

documentation/site/content/userguide/tools/rebase-image.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Usage: imagetool rebase [OPTIONS]
4646
| `--strictPatchOrdering` | Instruct OPatch to apply patches one at a time (uses `apply` instead of `napply`). | |
4747
| `--target` | Select the target environment in which the created image will be used. Supported values: `Default` (Docker/Kubernetes), `OpenShift`. See [Additional information](#--target). | `Default` |
4848
| `--targetImage` | Container image to extend for the domain's new image. | |
49-
| `--type` | Installer type. Supported values: `WLS`, `WLSDEV`, `WLSSLIM`, `FMW`, `IDM`, `OHS`, `OHS_DB19`, `OSB`, `OUD_WLS`, `SOA_OSB`, `SOA_OSB_B2B`, `MFT`, `WCP`, `OAM`, `OIG`, `OUD`, `OID`, `ODI`, `SOA`, `WCC`, `WCS`, `WCP` | `WLS` |
49+
| `--type` | Installer type. Supported values: `WLS`, `WLSDEV`, `WLSSLIM`, `FMW`, `IDM`, `OSB`, `OUD_WLS`, `SOA_OSB`, `SOA_OSB_B2B`, `MFT`, `WCP`, `OAM`, `OIG`, `OUD`, `OID`, `ODI`, `SOA`, `WCC`, `WCS`, `WCP` | `WLS` |
5050
| `--user` | Your Oracle support email ID. When supplying `user`, you must supply the password either as an environment variable using `--passwordEnv`, or as a file using `--passwordFile`, or interactively, on the command line with `--password`. | |
5151
| `--version` | Installer version. | `12.2.1.3.0` |
5252

documentation/site/content/userguide/tools/update-image.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Update WebLogic Docker image with selected patches
4848
| `--skipcleanup` | Do not delete the build context folder, intermediate images, and failed build containers. For debugging purposes. | |
4949
| `--strictPatchOrdering` | Instruct OPatch to apply patches one at a time (uses `apply` instead of `napply`). | |
5050
| `--target` | Select the target environment in which the created image will be used. Supported values: `Default` (Docker/Kubernetes), `OpenShift`. See [Additional information](#--target). | `Default` |
51-
| `--type` | Installer type. Supported values: `WLS`, `WLSDEV`, `WLSSLIM`, `FMW`, `IDM`, `OHS`, `OHS_DB19`, `OSB`, `OUD_WLS`, `SOA_OSB`, `SOA_OSB_B2B`, `MFT`, `WCP`, `OAM`, `OIG`, `OUD`, `OID`, `ODI`, `SOA`, `WCC`, `WCS`, `WCP` | `WLS` |
51+
| `--type` | Installer type. Supported values: `WLS`, `WLSDEV`, `WLSSLIM`, `FMW`, `IDM`, `OSB`, `OUD_WLS`, `SOA_OSB`, `SOA_OSB_B2B`, `MFT`, `WCP`, `OAM`, `OIG`, `OUD`, `OID`, `ODI`, `SOA`, `WCC`, `WCS`, `WCP` | `WLS` |
5252
| `--user` | Oracle support email ID. When supplying `user`, you must supply the password either as an environment variable using `--passwordEnv`, or as a file using `--passwordFile`, or interactively, on the command line with `--password`. | |
5353
| `--wdtArchive` | A WDT archive ZIP file or comma-separated list of files. | |
5454
| `--wdtDomainHome` | Path to the `-domain_home` for WDT. | `/u01/domains/base_domain` |

imagetool/src/main/java/com/oracle/weblogic/imagetool/cli/menu/CommonPatchingOptions.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import java.nio.file.Path;
1111
import java.nio.file.Paths;
1212
import java.util.ArrayList;
13+
import java.util.Arrays;
1314
import java.util.Collections;
1415
import java.util.List;
1516
import java.util.stream.Collectors;
@@ -395,8 +396,20 @@ String getPassword() {
395396
)
396397
private boolean skipOpatchUpdate = false;
397398

399+
// Temporary change to hide OHS install options due to unresolved patching issues
400+
static class InstallerTypeCandidates extends ArrayList<String> {
401+
InstallerTypeCandidates() {
402+
super(Arrays.stream(FmwInstallerType.values())
403+
.filter(e -> e != FmwInstallerType.OHS)
404+
.filter(e -> e != FmwInstallerType.OHS_DB19)
405+
.map(Enum::toString)
406+
.collect(Collectors.toList()));
407+
}
408+
}
409+
398410
@Option(
399411
names = {"--type"},
412+
completionCandidates = InstallerTypeCandidates.class,
400413
description = "Installer type. Default: WLS. Supported values: ${COMPLETION-CANDIDATES}"
401414
)
402415
private FmwInstallerType installerType = FmwInstallerType.WLS;

0 commit comments

Comments
 (0)