From 62555b82c118553adff814ac0c8623fa7c88d499 Mon Sep 17 00:00:00 2001 From: Carolyn Rountree Date: Mon, 21 Nov 2022 22:51:46 +0000 Subject: [PATCH 1/6] fix restfulmanagementservices attributes --- .../RestfulManagementServices.json | 14 +++++++------- .../python/aliastest/generate/generator_wlst.py | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json b/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json index 9048b32493..ecb6d0fab5 100644 --- a/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json +++ b/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json @@ -8,13 +8,13 @@ "short_name": "RestManage", "folders": {}, "attributes": { - "CorsAllowedCredentials": [ {"version": "[14,)", "wlst_mode": "both", "wlst_name": "C${ors:ORS}AllowedCredentials", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } ], - "CorsAllowedHeaders": [ {"version": "[14,)", "wlst_mode": "both", "wlst_name": "C${ors:ORS}AllowedHeaders", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } ], - "CorsAllowedMethods": [ {"version": "[14,)", "wlst_mode": "both", "wlst_name": "C${ors:ORS}AllowedMethods", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } ], - "CorsAllowedOrigin": [ {"version": "[14,)", "wlst_mode": "both", "wlst_name": "${CorsAllowedOrigin:CORSAllowedOrigins}","wlst_path": "WP001", "default_value": null, "wlst_type": "jarray", "get_method": "GET"} ], - "CorsEnabled": [ {"version": "[14,)", "wlst_mode": "both", "wlst_name": "C${ors:ORS}Enabled", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } ], - "CorExposedHeaders": [ {"version": "[14,)", "wlst_mode": "both", "wlst_name": "C${ors:ORS}ExposedHeaders", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } ], - "CorsMaxAge": [ {"version": "[14,)", "wlst_mode": "both", "wlst_name": "C${ors:ORS}MaxAge", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } ], + "CorsAllowedCredentials": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "both", "wlst_name": "C${ors:ORS}AllowedCredentials", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } ], + "CorsAllowedHeaders": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "both", "wlst_name": "C${ors:ORS}AllowedHeaders", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } ], + "CorsAllowedMethods": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "both", "wlst_name": "C${ors:ORS}AllowedMethods", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } ], + "CorsAllowedOrigin": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "both", "wlst_name": "${CorsAllowedOrigin:CORSAllowedOrigins}","wlst_path": "WP001", "default_value": null, "wlst_type": "jarray", "get_method": "GET"} ], + "CorsEnabled": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "both", "wlst_name": "C${ors:ORS}Enabled", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } ], + "CorExposedHeaders": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "both", "wlst_name": "C${ors:ORS}ExposedHeaders", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } ], + "CorsMaxAge": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "both", "wlst_name": "C${ors:ORS}MaxAge", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } ], "DelegatedRequestConnectTimeoutMillis": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestConnectTimeoutMillis", "wlst_path": "WP001", "default_value": 30000, "wlst_type": "integer" } ], "DelegatedRequestMaxWaitMillis": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestMaxWaitMillis", "wlst_path": "WP001", "default_value": 0, "wlst_type": "integer" } ], "DelegatedRequestMinThreads": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestMinThreads", "wlst_path": "WP001", "default_value": 25, "wlst_type": "integer" } ], diff --git a/integration-tests/alias-test/generate/src/test/python/aliastest/generate/generator_wlst.py b/integration-tests/alias-test/generate/src/test/python/aliastest/generate/generator_wlst.py index 52c12a7362..a55548ac4b 100644 --- a/integration-tests/alias-test/generate/src/test/python/aliastest/generate/generator_wlst.py +++ b/integration-tests/alias-test/generate/src/test/python/aliastest/generate/generator_wlst.py @@ -21,6 +21,7 @@ 'CredentialMappingDeploymentEnabled', 'CredentialMappingEnabled', 'CredentialPolicy', + 'CORSAllowedCredentials', 'DebugSecurityPasswordPolicy', 'DefaultCredentialProviderSTSURI', 'DefaultCredentialProviderStsuri', From d94f506128f681f7a82bed6d346b9b022c51586c Mon Sep 17 00:00:00 2001 From: Carolyn Rountree Date: Tue, 22 Nov 2022 17:00:53 +0000 Subject: [PATCH 2/6] remove offline from 12214 --- .../RestfulManagementServices.json | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json b/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json index ecb6d0fab5..f89292ae76 100644 --- a/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json +++ b/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json @@ -8,14 +8,21 @@ "short_name": "RestManage", "folders": {}, "attributes": { - "CorsAllowedCredentials": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "both", "wlst_name": "C${ors:ORS}AllowedCredentials", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } ], - "CorsAllowedHeaders": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "both", "wlst_name": "C${ors:ORS}AllowedHeaders", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } ], - "CorsAllowedMethods": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "both", "wlst_name": "C${ors:ORS}AllowedMethods", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } ], - "CorsAllowedOrigin": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "both", "wlst_name": "${CorsAllowedOrigin:CORSAllowedOrigins}","wlst_path": "WP001", "default_value": null, "wlst_type": "jarray", "get_method": "GET"} ], - "CorsEnabled": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "both", "wlst_name": "C${ors:ORS}Enabled", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } ], - "CorExposedHeaders": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "both", "wlst_name": "C${ors:ORS}ExposedHeaders", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } ], - "CorsMaxAge": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "both", "wlst_name": "C${ors:ORS}MaxAge", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } ], - "DelegatedRequestConnectTimeoutMillis": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestConnectTimeoutMillis", "wlst_path": "WP001", "default_value": 30000, "wlst_type": "integer" } ], + "CorsAllowedCredentials": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSAllowedCredentials", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } , + {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsAllowedCredentials", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } ], + "CorsAllowedHeaders": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSAllowedHeaders", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } , + {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsAllowedHeaders", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } ], + "CorsAllowedMethods": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSAllowedMethods", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } , + {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsAllowedMethods", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } ], + "CorsAllowedOrigin": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSAllowedOrigins", "wlst_path": "WP001", "default_value": null, "wlst_type": "jarray", "get_method": "GET"} , + {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsAllowedOrigin", "wlst_path": "WP001", "default_value": null, "wlst_type": "jarray", "get_method": "GET"} ], + "CorsEnabled": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSEnabled", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } , + {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsEnabled", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } ], + "CorExposedHeaders": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSExposedHeaders", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } , + {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsExposedHeaders", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } ], + "CorsMaxAge": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSMaxAge", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } , + {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "Cors:ORS}MaxAge", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } ], + "DelegatedRequestConnectTimeoutMillis": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestConnectTimeoutMillis", "wlst_path": "WP001", "default_value": 30000, "wlst_type": "integer" } ], "DelegatedRequestMaxWaitMillis": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestMaxWaitMillis", "wlst_path": "WP001", "default_value": 0, "wlst_type": "integer" } ], "DelegatedRequestMinThreads": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestMinThreads", "wlst_path": "WP001", "default_value": 25, "wlst_type": "integer" } ], "DelegatedRequestReadTimeoutMillis": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestReadTimeoutMillis", "wlst_path": "WP001", "default_value": 10000, "wlst_type": "integer" } ], From 0c5cb72e9982ffa91a72d995ae357ae65237dcbc Mon Sep 17 00:00:00 2001 From: Carolyn Rountree Date: Tue, 22 Nov 2022 17:04:50 +0000 Subject: [PATCH 3/6] remove offline from 12214 --- .../aliases/category_modules/RestfulManagementServices.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json b/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json index f89292ae76..a319b8fa41 100644 --- a/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json +++ b/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json @@ -21,7 +21,7 @@ "CorExposedHeaders": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSExposedHeaders", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } , {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsExposedHeaders", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } ], "CorsMaxAge": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSMaxAge", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } , - {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "Cors:ORS}MaxAge", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } ], + {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsMaxAge", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } ], "DelegatedRequestConnectTimeoutMillis": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestConnectTimeoutMillis", "wlst_path": "WP001", "default_value": 30000, "wlst_type": "integer" } ], "DelegatedRequestMaxWaitMillis": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestMaxWaitMillis", "wlst_path": "WP001", "default_value": 0, "wlst_type": "integer" } ], "DelegatedRequestMinThreads": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestMinThreads", "wlst_path": "WP001", "default_value": 25, "wlst_type": "integer" } ], From 42b65cec03e908d97f6c41d780c566600181f67a Mon Sep 17 00:00:00 2001 From: Robert Patrick <31662131+robertpatrick@users.noreply.github.com> Date: Tue, 22 Nov 2022 12:33:48 -0600 Subject: [PATCH 4/6] Update RestfulManagementServices.json Updating formatting --- .../RestfulManagementServices.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json b/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json index a319b8fa41..c19ee979e1 100644 --- a/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json +++ b/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json @@ -9,20 +9,20 @@ "folders": {}, "attributes": { "CorsAllowedCredentials": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSAllowedCredentials", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } , - {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsAllowedCredentials", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } ], + {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsAllowedCredentials", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } ], "CorsAllowedHeaders": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSAllowedHeaders", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } , {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsAllowedHeaders", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } ], - "CorsAllowedMethods": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSAllowedMethods", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } , + "CorsAllowedMethods": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSAllowedMethods", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } , {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsAllowedMethods", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } ], - "CorsAllowedOrigin": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSAllowedOrigins", "wlst_path": "WP001", "default_value": null, "wlst_type": "jarray", "get_method": "GET"} , + "CorsAllowedOrigin": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSAllowedOrigins", "wlst_path": "WP001", "default_value": null, "wlst_type": "jarray", "get_method": "GET"} , {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsAllowedOrigin", "wlst_path": "WP001", "default_value": null, "wlst_type": "jarray", "get_method": "GET"} ], - "CorsEnabled": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSEnabled", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } , + "CorsEnabled": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSEnabled", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } , {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsEnabled", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } ], - "CorExposedHeaders": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSExposedHeaders", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } , + "CorExposedHeaders": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSExposedHeaders", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } , {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsExposedHeaders", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } ], - "CorsMaxAge": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSMaxAge", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } , + "CorsMaxAge": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSMaxAge", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } , {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsMaxAge", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } ], - "DelegatedRequestConnectTimeoutMillis": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestConnectTimeoutMillis", "wlst_path": "WP001", "default_value": 30000, "wlst_type": "integer" } ], + "DelegatedRequestConnectTimeoutMillis": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestConnectTimeoutMillis", "wlst_path": "WP001", "default_value": 30000, "wlst_type": "integer" } ], "DelegatedRequestMaxWaitMillis": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestMaxWaitMillis", "wlst_path": "WP001", "default_value": 0, "wlst_type": "integer" } ], "DelegatedRequestMinThreads": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestMinThreads", "wlst_path": "WP001", "default_value": 25, "wlst_type": "integer" } ], "DelegatedRequestReadTimeoutMillis": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestReadTimeoutMillis", "wlst_path": "WP001", "default_value": 10000, "wlst_type": "integer" } ], From c0e04386f4abf7ad1be2f19d536b6b6dfcbd00f5 Mon Sep 17 00:00:00 2001 From: Carolyn Rountree Date: Tue, 22 Nov 2022 12:59:01 -0600 Subject: [PATCH 5/6] tidy up lines --- .../RestfulManagementServices.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json b/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json index a319b8fa41..f0f75b4a03 100644 --- a/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json +++ b/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json @@ -12,17 +12,17 @@ {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsAllowedCredentials", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } ], "CorsAllowedHeaders": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSAllowedHeaders", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } , {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsAllowedHeaders", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } ], - "CorsAllowedMethods": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSAllowedMethods", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } , - {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsAllowedMethods", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } ], - "CorsAllowedOrigin": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSAllowedOrigins", "wlst_path": "WP001", "default_value": null, "wlst_type": "jarray", "get_method": "GET"} , + "CorsAllowedMethods": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSAllowedMethods", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } , + {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsAllowedMethods", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } ], + "CorsAllowedOrigin": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSAllowedOrigins", "wlst_path": "WP001", "default_value": null, "wlst_type": "jarray", "get_method": "GET"} , {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsAllowedOrigin", "wlst_path": "WP001", "default_value": null, "wlst_type": "jarray", "get_method": "GET"} ], - "CorsEnabled": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSEnabled", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } , - {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsEnabled", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } ], - "CorExposedHeaders": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSExposedHeaders", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } , + "CorsEnabled": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSEnabled", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } , + {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsEnabled", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } ], + "CorExposedHeaders": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSExposedHeaders", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } , {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsExposedHeaders", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } ], - "CorsMaxAge": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSMaxAge", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } , + "CorsMaxAge": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSMaxAge", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } , {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsMaxAge", "wlst_path": "WP001", "default_value": null, "wlst_type": "string" } ], - "DelegatedRequestConnectTimeoutMillis": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestConnectTimeoutMillis", "wlst_path": "WP001", "default_value": 30000, "wlst_type": "integer" } ], + "DelegatedRequestConnectTimeoutMillis": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestConnectTimeoutMillis", "wlst_path": "WP001", "default_value": 30000, "wlst_type": "integer" } ], "DelegatedRequestMaxWaitMillis": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestMaxWaitMillis", "wlst_path": "WP001", "default_value": 0, "wlst_type": "integer" } ], "DelegatedRequestMinThreads": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestMinThreads", "wlst_path": "WP001", "default_value": 25, "wlst_type": "integer" } ], "DelegatedRequestReadTimeoutMillis": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "DelegatedRequestReadTimeoutMillis", "wlst_path": "WP001", "default_value": 10000, "wlst_type": "integer" } ], From 8332789b2ec8bc61f0c22977f19b585fbfc631d8 Mon Sep 17 00:00:00 2001 From: Carolyn Rountree Date: Tue, 22 Nov 2022 13:03:05 -0600 Subject: [PATCH 6/6] tidy up --- .../aliases/category_modules/RestfulManagementServices.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json b/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json index e9607ef81f..c000018d2f 100644 --- a/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json +++ b/core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/RestfulManagementServices.json @@ -9,7 +9,7 @@ "folders": {}, "attributes": { "CorsAllowedCredentials": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSAllowedCredentials", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } , - {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsAllowedCredentials", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } ], + {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsAllowedCredentials", "wlst_path": "WP001", "default_value": "false", "wlst_type": "boolean" } ], "CorsAllowedHeaders": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSAllowedHeaders", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } , {"version": "[14,)", "wlst_mode": "offline", "wlst_name": "CorsAllowedHeaders", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } ], "CorsAllowedMethods": [ {"version": "[12.2.1.4.0.210930,)", "wlst_mode": "online", "wlst_name": "CORSAllowedMethods", "wlst_path": "WP001", "default_value": "*", "wlst_type": "string" } ,