Skip to content

Commit 4440286

Browse files
authored
Added automatic patching for the Oracle third party product, Fusion Internal Tools, into --recommendedPatches for WLS/FMW installs (#344)
1 parent 709bbb2 commit 4440286

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

imagetool/src/main/java/com/oracle/weblogic/imagetool/aru/AruProduct.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ public enum AruProduct {
2626
JDEV("11281", "Oracle JDeveloper"),
2727
OPSS("16606", "Oracle Platform Security Service"),
2828
OWSM("12787", "Oracle Webservices Manager"),
29-
JDBC("9512", "Oracle JDBC for Fusion Middleware")
30-
//FIT("33256", "Fusion Internal Tools") No longer used after July 2020 PSU
29+
JDBC("9512", "Oracle JDBC for Fusion Middleware"),
30+
FIT("33256", "Fusion Internal Tools")
3131
;
3232

3333
private final String productId;

imagetool/src/main/java/com/oracle/weblogic/imagetool/installer/FmwInstallerType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public enum FmwInstallerType {
2424
// data from https://updates.oracle.com/Orion/Services/metadata?table=aru_products
2525

2626
// Oracle WebLogic Server
27-
WLS(Utils.toSet(AruProduct.WLS, AruProduct.COH, AruProduct.FMWPLAT, AruProduct.JDBC),
27+
WLS(Utils.toSet(AruProduct.WLS, AruProduct.COH, AruProduct.FMWPLAT, AruProduct.FIT, AruProduct.JDBC),
2828
InstallerType.WLS),
2929
WLSSLIM(Utils.toSet(WLS.products),
3030
InstallerType.WLSSLIM),

imagetool/src/test/java/com/oracle/weblogic/imagetool/installer/InstallerTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ void fmwInstallerTypeListTest() {
3232

3333
@Test
3434
void fmwInstallerProductIds() {
35-
AruProduct[] list1 = {AruProduct.WLS, AruProduct.COH, AruProduct.FMWPLAT, AruProduct.JDBC};
35+
AruProduct[] list1 = {AruProduct.WLS, AruProduct.COH, AruProduct.FMWPLAT, AruProduct.JDBC, AruProduct.FIT};
3636
assertEquals(Utils.toSet(list1), FmwInstallerType.WLS.products(),
3737
"WLS product list is incorrect or out of order");
3838

39-
AruProduct[] list2 = {AruProduct.WLS, AruProduct.COH, AruProduct.FMWPLAT, AruProduct.JDBC,
39+
AruProduct[] list2 = {AruProduct.WLS, AruProduct.COH, AruProduct.FMWPLAT, AruProduct.JDBC, AruProduct.FIT,
4040
AruProduct.JRF, AruProduct.JDEV, AruProduct.OPSS, AruProduct.OWSM};
4141
assertEquals(Utils.toSet(list2), FmwInstallerType.FMW.products(),
4242
"FMW product list is incorrect or out of order");
4343

44-
AruProduct[] list3 = {AruProduct.WLS, AruProduct.COH, AruProduct.FMWPLAT, AruProduct.JDBC,
44+
AruProduct[] list3 = {AruProduct.WLS, AruProduct.COH, AruProduct.FMWPLAT, AruProduct.JDBC, AruProduct.FIT,
4545
AruProduct.JRF, AruProduct.JDEV, AruProduct.OPSS, AruProduct.OWSM, AruProduct.SOA};
4646
assertEquals(Utils.toSet(list3), FmwInstallerType.SOA.products(),
4747
"SOA product list is incorrect or out of order");
@@ -57,7 +57,7 @@ void fmwInstallerFromValue() {
5757

5858
@Test
5959
void fromProductList() {
60-
final String WLS_PRODUCTS = "WLS,COH,TOPLINK,JDBC";
60+
final String WLS_PRODUCTS = "WLS,COH,TOPLINK,JDBC,FIT";
6161
final String FMW_PRODUCTS = WLS_PRODUCTS + ",INFRA,OPSS,OWSM";
6262
assertEquals(FmwInstallerType.WLS, FmwInstallerType.fromProductList(WLS_PRODUCTS));
6363
assertEquals(FmwInstallerType.FMW, FmwInstallerType.fromProductList(FMW_PRODUCTS));

0 commit comments

Comments
 (0)