From 22cc53c3c5a38868db0bbe95611d34bcb1bae917 Mon Sep 17 00:00:00 2001 From: JordenReuter <149687553+JordenReuter@users.noreply.github.com> Date: Mon, 15 Apr 2024 13:33:57 +0200 Subject: [PATCH] feat: added native support (#25) --- .github/workflows/build-branch.yml | 4 +++- .github/workflows/build-pr.yml | 4 +++- .github/workflows/build-release.yml | 4 +++- .github/workflows/build.yml | 1 + src/main/resources/application.properties | 3 +++ 5 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-branch.yml b/.github/workflows/build-branch.yml index 7270213..d0aea6d 100644 --- a/.github/workflows/build-branch.yml +++ b/.github/workflows/build-branch.yml @@ -10,4 +10,6 @@ on: jobs: branch: uses: onecx/ci-quarkus/.github/workflows/build-branch.yml@v1 - secrets: inherit \ No newline at end of file + secrets: inherit + with: + native: true \ No newline at end of file diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index acff155..dcc442b 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -6,4 +6,6 @@ on: jobs: pr: uses: onecx/ci-quarkus/.github/workflows/build-pr.yml@v1 - secrets: inherit \ No newline at end of file + secrets: inherit + with: + native: true \ No newline at end of file diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index b04a59a..26d536a 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -6,4 +6,6 @@ on: jobs: release: uses: onecx/ci-quarkus/.github/workflows/build-release.yml@v1 - secrets: inherit \ No newline at end of file + secrets: inherit + with: + native: true \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b781135..5becd71 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,4 +12,5 @@ jobs: uses: onecx/ci-quarkus/.github/workflows/build.yml@v1 secrets: inherit with: + native: true helmEventTargetRepository: onecx/onecx-announcement \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 6059a69..3adb86e 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -22,12 +22,15 @@ quarkus.openapi-generator.codegen.spec.onecx_announcement_svc_yaml.config-key=on quarkus.openapi-generator.codegen.spec.onecx_announcement_svc_yaml.base-package=gen.org.tkit.onecx.announcement.client quarkus.openapi-generator.codegen.spec.onecx_announcement_svc_yaml.return-response=true quarkus.openapi-generator.codegen.spec.onecx_announcement_svc.additional-api-type-annotations=@org.eclipse.microprofile.rest.client.annotation.RegisterClientHeaders; +quarkus.openapi-generator.codegen.spec.onecx_announcement_svc.additional-model-type-annotations=@io.quarkus.runtime.annotations.RegisterForReflection; # workspace external client quarkus.openapi-generator.codegen.spec.onecx_workspace_svc_v1_yaml.config-key=onecx_workspace_svc_v1 quarkus.openapi-generator.codegen.spec.onecx_workspace_svc_v1_yaml.base-package=gen.org.tkit.onecx.workspace.client quarkus.openapi-generator.codegen.spec.onecx_workspace_svc_v1_yaml.return-response=true quarkus.openapi-generator.codegen.spec.onecx_workspace_svc_v1_yaml.additional-api-type-annotations=@org.eclipse.microprofile.rest.client.annotation.RegisterClientHeaders; +quarkus.openapi-generator.codegen.spec.onecx_workspace_svc_v1_yaml.additional-model-type-annotations=@io.quarkus.runtime.annotations.RegisterForReflection; + # DEV %dev.quarkus.rest-client.onecx_announcement_svc.url=${quarkus.mockserver.endpoint} %dev.quarkus.rest-client.onecx_workspace_svc_v1.url=${quarkus.mockserver.endpoint}