-
Notifications
You must be signed in to change notification settings - Fork 564
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
716 mp revamp #1259
Conversation
40c17bd
to
0b3fa9f
Compare
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.
The changes to metrics and OpenAPI look good to me (assuming the TCKs continue to pass).
Resolves #363 |
Resolves #1258 |
common/common/src/main/java/io/helidon/common/HelidonFeatures.java
Outdated
Show resolved
Hide resolved
...ension/src/main/java/io/helidon/integrations/graal/mp/nativeimage/extension/WeldFeature.java
Show resolved
Hide resolved
...ension/src/main/java/io/helidon/integrations/graal/mp/nativeimage/extension/WeldFeature.java
Show resolved
Hide resolved
...ension/src/main/java/io/helidon/integrations/graal/mp/nativeimage/extension/WeldFeature.java
Show resolved
Hide resolved
...ension/src/main/java/io/helidon/integrations/graal/mp/nativeimage/extension/WeldFeature.java
Show resolved
Hide resolved
...ension/src/main/java/io/helidon/integrations/graal/mp/nativeimage/extension/WeldFeature.java
Show resolved
Hide resolved
microprofile/server/src/main/java/io/helidon/microprofile/server/Server.java
Show resolved
Hide resolved
microprofile/server/src/main/java/io/helidon/microprofile/server/ServerCdiExtension.java
Outdated
Show resolved
Hide resolved
microprofile/server/src/main/java/io/helidon/microprofile/server/ServerCdiExtension.java
Outdated
Show resolved
Hide resolved
microprofile/server/src/main/java/io/helidon/microprofile/server/ServerCdiExtension.java
Outdated
Show resolved
Hide resolved
microprofile/server/src/main/java/io/helidon/microprofile/server/ServerCdiExtension.java
Show resolved
Hide resolved
533766c
to
f81ac95
Compare
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.
Reviewed mostly the FT files. Please recall the FT TCKs need to be enabled manually.
9a2fa23
to
7fa83b6
Compare
} | ||
|
||
static synchronized void addListener(Runnable runnable) { | ||
RESET_LISTENERS.add(runnable); |
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.
Is it OK I can add the same runnable
twice?
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.
Depends on which runnable. There is only one place this is used from...
microprofile/cdi/src/main/java/io/helidon/microprofile/cdi/HelidonContainerImpl.java
Outdated
Show resolved
Hide resolved
microprofile/cdi/src/main/java/io/helidon/microprofile/cdi/HelidonContainerImpl.java
Outdated
Show resolved
Hide resolved
// we need to workaround that logging stops printing output during shutdown hooks | ||
// let's add a Handler | ||
|
||
Thread shutdownHook = new Thread(() -> { |
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.
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.
microprofile/cdi/src/main/java/io/helidon/microprofile/cdi/LogConfig.java
Show resolved
Hide resolved
microprofile/config/src/main/java/io/helidon/microprofile/config/ConfigCdiExtension.java
Show resolved
Hide resolved
microprofile/server/src/main/java/io/helidon/microprofile/server/Server.java
Show resolved
Hide resolved
microprofile/cdi/src/main/java/io/helidon/microprofile/cdi/BuildTimeEvent.java
Outdated
Show resolved
Hide resolved
microprofile/cdi/src/main/java/io/helidon/microprofile/cdi/BuildTimeEvent.java
Outdated
Show resolved
Hide resolved
microprofile/cdi/src/main/java/io/helidon/microprofile/cdi/BuildTimeEvent.java
Outdated
Show resolved
Hide resolved
8b2e8dc
to
03a0379
Compare
Resolves #1152 |
a88e1a8
to
69d060c
Compare
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>
69d060c
to
8f464f9
Compare
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)