diff --git a/.github/workflows/maven_run_test.yml b/.github/workflows/maven_run_test.yml index 3da66b4aa..16b04c349 100644 --- a/.github/workflows/maven_run_test.yml +++ b/.github/workflows/maven_run_test.yml @@ -34,17 +34,8 @@ jobs: java-version: '17' distribution: 'adopt' cache: maven - - name: Start environment - run: docker compose --project-directory ./ci up -d --wait - - name: Install BaSyx - run: mvn clean install - - name: Stop environment - if: always() - run: docker compose --project-directory ./ci down - name: Build and remove Docker images run: | - mvn package -DskipTests -Ddocker.namespace=test --pl "org.eclipse.digitaltwin.basyx:basyx.submodelservice.example" - docker rmi -f $(docker images -aq) mvn package -DskipTests -Ddocker.namespace=test --pl "org.eclipse.digitaltwin.basyx:basyx.submodelrepository.component" docker rmi -f $(docker images -aq) mvn package -DskipTests -Ddocker.namespace=test --pl "org.eclipse.digitaltwin.basyx:basyx.aasrepository.component" @@ -71,3 +62,10 @@ jobs: mvn package -DskipTests -Ddocker.namespace=test --pl "org.eclipse.digitaltwin.basyx:basyx.submodelregistry-service-release-log-mem" docker rmi -f $(docker images -aq) mvn package -DskipTests -Ddocker.namespace=test --pl "org.eclipse.digitaltwin.basyx:basyx.submodelregistry-service-release-log-mongodb" + - name: Start environment + run: docker compose --project-directory ./ci up -d --wait + - name: Install BaSyx + run: mvn clean install + - name: Stop environment + if: always() + run: docker compose --project-directory ./ci down diff --git a/basyx.aasenvironment/basyx.aasenvironment.benchmark/pom.xml b/basyx.aasenvironment/basyx.aasenvironment.benchmark/pom.xml new file mode 100644 index 000000000..71d2b2911 --- /dev/null +++ b/basyx.aasenvironment/basyx.aasenvironment.benchmark/pom.xml @@ -0,0 +1,113 @@ + + + 4.0.0 + + org.eclipse.digitaltwin.basyx + basyx.aasenvironment + ${revision} + + + basyx.aasenvironment.benchmark + + + org.eclipse.digitaltwin.basyx + basyx.aasrepository.component + tests + test + + + org.eclipse.digitaltwin.basyx + basyx.aasrepository-tck + tests + test + + + org.eclipse.digitaltwin.basyx + basyx.submodelrepository.component + tests + test + + + org.eclipse.digitaltwin.basyx + basyx.submodelrepository-tck + tests + test + + + org.eclipse.digitaltwin.basyx + basyx.conceptdescriptionrepository-tck + tests + test + + + org.eclipse.digitaltwin.basyx + basyx.mongodbcore + test + + + org.eclipse.digitaltwin.basyx + basyx.conceptdescriptionrepository.component + tests + test + + + org.eclipse.digitaltwin.basyx + basyx.aasenvironment-core + + + org.eclipse.digitaltwin.basyx + basyx.aasenvironment-http + + + org.eclipse.digitaltwin.basyx + basyx.aasenvironment-feature-authorization + + + org.eclipse.digitaltwin.basyx + basyx.http + + + org.eclipse.digitaltwin.basyx + basyx.submodelservice-core + tests + test + + + org.eclipse.digitaltwin.basyx + basyx.http + tests + test + + + org.eclipse.digitaltwin.basyx + basyx.mongodbcore + + + org.springframework.boot + spring-boot-starter-actuator + + + org.eclipse.digitaltwin.aas4j + aas4j-dataformat-xml + + + org.eclipse.digitaltwin.aas4j + aas4j-dataformat-aasx + + + org.xmlunit + xmlunit-core + + + org.xmlunit + xmlunit-matchers + + + org.apache.httpcomponents.client5 + httpclient5 + test + + + \ No newline at end of file diff --git a/basyx.aasenvironment/basyx.aasenvironment.benchmark/src/main/resources/application-MongoDB.properties b/basyx.aasenvironment/basyx.aasenvironment.benchmark/src/main/resources/application-MongoDB.properties new file mode 100644 index 000000000..e69de29bb diff --git a/pom.xml b/pom.xml index f47392382..0e21ce9c4 100644 --- a/pom.xml +++ b/pom.xml @@ -94,53 +94,6 @@ - - org.eclipse.dash - license-tool-plugin - 1.1.1-SNAPSHOT - - - license-check - - license-check - - - - - - - org.codehaus.mojo - flatten-maven-plugin - 1.5.0 - - true - - - - - - - - - - - - flatten - process-resources - - flatten - - - - - flatten.clean - clean - - clean - - - - org.apache.maven.plugins maven-compiler-plugin @@ -177,18 +130,6 @@ - - org.apache.maven.plugins - maven-javadoc-plugin - - - attach-javadocs - - jar - - - - @@ -314,6 +255,40 @@ + + + org.codehaus.mojo + flatten-maven-plugin + 1.5.0 + + true + + + + + + + + + + + + flatten + process-resources + + flatten + + + + + flatten.clean + clean + + clean + + + + @@ -660,6 +635,11 @@ basyx.aasenvironment-client ${revision} + + org.eclipse.digitaltwin.basyx + basyx.aasenvironment.benchmark + ${revision} + org.eclipse.digitaltwin.basyx @@ -1301,5 +1281,37 @@ + + some-things + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + + jar + + + + + + org.eclipse.dash + license-tool-plugin + 1.1.1-SNAPSHOT + + + license-check + + license-check + + + + + + +