Skip to content

Commit a17fb17

Browse files
CarolynRountreerakillen
authored andcommitted
remove unused provider code (#363)
1 parent b7a0cbe commit a17fb17

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

core/src/main/python/wlsdeploy/tool/discover/topology_discoverer.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
33
The Universal Permissive License (UPL), Version 1.0
44
"""
5-
from com.sun.identity.agents.weblogic.v10 import AgentAuthenticatorMBeanImplBeanInfo
6-
from com.sun.identity.agents.weblogic.v10 import AgentAuthenticatorMBeanImpl
7-
from com.sun.identity.agents.weblogic.v10 import AgentAuthenticatorMBean
8-
from com.sun.identity.agents.weblogic.v10 import AgentAuthenticatorImpl
95
from java.io import File
106
from java.lang import IllegalArgumentException
117

@@ -50,7 +46,6 @@ def __init__(self, model_context, topology_dictionary, base_location, wlst_mode=
5046
self._add_att_handler(model_constants.CLASSPATH, self._add_classpath_libraries_to_archive)
5147
self._add_att_handler(model_constants.CUSTOM_IDENTITY_KEYSTORE_FILE, self._add_keystore_file_to_archive)
5248
self._add_att_handler(model_constants.CUSTOM_TRUST_KEYSTORE_FILE, self._add_keystore_file_to_archive)
53-
self.agent_authenticator = AgentAuthenticatorImpl()
5449

5550
def discover(self):
5651
"""

core/src/main/python/wlsdeploy/util/wlst_helper.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@ def set_server_groups(server, server_groups):
219219
220220
:param server: the name of the new server
221221
:param server_groups: the list of template-defined server groups to target to the server
222-
:param current_edit: if online and true, perform the update in the current edit session
223222
:raises: PyWLSTException: if a WLST error occurs
224223
"""
225224
_method_name = 'set_server_groups'
@@ -604,7 +603,6 @@ def update_domain():
604603
"""
605604
Update the existing domain configuration with the edits made during the offline session.
606605
:raises: PyWLSTException: if a WLST error occurs
607-
_method_name = 'update_domain'
608606
"""
609607
_method_name = 'update_domain'
610608
_logger.entering(class_name=_class_name, method_name=_method_name)
@@ -831,7 +829,7 @@ def subfolder_exists(wlst_objects_path, wlst_mbean_type):
831829
if child_folder_list is not None and wlst_mbean_type in child_folder_list:
832830
_logger.finest('WLSDPLY-00074', wlst_mbean_type, wlst_objects_path, class_name=_class_name,
833831
_method_name=_method_name)
834-
exists=True
832+
exists = True
835833
else:
836834
_logger.finest('WLSDPLY-00075', wlst_mbean_type, wlst_objects_path, class_name=_class_name,
837835
method_name=_method_name)
@@ -1298,8 +1296,6 @@ def save_and_activate_online():
12981296
_logger.entering(class_name=_class_name, method_name=_method_name)
12991297
if is_connected():
13001298
_logger.fine('WLSDPLY-00077', class_name=_class_name, method_name=_method_name)
1301-
cmgr = get_config_manager()
1302-
# if is_editor(cmgr):
13031299
# The setServerGroups cmgr.reload() lost the saved and unactivated changes marker
13041300
# Don't even check for outstanding changes or saved but not activated. Just
13051301
# do this and hope for the best
@@ -1336,7 +1332,6 @@ def reopen_online(admin_user, admin_pass, admin_url):
13361332
_logger.fine('WLSDPLY-00079', class_name=_class_name, method_name=_method_name)
13371333

13381334
edit()
1339-
#cmgr = get_config_manager()
13401335
start_edit()
13411336

13421337
_logger.exiting(class_name=_class_name, method_name=_method_name)

0 commit comments

Comments
 (0)