Skip to content

Commit 3a9239b

Browse files
fix the alias definition (#1235)
1 parent 6532620 commit 3a9239b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"Notes": [ {"version": "[12.1.2,)", "wlst_mode": "both", "wlst_name": "Notes", "wlst_path": "WP001", "default_value": null, "wlst_type": "string"} ],
2222
"RuntimeCacheConfigurationUri": [ {"version": "[12.1.2,)", "wlst_mode": "offline", "wlst_name": "RuntimeCacheConfigurationUri", "wlst_path": "WP001", "default_value": null, "wlst_type": "string"} ],
2323
"Target": [ {"version": "[12.1.2,)", "wlst_mode": "offline", "wlst_name": "Target", "wlst_path": "WP001", "default_value": null, "wlst_type": "delimited_string", "set_method": "MBEAN.set_target_mbeans" },
24-
{"version": "[12.1.2,)", "wlst_mode": "online", "wlst_name": "Targets", "wlst_path": "WP002", "default_value": null, "wlst_type": "jarray", "preferred_model_type": "delimited_string", "set_method": "MBEAN.set_target_mbeans", "set_mbean_type": "weblogic.management.configuration.TargetMBean"} ]
24+
{"version": "[12.1.2,)", "wlst_mode": "online", "wlst_name": "Targets", "wlst_path": "WP002", "default_value": null, "wlst_type": "jarray", "get_method": "GET", "preferred_model_type": "delimited_string", "set_method": "MBEAN.set_target_mbeans", "set_mbean_type": "weblogic.management.configuration.TargetMBean"} ]
2525
},
2626
"wlst_attributes_path": "WP001",
2727
"wlst_paths": {

integration-tests/alias-test/verify/src/test/python/aliastest/verify/verifier.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,6 +1116,8 @@ def _check_complex_type(self, location, generated_attribute, generated_attr_info
11161116
elif _is_of_type_with_lsa(generated_attribute, alias_type, generated_attr_info,
11171117
get_required_attribute_list):
11181118
valid = True
1119+
_logger.finer('alias type JARRAY is in lsa type for attribute {0}', generated_attribute,
1120+
class_name=CLASS_NAME, method_name=_method_name)
11191121
if self._alias_helper.get_wlst_read_type(location, model_name) not in \
11201122
alias_constants.ALIAS_DELIMITED_TYPES:
11211123
self._add_invalid_type_error(location, generated_attribute, alias_constants.STRING, alias_type,

0 commit comments

Comments
 (0)