Skip to content

Commit 6d58db0

Browse files
Add empty model folders to domain (#994)
1 parent ad604dc commit 6d58db0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

core/src/main/python/wlsdeploy/tool/create/creator.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,11 @@ def _create_mbean(self, type_name, model_nodes, base_location, log_created=False
117117

118118
self.logger.entering(type_name, str(base_location), log_created,
119119
class_name=self.__class_name, method_name=_method_name)
120-
if model_nodes is None or len(model_nodes) == 0 or not self._is_type_valid(base_location, type_name):
120+
121+
if model_nodes is None or len(model_nodes) == 0:
122+
self.logger.fine('WLSDPLY-12568', type_name, class_name=self.__class_name, method_name=_method_name)
123+
124+
if not self._is_type_valid(base_location, type_name):
121125
return
122126

123127
location = LocationContext(base_location).append_location(type_name)

core/src/main/resources/oracle/weblogic/deploy/messages/wlsdeploy_rb.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,6 +1327,7 @@ WLSDPLY-12564=Unable to retrieve database connection string, please make sure it
13271327
WLSDPLY-12565=The archive file was not provided so there are no custom files to extract
13281328
WLSDPLY-12566=Installing {0} user custom files to domain home {1}
13291329
WLSDPLY-12567=The archive file {0} contains no user custom files to install
1330+
WLSDPLY-12568=Creating empty folder {0}. Folder contains no attributes or sub-folders.
13301331

13311332
# domain_typedef.py
13321333
WLSDPLY-12300={0} got the domain type {1} but the domain type definition file {2} was not valid: {3}

0 commit comments

Comments
 (0)