Skip to content

Commit 4b3564c

Browse files
mark single as multiple for special cases (#1254)
1 parent 13cd9e7 commit 4b3564c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

integration-tests/alias-test/generate/src/test/python/aliastest/generate/generator_online.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
TRUE = 'true'
3030
TYPE = generator_utils.TYPE
3131

32+
NOT_SINGLE_INSTANCE = [
33+
'AppDeployments',
34+
'Libraries'
35+
]
3236

3337
class OnlineGenerator(GeneratorBase):
3438
"""
@@ -102,7 +106,7 @@ def __folder_hierarchy(self, mbean_dictionary, mbean_path):
102106
if mbean_name is None:
103107
mbean_name = generator_wlst.get_singleton_name(mbean_type)
104108
if mbean_name is not None:
105-
if mbean_type in generator_wlst.child_mbean_types():
109+
if mbean_type in generator_wlst.child_mbean_types() or mbean_type in NOT_SINGLE_INSTANCE:
106110
mbean_dictionary[mbean_type][INSTANCE_TYPE] = MULTIPLE
107111
else:
108112
mbean_dictionary[mbean_type][INSTANCE_TYPE] = SINGLE

0 commit comments

Comments
 (0)