-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Helidon 4 MP client and server generation (#18627)
* Add support for Helidon 4 MP client and server generation Signed-off-by: Tim Quinn <[email protected]> * Rerun samples generation trying to fix spring jobs Signed-off-by: Tim Quinn <[email protected]> * Update copyright Signed-off-by: Tim Quinn <[email protected]> * Correct the copyright notice Signed-off-by: Tim Quinn <[email protected]> --------- Signed-off-by: Tim Quinn <[email protected]>
- Loading branch information
Showing
953 changed files
with
27,164 additions
and
287 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
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,39 @@ | ||
name: Samples Java Helidon v4 | ||
|
||
on: | ||
push: | ||
paths: | ||
- samples/client/petstore/java-helidon-client/v4/** | ||
- samples/server/petstore/java-helidon-server/v4/** | ||
pull_request: | ||
paths: | ||
- samples/client/petstore/java-helidon-client/v4/** | ||
- samples/server/petstore/java-helidon-server/v4/** | ||
jobs: | ||
build: | ||
name: Build Java Helidon | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
sample: | ||
- samples/client/petstore/java-helidon-client/v4/mp | ||
- samples/server/petstore/java-helidon-server/v4/mp | ||
version: [21] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: ${{ matrix.version }} | ||
- name: Cache maven dependencies | ||
uses: actions/cache@v4 | ||
env: | ||
cache-name: maven-repository | ||
with: | ||
path: | | ||
~/.m2 | ||
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }} | ||
- name: Build | ||
working-directory: ${{ matrix.sample }} | ||
run: mvn clean package |
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,43 @@ | ||
name: Samples JDK21 | ||
on: | ||
push: | ||
paths: | ||
# clients | ||
- samples/client/petstore/java-helidon-client/v4/mp/** | ||
# servers | ||
- samples/server/petstore/java-helidon-server/v4/mp/** | ||
pull_request: | ||
paths: | ||
# clients | ||
- samples/client/petstore/java-helidon-client/v4/mp/** | ||
# servers | ||
- samples/server/petstore/java-helidon-server/v4/mp/** | ||
jobs: | ||
build: | ||
name: Build with JDK21 | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
sample: | ||
# clients | ||
- samples/client/petstore/java-helidon-client/v4/mp/ | ||
# servers | ||
- samples/server/petstore/java-helidon-server/v4/mp/ | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: 21 | ||
- name: Cache maven dependencies | ||
uses: actions/cache@v4 | ||
env: | ||
cache-name: maven-repository | ||
with: | ||
path: | | ||
~/.m2 | ||
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }} | ||
- name: Build | ||
working-directory: ${{ matrix.sample }} | ||
run: mvn clean package |
3 changes: 2 additions & 1 deletion
3
bin/configs/java-helidon-client-mp.yaml → bin/configs/java-helidon-client-mp_3.yaml
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,14 @@ | ||
generatorName: java-helidon-client | ||
library: mp | ||
outputDir: samples/client/petstore/java-helidon-client/v4/mp | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml | ||
additionalProperties: | ||
helidonVersion: 4.0.8 | ||
artifactId: petstore-helidon-client-mp | ||
hideGenerationTimestamp: "true" | ||
configureAuth: "false" | ||
build: "all" | ||
test: "spock" | ||
requiredPropertiesInConstructor: "false" | ||
visitable: "true" | ||
fullProject: "true" |
3 changes: 2 additions & 1 deletion
3
bin/configs/java-helidon-client-se.yaml → bin/configs/java-helidon-client-se_3.yaml
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
3 changes: 2 additions & 1 deletion
3
bin/configs/java-helidon-server-mp.yaml → bin/configs/java-helidon-server-mp_3.yaml
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,13 @@ | ||
generatorName: java-helidon-server | ||
library: mp | ||
outputDir: samples/server/petstore/java-helidon-server/v4/mp | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/java-helidon/server | ||
additionalProperties: | ||
helidonVersion: 4.0.8 | ||
artifactId: petstore-helidon-server-mp | ||
hideGenerationTimestamp: "true" | ||
build: "all" | ||
test: "spock" | ||
useAuth: "false" | ||
fullProject: "true" |
3 changes: 2 additions & 1 deletion
3
bin/configs/java-helidon-server-se.yaml → bin/configs/java-helidon-server-se_3.yaml
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 |
---|---|---|
@@ -1,9 +1,10 @@ | ||
generatorName: java-helidon-server | ||
library: se | ||
outputDir: samples/server/petstore/java-helidon-server/se | ||
outputDir: samples/server/petstore/java-helidon-server/v3/se | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/java-helidon/server | ||
additionalProperties: | ||
helidonVersion: 3.2.7 | ||
artifactId: petstore-helidon-server-se | ||
hideGenerationTimestamp: "true" | ||
fullProject: "true" |
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
Oops, something went wrong.