Skip to content

Commit c1e9af0

Browse files
committed
Add deploy WebAppContainer
1 parent 733ef13 commit c1e9af0

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

core/src/main/python/wlsdeploy/tool/deploy/common_resources_deployer.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
from wlsdeploy.aliases.model_constants import SAF_AGENT
1616
from wlsdeploy.aliases.model_constants import SELF_TUNING
1717
from wlsdeploy.aliases.model_constants import WORK_MANAGER
18+
from wlsdeploy.aliases.model_constants import WEBAPP_CONTAINER
1819
from wlsdeploy.aliases.wlst_modes import WlstModes
1920
from wlsdeploy.tool.deploy.deployer import Deployer
2021
from wlsdeploy.util import dictionary_utils
@@ -166,3 +167,14 @@ def add_coherence_clusters(self, parent_dict, location):
166167
"""
167168
file_stores = dictionary_utils.get_dictionary_element(parent_dict, COHERENCE_CLUSTER_SYSTEM_RESOURCE)
168169
self._add_named_elements(COHERENCE_CLUSTER_SYSTEM_RESOURCE, file_stores, location)
170+
171+
def add_webapp_container(self, parent_dict, location):
172+
"""
173+
Deploy the web-app-container in the dictionary at the specified location.
174+
:param parent_dict: the dictionary possibly containing web-app-container elements
175+
:param location: the location to deploy the elements
176+
"""
177+
web_app_container = dictionary_utils.get_dictionary_element(parent_dict, WEBAPP_CONTAINER)
178+
if len(web_app_container) != 0:
179+
self._add_model_elements(WEBAPP_CONTAINER, web_app_container, location)
180+
return

core/src/main/python/wlsdeploy/tool/deploy/resources_deployer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ def _add_resources(self, location):
7171
wldf_deployer.add_wldf_modules(self._resources, location)
7272

7373
common_deployer.add_coherence_clusters(self._resources, location)
74+
common_deployer.add_webapp_container(self._resources, location)
7475
return
7576

7677
def _add_startup_classes(self, location):

core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/WebAppContainer.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@
1515
"GzipCompressionContentType": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "GzipCompressionContentType", "wlst_path": "WP002", "value": {"default": "None" }, "wlst_type": "string" } ],
1616
"GzipCompressionEnabled": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "GzipCompressionEnabled", "wlst_path": "WP002", "value": {"default": "None" }, "wlst_type": "boolean" } ],
1717
"GzipCompressionMinContentLength": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "GzipCompressionMinContentLength", "wlst_path": "WP002", "value": {"default": "None" }, "wlst_type": "integer" } ],
18-
"Id": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "Id", "wlst_path": "WP002", "value": {"default": "None" }, "wlst_type": "integer" } ],
19-
"Name": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "Name", "wlst_path": "WP002", "value": {"default": "None" }, "wlst_type": "string" } ],
20-
"Notes": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "Notes", "wlst_path": "WP002", "value": {"default": "None" }, "wlst_type": "string" } ],
21-
"Type": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "Type", "wlst_path": "WP002", "value": {"default": "None" }, "wlst_type": "boolean" } ],
22-
"Tags": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "Tags", "wlst_path": "WP002", "value": {"default": "None" }, "wlst_type": "string" } ]
18+
"Notes": [ {"version": "[12.2.1.3,)", "wlst_mode": "both", "wlst_name": "Notes", "wlst_path": "WP002", "value": {"default": "None" }, "wlst_type": "string" } ]
2319
},
2420
"wlst_attributes_path": "WP002",
2521
"wlst_paths": {
@@ -37,14 +33,12 @@
3733
"DynamicallyCreated": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "DynamicallyCreated", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "boolean" } ],
3834
"FilterDispatchedRequestsEnabled": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "FilterDispatchedRequestsEnabled", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "boolean" } ],
3935
"HttpTraceSupportEnabled": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "HttpTraceSupportEnabled", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "boolean" } ],
40-
"Id": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "Id", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "integer" } ],
4136
"JSPCompilerBackwardsCompatible": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "JSPCompilerBackwardsCompatible", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "boolean" } ],
4237
"JaxRsMonitoringDefaultBehavior": [ {"version": "[12.2,)", "wlst_mode": "both", "wlst_name": "JaxRsMonitoringDefaultBehavior", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "boolean" } ],
4338
"MaxPostSize": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "MaxPostSize", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "long" } ],
4439
"MaxPostTimeSecs": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "MaxPostTimeSecs", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "long" } ],
4540
"MaxRequestParameterCount": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "MaxRequestParameterCount", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "integer" } ],
4641
"MimeMappingFile": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "MimeMappingFile", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "string" } ],
47-
"Name": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "Name", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "string" } ],
4842
"Notes": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "Notes", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "string" } ],
4943
"OptimisticSerialization": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "OptimisticSerialization", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "boolean" } ],
5044
"OverloadProtectionEnabled": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "OverloadProtectionEnabled", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "boolean" } ],
@@ -56,11 +50,9 @@
5650
"ServletAuthenticationFormURL": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "ServletAuthenticationFormURL", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "boolean" } ],
5751
"ServletReloadCheckSecs": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "ServletReloadCheckSecs", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "long" } ],
5852
"ShowArchivedRealPathEnabled": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "ShowArchivedRealPathEnabled", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "boolean" } ],
59-
"Tags": [ {"version": "[12.2,)", "wlst_mode": "both", "wlst_name": "Tags", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "string" } ],
6053
"WAPEnabled": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "WAPEnabled", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "string" } ],
6154
"WeblogicPluginEnabled": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "WeblogicPluginEnabled", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "boolean" } ],
6255
"WorkContextPropagationEnabled": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "WorkContextPropagationEnabled", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "boolean" } ],
63-
"Type": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "Type", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "boolean" } ],
6456
"XPoweredByHeaderLevel": [ {"version": "[10,)", "wlst_mode": "both", "wlst_name": "XPoweredByHeaderLevel", "wlst_path": "WP001", "value": {"default": "None" }, "wlst_type": "string" } ]
6557

6658
},

0 commit comments

Comments
 (0)