Skip to content

Only extract /wlsdeploy paths from the archive #634

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -838,10 +838,13 @@ def __deploy_model_applications(self, model_apps, app_location, deployed_applist
plan_file = dictionary_utils.get_element(app_dict, PLAN_PATH)
targets = dictionary_utils.get_element(app_dict, TARGET)
options = _get_deploy_options(model_apps, app_name, library_module='false')

# any attribute with 'uses_path_tokens' may be in the archive (such as SourcePath)
for uses_path_tokens_attribute_name in uses_path_tokens_attribute_names:
if uses_path_tokens_attribute_name in app_dict:
self.__extract_source_path_from_archive(app_dict[uses_path_tokens_attribute_name],
APPLICATION, app_name)
path = app_dict[uses_path_tokens_attribute_name]
if deployer_utils.is_path_into_archive(path):
self.__extract_source_path_from_archive(path, APPLICATION, app_name)

location.add_name_token(token_name, app_name)
resource_group_template_name, resource_group_name, partition_name = \
Expand Down