From e6116e4e2b0e4937c875b8b8a05e42d6421ae68f Mon Sep 17 00:00:00 2001 From: sebdet Date: Mon, 24 Aug 2020 21:42:01 +0200 Subject: Add sdc startup in IT Add profile to start/stop SDC and execute the tests independently Issue-ID: SDC-3232 Signed-off-by: sebdet Change-Id: I505c4c3dc5476bf9d30fbbcc63c88a80514c8646 --- integration-tests/pom.xml | 2 - pom.xml | 1328 ++++++++++++++++++++++----------------------- 2 files changed, 663 insertions(+), 667 deletions(-) diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml index fe5a09f989..6906e400bd 100644 --- a/integration-tests/pom.xml +++ b/integration-tests/pom.xml @@ -203,7 +203,6 @@ limitations under the License. maven-antrun-plugin 1.8 - false pre-integration-test @@ -222,7 +221,6 @@ limitations under the License. org.codehaus.mojo build-helper-maven-plugin - false reserve-port-for-tests diff --git a/pom.xml b/pom.xml index 656e7fc117..1eb531c843 100644 --- a/pom.xml +++ b/pom.xml @@ -20,672 +20,670 @@ Modifications copyright (c) 2018-2019 Nokia ================================================================================ --> - 4.0.0 - - org.openecomp.sdc - sdc-main - 1.7.0-SNAPSHOT - pom - sdc - - - org.onap.oparent - oparent - 2.0.0 - - - - - UTF-8 - - ${project.version} - - - 0.11 - 3.10 - 18.0 - 0.3.1 - 4.3.18.RELEASE - 2.27 - 4.1.36.Final - 3.1.0 - 2.26.3 - 2.6.0 - 4.3.1.0 - 2.1.8 - 1.18.12 - 1.9.3 - 2.3 - 4.1.0 - 1.6.1 - - 4.1 - 2.1 - - 9.4.18.v20190429 - - - 2.10.0 - ${jackson.version} - 1.9.13 - 2.1.1 - false - - - 1.14 - 4.7 - 4.5.3 - 4.4.1 - 1.1 - - - - 1.2.3 - 1.7.25 - 1.10 - 1.2 - 3.0.6 - 2.13.1 - - - 0.20.1 - 1.8.4 - 1.7.4 - 0.13.2 - - - - 1.6.4 - - 3.0.3 - - - 2.3.1 - - - 1.1 - - - 3.3.3 - 3.3.3 - 1.35 - 4.12 - 1.6.0 - 5.6.0 - 3.16.0 - 6.14.3 - 5.6.0 - 0.11 - 2.1 - 1.3 - 2.22.2 - 2.4 - - - 1.6.5 - - - ${project.version} - ${project.basedir}/node/node - ${project.build.directory}/surefire-reports - - ${project.build.directory}/code-coverage/lcov.info - - - ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml - - ${project.build.sourceEncoding} - ${project.basedir} - pom.xml,src/test - - 3.8.0 - - nexus - nexus - - - https://nexus3.onap.org/repository/npm.public/ - https://nexus.onap.org - /content/sites/site/org/openecomp/sdc/${project.version} - 176c31dfe190a - - yyyyMMdd'T'HHmmss'Z' - - ${project.version}-${maven.build.timestamp} - - 2.4.1.Final - - 2.9.9 - - - 1.6.0 - - 0.8.5 - - 4.5.1 - - true - - - - - - com.google.guava - guava - ${guava.version} - - - - org.glassfish.jersey.ext - jersey-bean-validation - ${jersey-bom.version} - - - - org.glassfish.hk2.external - asm-all-repackaged - 2.4.0 - - - - org.assertj - assertj-core - ${assertj.version} - - - - org.jmockit - jmockit - ${jmockit.version} - - - - com.github.tomakehurst - wiremock-standalone - ${wire-mock.version} - - - - io.cucumber - cucumber-java - ${cucumber.version} - - - - io.cucumber - cucumber-junit - ${cucumber.version} - - - - org.apache.commons - commons-lang3 - ${lang3.version} - - - org.codehaus.groovy - groovy - 2.4.13 - - - io.netty - netty-all - ${netty.version} - - - io.netty - netty-handler - ${netty.version} - - - - - - - - org.jacoco - org.jacoco.agent - runtime - ${jacoco.version} - test - - - - org.junit.jupiter - junit-jupiter-engine - ${junitJupiter.version} - test - - - - org.junit.vintage - junit-vintage-engine - ${junitJupiter.version} - test - - - - org.mockito - mockito-core - ${mockito.version} - test - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.0.1 - - false - org.umlgraph.doclet.UmlGraphDoc - - org.umlgraph - umlgraph - 5.6 - - true - - - - - - - - - - org.jacoco - jacoco-maven-plugin - ${jacoco.version} - - - org.apache.maven.plugins - maven-assembly-plugin - 3.1.0 - - posix - - - - - org.codehaus.mojo - exec-maven-plugin - 1.6.0 - - - org.sonarsource.scanner.maven - sonar-maven-plugin - 3.7.0.1746 - - - org.apache.maven.plugins - maven-clean-plugin - 3.1.0 - - - ru.yaal.maven - write-text-files-maven-plugin - 1.1 - - - org.codehaus.gmaven - gmaven-plugin - 1.5 - - - org.codehaus.mojo - build-helper-maven-plugin - 3.2.0 - - - org.apache.maven.plugins - maven-deploy-plugin - 2.8.2 - - - org.apache.maven.plugins - maven-shade-plugin - 3.1.1 - - - org.apache.maven.plugins - maven-resources-plugin - 3.2.0 - - - io.fabric8 - docker-maven-plugin - 0.31.0 - - - org.apache.maven.plugins - maven-war-plugin - 3.2.2 - - - com.github.eirslett - frontend-maven-plugin - 1.8.0 - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - org.apache.maven.plugins - maven-failsafe-plugin - ${maven-surefire-plugin.version} - - - org.apache.maven.plugins - maven-compiler-plugin - 3.8.0 - - - com.github.sylvainlaurent.maven - yaml-json-validator-maven-plugin - 1.0.2 - - - pl.project13.maven - git-commit-id-plugin - 4.0.0 - - - - - - - maven-checkstyle-plugin - 2.17 - - checkstyle-suppressions.xml - checkstyle.suppressions.file - ${checkstyle.skip} - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - parse-version - pre-clean - - parse-version - - - - - - - - org.jacoco - jacoco-maven-plugin - false - - - default-instrument - - instrument - - - - default-restore-instrumented-classes - - restore-instrumented-classes - - - - default-report - - report - - - ${project.build.directory}/jacoco.exec - - - - - - - org.apache.maven.plugins - maven-site-plugin - 3.7.1 - - - org.apache.maven.wagon - wagon-webdav-jackrabbit - 3.0.0 - - - - - - - org.codehaus.gmaven - gmaven-plugin - - - false - integration-test - - execute - - - - pom.properties['deploy.url'] = - pom.version.contains('-SNAPSHOT') ? - project.distributionManagement.snapshotRepository.url : - project.distributionManagement.repository.url; - pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ? - project.distributionManagement.snapshotRepository.id : - project.distributionManagement.repository.id; - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-surefire-plugin + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 + + org.openecomp.sdc + sdc-main + 1.7.0-SNAPSHOT + pom + sdc + + + org.onap.oparent + oparent + 2.0.0 + + + + + UTF-8 + + ${project.version} + + + 0.11 + 3.10 + 18.0 + 0.3.1 + 4.3.18.RELEASE + 2.27 + 4.1.36.Final + 3.1.0 + 2.26.3 + 2.6.0 + 4.3.1.0 + 2.1.8 + 1.18.12 + 1.9.3 + 2.3 + 4.1.0 + 1.6.1 + + 4.1 + 2.1 + + 9.4.18.v20190429 + + + 2.10.0 + ${jackson.version} + 1.9.13 + 2.1.1 + false + + + 1.14 + 4.7 + 4.5.3 + 4.4.1 + 1.1 + + + + 1.2.3 + 1.7.25 + 1.10 + 1.2 + 3.0.6 + 2.13.1 + + + 0.20.1 + 1.8.4 + 1.7.4 + 0.13.2 + + + + 1.6.4 + + 3.0.3 + + + 2.3.1 + + + 1.1 + + + 3.3.3 + 3.3.3 + 1.35 + 4.12 + 1.6.0 + 5.6.0 + 3.16.0 + 6.14.3 + 5.6.0 + 0.11 + 2.1 + 1.3 + 2.22.2 + 2.4 + + + 1.6.5 + + + ${project.version} + ${project.basedir}/node/node + ${project.build.directory}/surefire-reports + + ${project.build.directory}/code-coverage/lcov.info + + + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml + + ${project.build.sourceEncoding} + ${project.basedir} + pom.xml,src/test + + 3.8.0 + + nexus + nexus + + + https://nexus3.onap.org/repository/npm.public/ + https://nexus.onap.org + /content/sites/site/org/openecomp/sdc/${project.version} + 176c31dfe190a + + yyyyMMdd'T'HHmmss'Z' + + ${project.version}-${maven.build.timestamp} + + 2.4.1.Final + + 2.9.9 + + + 1.6.0 + + 0.8.5 + + 4.5.1 + + + - - org.apache.maven.surefire - surefire-junit-platform - ${maven-surefire-plugin.version} - + + com.google.guava + guava + ${guava.version} + + + + org.glassfish.jersey.ext + jersey-bean-validation + ${jersey-bom.version} + + + + org.glassfish.hk2.external + asm-all-repackaged + 2.4.0 + + + + org.assertj + assertj-core + ${assertj.version} + + + + org.jmockit + jmockit + ${jmockit.version} + + + + com.github.tomakehurst + wiremock-standalone + ${wire-mock.version} + + + + io.cucumber + cucumber-java + ${cucumber.version} + + + + io.cucumber + cucumber-junit + ${cucumber.version} + + + + org.apache.commons + commons-lang3 + ${lang3.version} + + + org.codehaus.groovy + groovy + 2.4.13 + + + io.netty + netty-all + ${netty.version} + + + io.netty + netty-handler + ${netty.version} + - - false - - ${project.build.directory}/jacoco.exec - - - - - pl.project13.maven - git-commit-id-plugin - - - - revision - - - - - true - ${project.build.outputDirectory}/META-INF/git.properties - - true - false - - git.build.version - git.build.time - git.commit.id - git.commit.time - git.commit.user.name - git.commit.user.email - git.commit.message.short - git.commit.message.full - - - true - - false - - - - - - - - all - - true - - - onboarding - common-app-logging - common-app-api - common-be - catalog-dao - catalog-model - catalog-be - asdctool - catalog-ui - catalog-fe - - - sdc-os-chef - utils/webseal-simulator - integration-tests - - - - - catalog - - false - - - common-app-logging - common-app-api - common-be - catalog-dao - catalog-model - catalog-be - asdctool - catalog-ui - catalog-fe - test-apis-ci - ui-ci - - - - - catalog-be - - false - - - common-app-logging - common-app-api - common-be - catalog-dao - catalog-model - catalog-be - - - - - onboarding - - false - - - onboarding - - - - fast-build - - false - - - true - true - true - true - - - ui-ci - asdctool - common-be - onboarding - catalog-be - catalog-ui - catalog-fe - catalog-dao - sdc-os-chef - test-apis-ci - catalog-model - common-app-api - common-app-logging - - - - - - - - - ecomp-releases - Release Repository - ${nexus.proxy}/content/repositories/releases/ - - - ecomp-snapshots - Snapshots Repository - ${nexus.proxy}/content/repositories/snapshots/ - - - ecomp-public - Public Repository - ${nexus.proxy}/content/repositories/public/ - - - - - - - ecomp-releases - Release Repository - ${nexus.proxy}/content/repositories/releases/ - - - ecomp-snapshots - Snapshot Repository - ${nexus.proxy}/content/repositories/snapshots/ - - - ecomp-site - dav:${nexus.proxy}${sitePath} - - + + + + + + org.jacoco + org.jacoco.agent + runtime + ${jacoco.version} + test + + + + org.junit.jupiter + junit-jupiter-engine + ${junitJupiter.version} + test + + + + org.junit.vintage + junit-vintage-engine + ${junitJupiter.version} + test + + + + org.mockito + mockito-core + ${mockito.version} + test + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.0.1 + + false + org.umlgraph.doclet.UmlGraphDoc + + org.umlgraph + umlgraph + 5.6 + + true + + + + + + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + org.apache.maven.plugins + maven-assembly-plugin + 3.1.0 + + posix + + + + + org.codehaus.mojo + exec-maven-plugin + 1.6.0 + + + org.sonarsource.scanner.maven + sonar-maven-plugin + 3.7.0.1746 + + + org.apache.maven.plugins + maven-clean-plugin + 3.1.0 + + + ru.yaal.maven + write-text-files-maven-plugin + 1.1 + + + org.codehaus.gmaven + gmaven-plugin + 1.5 + + + org.codehaus.mojo + build-helper-maven-plugin + 3.2.0 + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8.2 + + + org.apache.maven.plugins + maven-shade-plugin + 3.1.1 + + + org.apache.maven.plugins + maven-resources-plugin + 3.2.0 + + + io.fabric8 + docker-maven-plugin + 0.31.0 + + + org.apache.maven.plugins + maven-war-plugin + 3.2.2 + + + com.github.eirslett + frontend-maven-plugin + 1.8.0 + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + org.apache.maven.plugins + maven-failsafe-plugin + ${maven-surefire-plugin.version} + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.0 + + + com.github.sylvainlaurent.maven + yaml-json-validator-maven-plugin + 1.0.2 + + + pl.project13.maven + git-commit-id-plugin + 4.0.0 + + + + + + + maven-checkstyle-plugin + 2.17 + + checkstyle-suppressions.xml + checkstyle.suppressions.file + ${checkstyle.skip} + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + parse-version + pre-clean + + parse-version + + + + + + + + org.jacoco + jacoco-maven-plugin + false + + + default-instrument + + instrument + + + + default-restore-instrumented-classes + + restore-instrumented-classes + + + + default-report + + report + + + ${project.build.directory}/jacoco.exec + + + + + + + org.apache.maven.plugins + maven-site-plugin + 3.7.1 + + + org.apache.maven.wagon + wagon-webdav-jackrabbit + 3.0.0 + + + + + + + org.codehaus.gmaven + gmaven-plugin + + + false + integration-test + + execute + + + + pom.properties['deploy.url'] = + pom.version.contains('-SNAPSHOT') ? + project.distributionManagement.snapshotRepository.url : + project.distributionManagement.repository.url; + pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ? + project.distributionManagement.snapshotRepository.id : + project.distributionManagement.repository.id; + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.8 + 1.8 + + + + org.apache.maven.plugins + maven-surefire-plugin + + + org.apache.maven.surefire + surefire-junit-platform + ${maven-surefire-plugin.version} + + + + false + + ${project.build.directory}/jacoco.exec + + + + + pl.project13.maven + git-commit-id-plugin + + + + revision + + + + + true + ${project.build.outputDirectory}/META-INF/git.properties + + true + false + + git.build.version + git.build.time + git.commit.id + git.commit.time + git.commit.user.name + git.commit.user.email + git.commit.message.short + git.commit.message.full + + + true + + false + + + + + + + + all + + true + + + true + + + onboarding + common-app-logging + common-app-api + common-be + catalog-dao + catalog-model + catalog-be + asdctool + catalog-ui + catalog-fe + sdc-os-chef + utils/webseal-simulator + integration-tests + + + + fast-build + + false + + + true + true + true + true + + + onboarding + common-app-logging + common-app-api + common-be + catalog-dao + catalog-model + catalog-be + asdctool + catalog-ui + catalog-fe + sdc-os-chef + utils/webseal-simulator + + + + start-sdc + + false + + + true + true + true + true + + + integration-tests + + + + stop-sdc + + false + + + true + true + true + true + true + + + integration-tests + + + + run-integration-tests + + false + + + true + true + true + + + integration-tests + + + + + + + + + ecomp-releases + Release Repository + ${nexus.proxy}/content/repositories/releases/ + + + ecomp-snapshots + Snapshots Repository + ${nexus.proxy}/content/repositories/snapshots/ + + + ecomp-public + Public Repository + ${nexus.proxy}/content/repositories/public/ + + + + + + + ecomp-releases + Release Repository + ${nexus.proxy}/content/repositories/releases/ + + + ecomp-snapshots + Snapshot Repository + ${nexus.proxy}/content/repositories/snapshots/ + + + ecomp-site + dav:${nexus.proxy}${sitePath} + + -- cgit 1.2.3-korg