forked from Taskana/taskana
-
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
1,648 changed files
with
42,879 additions
and
42,881 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 |
---|---|---|
|
@@ -18,10 +18,10 @@ env: | |
|
||
ARTIFACTS_CYPRESS_TESTS_NAME: cypress-tests | ||
ARTIFACTS_CYPRESS_TESTS_PATH: web/cypress | ||
ARTIFACTS_TASKANA_JARS_NAME: taskana-jars | ||
ARTIFACTS_TASKANA_JARS_PATH: ~/.m2/repository/pro/taskana | ||
ARTIFACTS_TASKANA_WEB_NAME: taskana-web | ||
ARTIFACTS_TASKANA_WEB_PATH: web/dist | ||
ARTIFACTS_KADAI_JARS_NAME: kadai-jars | ||
ARTIFACTS_KADAI_JARS_PATH: ~/.m2/repository/io/kadai | ||
ARTIFACTS_KADAI_WEB_NAME: kadai-web | ||
ARTIFACTS_KADAI_WEB_PATH: web/dist | ||
ARTIFACTS_JACOCO_REPORTS_NAME: jacoco-reports | ||
ARTIFACTS_JACOCO_REPORTS_PATH: "**/jacoco.exec" | ||
|
||
|
@@ -51,6 +51,8 @@ jobs: | |
path: ~/.m2 | ||
key: ${{ runner.os }}-${{ env.CACHE_MAVEN_NAME }}-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-${{ env.CACHE_MAVEN_NAME }} | ||
- name: Check file permissions | ||
run: ls -l ci | ||
- name: Change versions to match tag | ||
run: ci/change_version.sh -m . | ||
- name: Compile & build | ||
|
@@ -60,20 +62,20 @@ jobs: | |
run: | | ||
./mvnw -B dependency:go-offline | ||
./mvnw -B test -Dtest=GibtEsNet -Dsurefire.failIfNoSpecifiedTests=false | ||
- name: Upload taskana artifacts | ||
- name: Upload kadai artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ env.ARTIFACTS_TASKANA_JARS_NAME }} | ||
path: ${{ env.ARTIFACTS_TASKANA_JARS_PATH }} | ||
name: ${{ env.ARTIFACTS_KADAI_JARS_NAME }} | ||
path: ${{ env.ARTIFACTS_KADAI_JARS_PATH }} | ||
if-no-files-found: error | ||
- name: Remove taskana artifacts from cache | ||
run: rm -rf ${{ env.ARTIFACTS_TASKANA_JARS_PATH }} | ||
- name: Remove kadai artifacts from cache | ||
run: rm -rf ${{ env.ARTIFACTS_KADAI_JARS_PATH }} | ||
- name: Cancel workflow | ||
if: failure() | ||
uses: andymckay/[email protected] | ||
|
||
compile_frontend: | ||
name: Compile taskana-web | ||
name: Compile kadai-web | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Git checkout | ||
|
@@ -101,7 +103,7 @@ jobs: | |
key: ${{ runner.OS }}-${{ env.CACHE_MAVEN_FOR_WEB_NAME }}-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.OS }}-${{ env.CACHE_MAVEN_FOR_WEB_NAME }} | ||
- name: Populate maven cache | ||
run: ./mvnw -B dependency:go-offline -pl :taskana-web -am | ||
run: ./mvnw -B dependency:go-offline -pl :kadai-web -am | ||
if: steps.maven-cache.outputs.cache-hit != 'true' | ||
- name: Install Dependencies | ||
if: steps.web-cache.outputs.cache-hit != 'true' | ||
|
@@ -113,22 +115,22 @@ jobs: | |
yarn lint | ||
yarn build:prod | ||
- name: Build maven artifact | ||
run: ./mvnw -B install -pl :taskana-web -am | ||
- name: Upload taskana-web dist artifact | ||
run: ./mvnw -B install -pl :kadai-web -am | ||
- name: Upload kadai-web dist artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ env.ARTIFACTS_TASKANA_WEB_NAME }} | ||
path: ${{ env.ARTIFACTS_TASKANA_WEB_PATH }} | ||
name: ${{ env.ARTIFACTS_KADAI_WEB_NAME }} | ||
path: ${{ env.ARTIFACTS_KADAI_WEB_PATH }} | ||
if-no-files-found: error | ||
- name: Remove taskana artifacts from cache | ||
run: rm -rf ~/.m2/repository/pro/taskana | ||
- name: Remove kadai artifacts from cache | ||
run: rm -rf ~/.m2/repository/io/kadai | ||
- name: Cancel workflow | ||
if: failure() | ||
uses: andymckay/[email protected] | ||
|
||
test_frontend: | ||
runs-on: ubuntu-20.04 | ||
name: Test taskana-web | ||
name: Test kadai-web | ||
needs: [ compile_frontend ] | ||
steps: | ||
- name: Git checkout | ||
|
@@ -159,7 +161,7 @@ jobs: | |
# Theoretically this step below not necessary because we reuse the cache from the 'compile_frontend' job. | ||
# Sometimes the cache is not created, therefore this is a fallback. | ||
- name: Populate cache | ||
run: ./mvnw -B dependency:go-offline -pl :taskana-web -am | ||
run: ./mvnw -B dependency:go-offline -pl :kadai-web -am | ||
if: steps.maven-cache.outputs.cache-hit != 'true' | ||
- name: Test | ||
working-directory: web | ||
|
@@ -202,29 +204,31 @@ jobs: | |
with: | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-${{ env.CACHE_MAVEN_NAME }}-${{ hashFiles('**/pom.xml') }} | ||
- name: Download taskana artifacts | ||
- name: Download kadai artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: ${{ env.ARTIFACTS_TASKANA_JARS_NAME }} | ||
path: ${{ env.ARTIFACTS_TASKANA_JARS_PATH }} | ||
name: ${{ env.ARTIFACTS_KADAI_JARS_NAME }} | ||
path: ${{ env.ARTIFACTS_KADAI_JARS_PATH }} | ||
- name: Check file permissions | ||
run: ls -l ci | ||
- name: Change versions to match tag | ||
run: ci/change_version.sh -m . | ||
# Theoretically this step below not necessary because we reuse the cache from the 'compile_frontend' job. | ||
# Sometimes the cache is not created, therefore this is a fallback. | ||
- name: Populate cache | ||
run: ./mvnw -B dependency:go-offline -pl :taskana-rest-spring-example-boot -am | ||
run: ./mvnw -B dependency:go-offline -pl :kadai-rest-spring-example-boot -am | ||
if: steps.maven-cache.outputs.cache-hit != 'true' | ||
- name: Download taskana-web dist artifact | ||
- name: Download kadai-web dist artifact | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: ${{ env.ARTIFACTS_TASKANA_WEB_NAME }} | ||
path: ${{ env.ARTIFACTS_TASKANA_WEB_PATH }} | ||
name: ${{ env.ARTIFACTS_KADAI_WEB_NAME }} | ||
path: ${{ env.ARTIFACTS_KADAI_WEB_PATH }} | ||
- name: Build frontend | ||
run: ./mvnw install -pl :taskana-web | ||
run: ./mvnw install -pl :kadai-web | ||
- name: Cypress tests | ||
working-directory: web | ||
run: | | ||
../mvnw -B spring-boot:run -P history.plugin -f .. -pl :taskana-rest-spring-example-boot &> /dev/null & | ||
../mvnw -B spring-boot:run -P history.plugin -f .. -pl :kadai-rest-spring-example-boot &> /dev/null & | ||
npx wait-port -t 30000 localhost:8080 && yarn run e2e-standalone --spec "cypress/integration/monitor/**" | ||
- name: Upload Cypress tests | ||
if: failure() | ||
|
@@ -243,58 +247,58 @@ jobs: | |
strategy: | ||
matrix: | ||
module: | ||
- taskana-common | ||
- taskana-common-security | ||
- taskana-common-data | ||
- taskana-common-logging | ||
- taskana-common-test | ||
- taskana-core | ||
- taskana-core-test | ||
- taskana-cdi | ||
- taskana-cdi-example | ||
- taskana-test-api | ||
- taskana-spring | ||
- taskana-spring-example | ||
- taskana-spi-routing-dmn-router | ||
- taskana-routing-rest | ||
- taskana-rest-spring | ||
- taskana-rest-spring-test-lib | ||
- taskana-rest-spring-example-common | ||
- taskana-loghistory-provider | ||
- taskana-simplehistory-provider | ||
- taskana-simplehistory-rest-spring | ||
- kadai-common | ||
- kadai-common-security | ||
- kadai-common-data | ||
- kadai-common-logging | ||
- kadai-common-test | ||
- kadai-core | ||
- kadai-core-test | ||
- kadai-cdi | ||
- kadai-cdi-example | ||
- kadai-test-api | ||
- kadai-spring | ||
- kadai-spring-example | ||
- kadai-spi-routing-dmn-router | ||
- kadai-routing-rest | ||
- kadai-rest-spring | ||
- kadai-rest-spring-test-lib | ||
- kadai-rest-spring-example-common | ||
- kadai-loghistory-provider | ||
- kadai-simplehistory-provider | ||
- kadai-simplehistory-rest-spring | ||
database: | ||
- H2 | ||
include: | ||
- module: taskana-core | ||
- module: kadai-core | ||
database: POSTGRES | ||
- module: taskana-core | ||
- module: kadai-core | ||
database: DB2 | ||
- module: taskana-core | ||
- module: kadai-core | ||
database: ORACLE | ||
- module: taskana-core-test | ||
- module: kadai-core-test | ||
database: POSTGRES | ||
- module: taskana-core-test | ||
- module: kadai-core-test | ||
database: DB2 | ||
- module: taskana-core-test | ||
- module: kadai-core-test | ||
database: ORACLE | ||
- module: taskana-test-api | ||
- module: kadai-test-api | ||
database: POSTGRES | ||
- module: taskana-test-api | ||
- module: kadai-test-api | ||
database: DB2 | ||
- module: taskana-test-api | ||
- module: kadai-test-api | ||
database: ORACLE | ||
- module: taskana-simplehistory-provider | ||
- module: kadai-simplehistory-provider | ||
database: DB2 | ||
- module: taskana-simplehistory-provider | ||
- module: kadai-simplehistory-provider | ||
database: POSTGRES | ||
- module: taskana-simplehistory-provider | ||
- module: kadai-simplehistory-provider | ||
database: ORACLE | ||
- module: taskana-rest-spring-example-boot | ||
- module: kadai-rest-spring-example-boot | ||
database: DB2 | ||
- module: taskana-rest-spring-example-boot | ||
- module: kadai-rest-spring-example-boot | ||
database: ORACLE | ||
- module: taskana-rest-spring-example-wildfly | ||
- module: kadai-rest-spring-example-wildfly | ||
database: POSTGRES | ||
steps: | ||
- name: Git checkout | ||
|
@@ -310,15 +314,17 @@ jobs: | |
path: ~/.m2 | ||
key: ${{ runner.os }}-${{ env.CACHE_MAVEN_NAME }}-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-${{ env.CACHE_MAVEN_NAME }} | ||
- name: Download taskana artifacts | ||
- name: Download kadai artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: ${{ env.ARTIFACTS_TASKANA_JARS_NAME }} | ||
path: ${{ env.ARTIFACTS_TASKANA_JARS_PATH }} | ||
name: ${{ env.ARTIFACTS_KADAI_JARS_NAME }} | ||
path: ${{ env.ARTIFACTS_KADAI_JARS_PATH }} | ||
- name: Check file permissions | ||
run: ls -l ci | ||
- name: Change versions to match tag | ||
run: | | ||
ci/change_version.sh -m . | ||
ci/update_taskana_dependency_for_wildfly.sh | ||
ci/update_kadai_dependency_for_wildfly.sh | ||
- name: Test | ||
run: ./mvnw -B verify -pl :${{matrix.module}} -Dcheckstyle.skip | ||
env: | ||
|
@@ -353,22 +359,22 @@ jobs: | |
path: ~/.m2 | ||
key: ${{ runner.os }}-${{ env.CACHE_MAVEN_NAME }}-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-${{ env.CACHE_MAVEN_NAME }} | ||
- name: Download taskana artifacts | ||
- name: Download kadai artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: ${{ env.ARTIFACTS_TASKANA_JARS_NAME }} | ||
path: ${{ env.ARTIFACTS_TASKANA_JARS_PATH }} | ||
- name: Download taskana-web dist artifact | ||
name: ${{ env.ARTIFACTS_KADAI_JARS_NAME }} | ||
path: ${{ env.ARTIFACTS_KADAI_JARS_PATH }} | ||
- name: Download kadai-web dist artifact | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: ${{ env.ARTIFACTS_TASKANA_WEB_NAME }} | ||
path: ${{ env.ARTIFACTS_TASKANA_WEB_PATH }} | ||
- name: Build taskana-web | ||
run: ./mvnw -B install -pl :taskana-web | ||
name: ${{ env.ARTIFACTS_KADAI_WEB_NAME }} | ||
path: ${{ env.ARTIFACTS_KADAI_WEB_PATH }} | ||
- name: Build kadai-web | ||
run: ./mvnw -B install -pl :kadai-web | ||
- name: Generate Javadoc | ||
run: ./mvnw -B clean javadoc:jar -pl :taskana-core,:taskana-cdi,:taskana-spring | ||
run: ./mvnw -B clean javadoc:jar -pl :kadai-core,:kadai-cdi,:kadai-spring | ||
- name: Build Example Application | ||
run: ./mvnw -B install -P history.plugin -pl :taskana-rest-spring-example-boot -DskipTests -Dcheckstyle.skip -Dmaven.javadoc.skip -Djacoco.skip | ||
run: ./mvnw -B install -P history.plugin -pl :kadai-rest-spring-example-boot -DskipTests -Dcheckstyle.skip -Dmaven.javadoc.skip -Djacoco.skip | ||
- name: Verify Example Application contains documentation | ||
run: ci/verify_docs_jar.sh | ||
- name: Login to Microsoft Azure | ||
|
@@ -379,7 +385,7 @@ jobs: | |
uses: Azure/webapps-deploy@v2 | ||
with: | ||
app-name: kadaiio | ||
package: rest/taskana-rest-spring-example-boot/target/taskana-rest-spring-example-boot.jar | ||
package: rest/kadai-rest-spring-example-boot/target/kadai-rest-spring-example-boot.jar | ||
- name: Wait for Azure for 60 seconds | ||
uses: jakejarvis/wait-action@master | ||
with: | ||
|
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 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="All in kadai-common-data" type="JUnit" factoryName="JUnit" folderName="common" | ||
nameIsGenerated="true"> | ||
<module name="kadai-common-data"/> | ||
<option name="PACKAGE_NAME" value=""/> | ||
<option name="MAIN_CLASS_NAME" value=""/> | ||
<option name="METHOD_NAME" value=""/> | ||
<option name="TEST_OBJECT" value="package"/> | ||
<method v="2"> | ||
<option name="Make" enabled="true"/> | ||
</method> | ||
</configuration> | ||
</component> |
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 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="All in kadai-common-logging" type="JUnit" factoryName="JUnit" | ||
folderName="common" nameIsGenerated="true"> | ||
<module name="kadai-common-logging"/> | ||
<option name="PACKAGE_NAME" value=""/> | ||
<option name="MAIN_CLASS_NAME" value=""/> | ||
<option name="METHOD_NAME" value=""/> | ||
<option name="TEST_OBJECT" value="package"/> | ||
<method v="2"> | ||
<option name="Make" enabled="true"/> | ||
</method> | ||
</configuration> | ||
</component> |
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 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="All in kadai-common-test" type="JUnit" factoryName="JUnit" folderName="common" | ||
nameIsGenerated="true"> | ||
<module name="kadai-common-test"/> | ||
<option name="PACKAGE_NAME" value=""/> | ||
<option name="MAIN_CLASS_NAME" value=""/> | ||
<option name="METHOD_NAME" value=""/> | ||
<option name="TEST_OBJECT" value="package"/> | ||
<method v="2"> | ||
<option name="Make" enabled="true"/> | ||
</method> | ||
</configuration> | ||
</component> |
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 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="All in kadai-common" type="JUnit" factoryName="JUnit" folderName="common" | ||
nameIsGenerated="true"> | ||
<module name="kadai-common"/> | ||
<option name="PACKAGE_NAME" value=""/> | ||
<option name="MAIN_CLASS_NAME" value=""/> | ||
<option name="METHOD_NAME" value=""/> | ||
<option name="TEST_OBJECT" value="package"/> | ||
<method v="2"> | ||
<option name="Make" enabled="true"/> | ||
</method> | ||
</configuration> | ||
</component> |
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,15 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="All in kadai-core DB2" type="JUnit" factoryName="JUnit" folderName="lib"> | ||
<module name="kadai-core"/> | ||
<option name="PACKAGE_NAME" value=""/> | ||
<option name="MAIN_CLASS_NAME" value=""/> | ||
<option name="METHOD_NAME" value=""/> | ||
<option name="TEST_OBJECT" value="package"/> | ||
<envs> | ||
<env name="DB" value="DB2"/> | ||
</envs> | ||
<method v="2"> | ||
<option name="Make" enabled="true"/> | ||
</method> | ||
</configuration> | ||
</component> |
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,12 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="All in kadai-core H2" type="JUnit" factoryName="JUnit" folderName="lib"> | ||
<module name="kadai-core"/> | ||
<option name="PACKAGE_NAME" value=""/> | ||
<option name="MAIN_CLASS_NAME" value=""/> | ||
<option name="METHOD_NAME" value=""/> | ||
<option name="TEST_OBJECT" value="package"/> | ||
<method v="2"> | ||
<option name="Make" enabled="true"/> | ||
</method> | ||
</configuration> | ||
</component> |
Oops, something went wrong.