diff --git a/.github/workflows/callable-create-github-release-from-tag.yml b/.github/workflows/callable-create-github-release-from-tag.yml index de746d2bb..d918576fc 100644 --- a/.github/workflows/callable-create-github-release-from-tag.yml +++ b/.github/workflows/callable-create-github-release-from-tag.yml @@ -39,7 +39,7 @@ jobs: distribution: 'temurin' - name: build jar without tests - run: mvn -B -ntp -DskipTests package -f ${{ inputs.service }}/pom.xml + run: mvn -B -ntp -DskipTests verify -f ${{ inputs.service }}/pom.xml - name: Create GitHub Release id: create_release diff --git a/.github/workflows/dispatch-microservice-mvn-release.yml b/.github/workflows/dispatch-microservice-mvn-release.yml index 14529f92b..b03d13cb7 100644 --- a/.github/workflows/dispatch-microservice-mvn-release.yml +++ b/.github/workflows/dispatch-microservice-mvn-release.yml @@ -48,7 +48,7 @@ jobs: with: tag: ${{ github.event.inputs.service }}/${{ github.event.inputs.release-version }} service: ${{ github.event.inputs.service }} - files: ${{ inputs.service }}/target/*.jar + files: "${{ github.event.inputs.service }}/target/*.jar\n${{ github.event.inputs.service }}/target/openapi.json" build-github-container-image: permissions: diff --git a/wls-auth-service/pom.xml b/wls-auth-service/pom.xml index f291d91f2..b926c33d5 100644 --- a/wls-auth-service/pom.xml +++ b/wls-auth-service/pom.xml @@ -301,6 +301,18 @@ repackage + + pre-integration-test + + start + + + + post-integration-test + + stop + + @@ -429,6 +441,25 @@ + + + org.springdoc + springdoc-openapi-maven-plugin + 1.4 + + + integration-test + + generate + + + + + http://localhost:8080/v3/api-docs + openapi.json + ${project.build.directory} + + diff --git a/wls-basisdaten-service/pom.xml b/wls-basisdaten-service/pom.xml index 52379108b..8867abaf2 100644 --- a/wls-basisdaten-service/pom.xml +++ b/wls-basisdaten-service/pom.xml @@ -333,6 +333,18 @@ repackage + + pre-integration-test + + start + + + + post-integration-test + + stop + + @@ -516,6 +528,25 @@ + + + org.springdoc + springdoc-openapi-maven-plugin + 1.4 + + + integration-test + + generate + + + + + http://localhost:8080/v3/api-docs + openapi.json + ${project.build.directory} + + diff --git a/wls-briefwahl-service/pom.xml b/wls-briefwahl-service/pom.xml index e284b1e9d..901c07a3b 100644 --- a/wls-briefwahl-service/pom.xml +++ b/wls-briefwahl-service/pom.xml @@ -315,6 +315,18 @@ repackage + + pre-integration-test + + start + + + + post-integration-test + + stop + + @@ -455,6 +467,25 @@ + + + org.springdoc + springdoc-openapi-maven-plugin + 1.4 + + + integration-test + + generate + + + + + http://localhost:8080/v3/api-docs + openapi.json + ${project.build.directory} + + diff --git a/wls-broadcast-service/pom.xml b/wls-broadcast-service/pom.xml index adae3fb74..1d82e0e8c 100644 --- a/wls-broadcast-service/pom.xml +++ b/wls-broadcast-service/pom.xml @@ -317,6 +317,18 @@ repackage + + pre-integration-test + + start + + + + post-integration-test + + stop + + @@ -458,6 +470,25 @@ + + + org.springdoc + springdoc-openapi-maven-plugin + 1.4 + + + integration-test + + generate + + + + + http://localhost:8080/v3/api-docs + openapi.json + ${project.build.directory} + + diff --git a/wls-ergebnismeldung-service/pom.xml b/wls-ergebnismeldung-service/pom.xml index 8e66b5815..3d1452ca2 100644 --- a/wls-ergebnismeldung-service/pom.xml +++ b/wls-ergebnismeldung-service/pom.xml @@ -301,6 +301,18 @@ repackage + + pre-integration-test + + start + + + + post-integration-test + + stop + + @@ -429,6 +441,25 @@ + + + org.springdoc + springdoc-openapi-maven-plugin + 1.4 + + + integration-test + + generate + + + + + http://localhost:8080/v3/api-docs + openapi.json + ${project.build.directory} + + diff --git a/wls-infomanagement-service/pom.xml b/wls-infomanagement-service/pom.xml index 576ec8663..9ba359a42 100644 --- a/wls-infomanagement-service/pom.xml +++ b/wls-infomanagement-service/pom.xml @@ -314,6 +314,18 @@ repackage + + pre-integration-test + + start + + + + post-integration-test + + stop + + @@ -455,6 +467,25 @@ + + + org.springdoc + springdoc-openapi-maven-plugin + 1.4 + + + integration-test + + generate + + + + + http://localhost:8080/v3/api-docs + openapi.json + ${project.build.directory} + + diff --git a/wls-monitoring-service/pom.xml b/wls-monitoring-service/pom.xml index 8746dc7eb..b08a86e46 100644 --- a/wls-monitoring-service/pom.xml +++ b/wls-monitoring-service/pom.xml @@ -301,6 +301,18 @@ repackage + + pre-integration-test + + start + + + + post-integration-test + + stop + + @@ -429,6 +441,25 @@ + + + org.springdoc + springdoc-openapi-maven-plugin + 1.4 + + + integration-test + + generate + + + + + http://localhost:8080/v3/api-docs + openapi.json + ${project.build.directory} + + diff --git a/wls-wahlvorbereitung-service/pom.xml b/wls-wahlvorbereitung-service/pom.xml index afa1f28dd..07db5e98d 100644 --- a/wls-wahlvorbereitung-service/pom.xml +++ b/wls-wahlvorbereitung-service/pom.xml @@ -308,6 +308,18 @@ repackage + + pre-integration-test + + start + + + + post-integration-test + + stop + + @@ -449,6 +461,25 @@ + + + org.springdoc + springdoc-openapi-maven-plugin + 1.4 + + + integration-test + + generate + + + + + http://localhost:8080/v3/api-docs + openapi.json + ${project.build.directory} + + diff --git a/wls-wahlvorstand-service/pom.xml b/wls-wahlvorstand-service/pom.xml index 9ec357a26..890f192a7 100644 --- a/wls-wahlvorstand-service/pom.xml +++ b/wls-wahlvorstand-service/pom.xml @@ -301,6 +301,18 @@ repackage + + pre-integration-test + + start + + + + post-integration-test + + stop + + @@ -429,6 +441,25 @@ + + + org.springdoc + springdoc-openapi-maven-plugin + 1.4 + + + integration-test + + generate + + + + + http://localhost:8080/v3/api-docs + openapi.json + ${project.build.directory} + +