Skip to content

Conversation

@jshum2479
Copy link
Member

I want to add a flag -store_model <1> to the WDT. If the argument -store_model 1 is passed for createDomain, the merged model is stored in the $domain/wlsdeploy/domain_saved.json - a fixed location. This is only used by the operator temporarily during introspect job.

@jshum2479 jshum2479 requested review from ddsharpe and rakillen August 12, 2019 20:53
Copy link
Contributor

@CarolynRountree CarolynRountree left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it is so specific to image tool and operator, what about making it an environment variable instead?

@jshum2479
Copy link
Member Author

I changed to use environment variable STORE_MODEL instead

ddsharpe
ddsharpe previously approved these changes Aug 13, 2019
self.library_helper.install_domain_libraries()
self.library_helper.extract_classpath_libraries()
self.wlsroles_helper.process_roles()
if os.environ.has_key('__STORE_MODEL__'):
Copy link
Member

@rakillen rakillen Aug 13, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any interest in changing this to "__WLSDEPLOY_STORE_MODEL__"? They do this elsewhere in the code, such as WLSDeployLoggingConfig.java . I could live with either, though

@ddsharpe ddsharpe merged commit c7ded8d into master Aug 14, 2019
@ddsharpe ddsharpe deleted the extractdiffloc branch August 14, 2019 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants