forked from spring-projects-experimental/spring-fu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
91 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ build/ | |
*.iml | ||
*.ipr | ||
out/ | ||
samples/graal-webapp/org.springframework.fu.sample.graal.applicationkt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
= Graal webapp | ||
|
||
This is a Spring Fu example of a minimal webapp compiled as a /~https://github.com/oracle/graal/tree/master/substratevm[Graal native image]. You can build it by running `build.sh` with Graal 1.0 RC5 or above. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env sh | ||
|
||
cd ../../ | ||
./gradlew clean build -x test | ||
cd samples/graal-webapp | ||
unzip build/libs/graal-webapp-0.0.1.BUILD-SNAPSHOT.jar -d build/libs/graal-webapp-0.0.1.BUILD-SNAPSHOT | ||
native-image -H:ReflectionConfigurationFiles=graal.json -Dio.netty.noUnsafe=true -H:+ReportUnsupportedElementsAtRuntime -Dfile.encoding=UTF-8 -cp ".:$(echo build/libs/graal-webapp-0.0.1.BUILD-SNAPSHOT/BOOT-INF/lib/*.jar | tr ' ' ':')":build/libs/graal-webapp-0.0.1.BUILD-SNAPSHOT/BOOT-INF/classes org.springframework.fu.sample.graal.ApplicationKt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
[ | ||
{ | ||
"name": "org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor", | ||
"methods": [ | ||
{ "name": "<init>", "parameterTypes": [] } | ||
] | ||
}, | ||
{ | ||
"name": "org.apache.logging.log4j.message.ReusableMessageFactory", | ||
"methods": [ | ||
{ "name": "<init>", "parameterTypes": [] } | ||
] | ||
}, | ||
{ | ||
"name": "org.apache.logging.log4j.message.DefaultFlowMessageFactory", | ||
"methods": [ | ||
{ "name": "<init>", "parameterTypes": [] } | ||
] | ||
}, | ||
{ | ||
"name": "org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext", | ||
"methods": [ | ||
{ "name": "<init>", "parameterTypes": [] } | ||
] | ||
}, | ||
{ | ||
"name": "org.springframework.context.support.GenericApplicationContext", | ||
"methods": [ | ||
{ "name": "<init>", "parameterTypes": [] } | ||
] | ||
}, | ||
{ | ||
"name": "org.springframework.context.annotation.ConfigurationClassPostProcessor", | ||
"methods": [ | ||
{ "name": "<init>", "parameterTypes": [] } | ||
] | ||
}, | ||
{ | ||
"name": "org.springframework.http.codec.support.DefaultServerCodecConfigurer", | ||
"methods": [ | ||
{ "name": "<init>", "parameterTypes": [] } | ||
] | ||
}, | ||
{ | ||
"name": "io.netty.channel.socket.nio.NioServerSocketChannel", | ||
"methods": [ | ||
{ "name": "<init>", "parameterTypes": [] } | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ork/fu/sample/minimal/IntegrationTests.kt → ...ework/fu/sample/graal/IntegrationTests.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters