@@ -129,6 +129,9 @@ def discover(self):
129
129
130
130
model_folder_name , folder_result = self ._get_ws_securities ()
131
131
discoverer .add_to_model_if_not_empty (self ._dictionary , model_folder_name , folder_result )
132
+
133
+ model_top_folder_name , callouts = self .get_callouts ()
134
+ discoverer .add_to_model_if_not_empty (self ._dictionary , model_top_folder_name , callouts )
132
135
finally :
133
136
if current_tree is not None :
134
137
current_tree ()
@@ -139,6 +142,39 @@ def discover(self):
139
142
_logger .exiting (class_name = _class_name , method_name = _method_name )
140
143
return self ._dictionary
141
144
145
+ def get_callouts (self ):
146
+ """
147
+ Discover the Callouts in the domain.
148
+ :return: model name for the dictionary and the dictionary containing the cluster information
149
+ """
150
+ _method_name = 'get_callouts'
151
+ _logger .entering (class_name = _class_name , method_name = _method_name )
152
+
153
+ result = OrderedDict ()
154
+ model_top_folder_name = model_constants .CALLOUT
155
+ location = LocationContext (self ._base_location )
156
+ location .append_location (model_top_folder_name )
157
+ callouts = self ._find_names_in_folder (location )
158
+ if callouts is not None :
159
+ _logger .info ('WLSDPLY-06671' , len (callouts ), class_name = _class_name , method_name = _method_name )
160
+ typedef = self ._model_context .get_domain_typedef ()
161
+ name_token = self ._aliases .get_name_token (location )
162
+ for callout in callouts :
163
+ if typedef .is_filtered (location , callout ):
164
+ _logger .info ('WLSDPLY-06673' , typedef .get_domain_type (), callout , class_name = _class_name ,
165
+ method_name = _method_name )
166
+ else :
167
+ _logger .info ('WLSDPLY-06672' , callout , class_name = _class_name , method_name = _method_name )
168
+ location .add_name_token (name_token , callout )
169
+ result [callout ] = OrderedDict ()
170
+ self ._populate_model_parameters (result [callout ], location )
171
+ location .remove_name_token (name_token )
172
+ location .pop_location ()
173
+
174
+ _logger .exiting (class_name = _class_name , method_name = _method_name , result = model_top_folder_name )
175
+ return model_top_folder_name , result
176
+
177
+
142
178
def get_clusters (self ):
143
179
"""
144
180
Discover the Clusters in the domain.
@@ -356,6 +392,8 @@ def discover_domain_parameters(self):
356
392
357
393
model_folder_name , folder_result = self .discover_domain_mbean (model_constants .ADMIN_CONSOLE )
358
394
discoverer .add_to_model_if_not_empty (self ._dictionary , model_folder_name , folder_result )
395
+ model_folder_name , folder_result = self .discover_domain_mbean (model_constants .ALLOW_LIST )
396
+ discoverer .add_to_model_if_not_empty (self ._dictionary , model_folder_name , folder_result )
359
397
model_folder_name , folder_result = self .discover_domain_mbean (model_constants .CDI_CONTAINER )
360
398
discoverer .add_to_model_if_not_empty (self ._dictionary , model_folder_name , folder_result )
361
399
model_folder_name , folder_result = self .discover_domain_mbean (model_constants .JMX )
@@ -368,7 +406,8 @@ def discover_domain_parameters(self):
368
406
discoverer .add_to_model_if_not_empty (self ._dictionary , model_folder_name , folder_result )
369
407
model_folder_name , folder_result = self ._get_nm_properties ()
370
408
discoverer .add_to_model_if_not_empty (self ._dictionary , model_folder_name , folder_result )
371
-
409
+ model_folder_name , folder_result = self .discover_domain_mbean (model_constants .REMOTE_CONSOLE_HELPER )
410
+ discoverer .add_to_model_if_not_empty (self ._dictionary , model_folder_name , folder_result )
372
411
model_folder_name , folder_result = self .discover_domain_mbean (model_constants .RESTFUL_MANAGEMENT_SERVICES )
373
412
discoverer .add_to_model_if_not_empty (self ._dictionary , model_folder_name , folder_result )
374
413
0 commit comments