-
Notifications
You must be signed in to change notification settings - Fork 91
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
Add appMonitorTrigger parameter to set applicationMonitor updateTrigger override property #1711
Conversation
@@ -108,6 +109,9 @@ private void doDeploy() throws IOException, MojoExecutionException, TransformerE | |||
getLog().warn(messages.getString("warn.install.app.add.configuration")); | |||
applicationXml.writeApplicationXmlDocument(serverDirectory); | |||
} | |||
|
|||
// create applicationMonitor configuration in configDropins/defaults | |||
appMonXml.writeAppMonitorConfigXmlDocument(serverDirectory, appMonitorTrigger); |
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.
I can see the value in grouping this together with writing the install_apps_...xml. We want to limit the number of places we're generating config from.
That said, I wonder if the copyConfigFiles() routine is the better place.
Within the dev mode use case it's hard to come up with a distinction between the two approaches.
So, say I was using the goals outside of dev mode.. I have done a deploy earlier and am now doing compiles and start and stop of the server.
Do we want the plugin configuration at the time of deploy to still basically take effect now, later? Or if I run without this new parameter set, should I revert back to the default state (and have LMP delete the configDropin)?
I'm just going to pose the question for now and come back and think more as well.
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.
Decided to hold off on this for now, see: #1710 (comment)
Closing since we are not implementing this at this time. |
Resolves #1710
requires OpenLiberty/ci.common#408