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

716 mp revamp #1259

Merged
merged 1 commit into from
Jan 13, 2020
Merged

716 mp revamp #1259

merged 1 commit into from
Jan 13, 2020

Conversation

tomas-langer
Copy link
Member

This is a major revamp of MicroProfile bootstrap.
A lot of changes related to native image.
This does not resolve the issue, though is a big step towards it (#716)

tjquinno
tjquinno previously approved these changes Jan 2, 2020
Copy link
Member

@tjquinno tjquinno left a comment

Choose a reason for hiding this comment

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

The changes to metrics and OpenAPI look good to me (assuming the TCKs continue to pass).

@tomas-langer
Copy link
Member Author

Resolves #363

@tomas-langer
Copy link
Member Author

Resolves #1258

spericas
spericas previously approved these changes Jan 6, 2020
Copy link
Member

@spericas spericas left a comment

Choose a reason for hiding this comment

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

Reviewed mostly the FT files. Please recall the FT TCKs need to be enabled manually.

spericas
spericas previously approved these changes Jan 7, 2020
}

static synchronized void addListener(Runnable runnable) {
RESET_LISTENERS.add(runnable);
Copy link
Member

Choose a reason for hiding this comment

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

Is it OK I can add the same runnable twice?

Copy link
Member Author

Choose a reason for hiding this comment

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

Depends on which runnable. There is only one place this is used from...

// we need to workaround that logging stops printing output during shutdown hooks
// let's add a Handler

Thread shutdownHook = new Thread(() -> {
Copy link
Member

Choose a reason for hiding this comment

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

All I meant was: the stock Weld shutdown hook closes the CDI container. This one does too. They run in parallel. I don't know what kind of dropped events or threading issues might arise. Maybe none. Maybe some.

@tomas-langer
Copy link
Member Author

Resolves #1152

@tomas-langer tomas-langer force-pushed the 716-mp-revamp branch 2 times, most recently from a88e1a8 to 69d060c Compare January 13, 2020 21:33
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>

Work around issues with the reduced pom created by maven-shade-plugin.
See https://issues.apache.org/jira/browse/MNG-5899

Inline the reduced dependencies in the original pom.
Turn-off reduced pom generation.

Update microprofile/weld/pom.xml

Build fixes after repackaging weld.

Build fix - spotbugs exclude missing.

Simplify build and runtime events.

Using predefined priorities.

Validations for all modules in test.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
@tomas-langer tomas-langer merged commit 76b8fbe into helidon-io:master Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants