Skip to content

Commit 9ba0de1

Browse files
fix for unit test and new data type
1 parent b865b6b commit 9ba0de1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

core/src/main/python/wlsdeploy/aliases/alias_constants.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,13 @@
111111
PASSWORD,
112112
STRING
113113
]
114+
ALIAS_OTHER_TYPES = [OBJECT]
114115

115116
ALIAS_DATA_TYPES = list()
116117
ALIAS_DATA_TYPES.extend(ALIAS_PRIMITIVE_DATA_TYPES)
117118
ALIAS_DATA_TYPES.extend(ALIAS_LIST_TYPES)
118119
ALIAS_DATA_TYPES.extend(ALIAS_MAP_TYPES)
120+
ALIAS_DATA_TYPES.extend(ALIAS_OTHER_TYPES)
119121

120122

121123
def __build_security_provider_data_structures(name_map, base_path):

core/src/main/python/wlsdeploy/tool/validate/validation_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ def is_compatible_data_type(expected_data_type, actual_data_type):
148148
retval = (actual_data_type in ["<type 'str'>"])
149149
elif 'delimited_' in expected_data_type:
150150
retval = (actual_data_type in ["<type 'str'>", "<type 'list'>"])
151+
elif 'object' in expected_data_type:
152+
retval = (actual_data_type in ["<type 'str'>"])
151153

152154
return retval
153155

0 commit comments

Comments
 (0)