-
Notifications
You must be signed in to change notification settings - Fork 91
Opsscli #440
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
Conversation
if opss_wallet is not None and opss_secret_password is not None: | ||
self.wlst_helper.setSharedSecretStoreWithPassword(opss_wallet, opss_secret_password) | ||
|
||
self.logger.exiting(class_name=self.__class_name, method_name=_method_name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exiting log should be same indent level as return, I think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. I have refactored the code and corrected the spelling in message catalog
@@ -1175,5 +1175,11 @@ def __configure_opss_secrets(self): | |||
zip_entry = archive_file.getOPSSWallet(); | |||
FileUtils.extractZipFileContent(archive_file, zip_entry, extract_path) | |||
self.wlst_helper.setSharedSecretStoreWithPassword(extract_path, opss_secret_password) | |||
self.logger.exiting(class_name=self.__class_name, method_name=_method_name) | |||
return extract_path | |||
else: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hard to tell from this diff, but it looks like this "else" is for "if OPSS_SECRETS in domain_info", still inside "if domain_info is not None". Seems like it should be:
if (domain_info is not None) and (OPSS_SECRETS in domain_info):
... use values from domain info
else:
... check model context
Even though the domain_info section should always be present on a create.
@@ -1442,6 +1442,8 @@ WLSDPLY-20023={0} unable to add model file {1} to archive as {2}: {3} | |||
WLSDPLY-20024={0} failed to persist the model to the archive file {1}: {2} | |||
WLSDPLY-20025=For {0}, specify the {1} or {2} argument, but not both | |||
WLSDPLY-20026={0} failed to find a model file in archive {1}, and {2} argument not specified | |||
WLSDPLY-20027=Enter the opss wallet passphrase | |||
WLSDPLY-20028=Failed to read the opss wallet passphrase input from the user: {0} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OPSS should be all caps
Add opss wallet import command line options for sharing DB use case
-opss_wallet
-opss_wallet_passphrase