Skip to content

Commit caac7df

Browse files
author
Johnny
committed
remove obsolete atp_properties_file
1 parent 119fa9f commit caac7df

File tree

3 files changed

+0
-38
lines changed

3 files changed

+0
-38
lines changed

core/src/main/python/create.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
CommandLineArgUtil.VARIABLE_FILE_SWITCH,
7575
CommandLineArgUtil.USE_ENCRYPTION_SWITCH,
7676
CommandLineArgUtil.PASSPHRASE_SWITCH,
77-
CommandLineArgUtil.ATP_PROPERTIES_FILE_SWITCH
7877
]
7978

8079

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

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ class CommandLineArgUtil(object):
6262
ATTRIBUTES_ONLY_SWITCH = '-attributes_only'
6363
FOLDERS_ONLY_SWITCH = '-folders_only'
6464
RECURSIVE_SWITCH = '-recursive'
65-
ATP_PROPERTIES_FILE_SWITCH = '-atp_properties_file'
6665
# overrides for the variable injector
6766
VARIABLE_INJECTOR_FILE_SWITCH = '-variable_injector_file'
6867
VARIABLE_KEYWORDS_FILE_SWITCH = '-variable_keywords_file'
@@ -370,16 +369,6 @@ def process_args(self, args, for_domain_create=False):
370369
ex = self._get_out_of_args_exception(key)
371370
self._logger.throwing(ex, class_name=self._class_name, method_name=method_name)
372371
raise ex
373-
elif self.is_atp_properties_file_key(key):
374-
idx += 1
375-
if idx < args_len:
376-
full_path = self._validate_atp_properties_file_arg(args[idx])
377-
self._add_arg(key, full_path, True)
378-
else:
379-
ex = self._get_out_of_args_exception(key)
380-
self._logger.throwing(ex, class_name=self._class_name, method_name=method_name)
381-
raise ex
382-
383372
else:
384373
ex = exception_helper.create_cla_exception('WLSDPLY-01601', self._program_name, key)
385374
ex.setExitCode(self.USAGE_ERROR_EXIT_CODE)
@@ -969,9 +958,6 @@ def get_variable_properties_file_key(self):
969958
def is_variable_properties_file_key(self, key):
970959
return self.VARIABLE_PROPERTIES_FILE_SWITCH == key
971960

972-
def is_atp_properties_file_key(self, key):
973-
return self.ATP_PROPERTIES_FILE_SWITCH == key
974-
975961
def _validate_variable_properties_file_arg(self, value):
976962
method_name = '_validate_variable_properties_file_arg'
977963

@@ -984,17 +970,6 @@ def _validate_variable_properties_file_arg(self, value):
984970
raise ex
985971
return variables.getAbsolutePath()
986972

987-
def _validate_atp_properties_file_arg(self, value):
988-
method_name = '_validate_atp_properties_file_arg'
989-
990-
try:
991-
rcu_properties = JFileUtils.validateFileName(value)
992-
except JIllegalArgumentException, iae:
993-
ex = exception_helper.create_cla_exception('WLSDPLY-01620', value, iae.getLocalizedMessage(), error=iae)
994-
ex.setExitCode(self.ARG_VALIDATION_ERROR_EXIT_CODE)
995-
self._logger.throwing(ex, class_name=self._class_name, method_name=method_name)
996-
raise ex
997-
return rcu_properties.getAbsolutePath()
998973

999974
###########################################################################
1000975
# Helper methods #

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ def __init__(self, program_name, arg_map):
5151
self._rcu_prefix = None
5252
self._rcu_sys_pass = None
5353
self._rcu_schema_pass = None
54-
self._atp_properties_file = None
5554
self._encryption_passphrase = None
5655
self._encrypt_manual = False
5756
self._encrypt_one_pass = None
@@ -127,9 +126,6 @@ def __init__(self, program_name, arg_map):
127126
if CommandLineArgUtil.RCU_SCHEMA_PASS_SWITCH in arg_map:
128127
self._rcu_schema_pass = arg_map[CommandLineArgUtil.RCU_SCHEMA_PASS_SWITCH]
129128

130-
if CommandLineArgUtil.ATP_PROPERTIES_FILE_SWITCH in arg_map:
131-
self._atp_properties_file = arg_map[CommandLineArgUtil.ATP_PROPERTIES_FILE_SWITCH]
132-
133129
if CommandLineArgUtil.DOMAIN_TYPEDEF in arg_map:
134130
self._domain_typedef = arg_map[CommandLineArgUtil.DOMAIN_TYPEDEF]
135131

@@ -362,14 +358,6 @@ def get_rcu_schema_pass(self):
362358
"""
363359
return self._rcu_schema_pass
364360

365-
def get_atp_properties_file(self):
366-
"""
367-
Get the RCU properties file
368-
:return: the RCU properties file path
369-
"""
370-
return self._atp_properties_file
371-
372-
373361
def get_encryption_passphrase(self):
374362
"""
375363
Get the encryption passphrase.

0 commit comments

Comments
 (0)