Skip to content
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

Closed
wants to merge 6 commits into from

Conversation

evie-lau
Copy link
Member

@evie-lau evie-lau commented Aug 7, 2023

Resolves #1710
requires OpenLiberty/ci.common#408

@@ -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);
Copy link
Member

@scottkurz scottkurz Aug 8, 2023

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.

Copy link
Member

@scottkurz scottkurz left a 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)

@cherylking
Copy link
Member

Closing since we are not implementing this at this time.

@cherylking cherylking closed this Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide new plugin config to customize applicationMonitor configuration
3 participants