X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=integration-tests%2Fpom.xml;h=801e21527f1bae6bdd4decdf74fd466536bfc4b8;hb=e5ce5b1b72e9421ba4bb772c41215e837f7517dd;hp=41568eeec27e52f788465cb76e2ee21f3d2a39ef;hpb=1979c9210c65ba4908adbd2a3e5195f49c13bc7d;p=sdc.git diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml index 41568eeec2..801e21527f 100644 --- a/integration-tests/pom.xml +++ b/integration-tests/pom.xml @@ -3,7 +3,7 @@ SDC ================================================================================ Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. -Modifications copyright (c) 2020 Nokia +Modifications copyright (c) 2020-2021 Nokia ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,8 +21,8 @@ limitations under the License. --> + 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 sdc-integration-tests @@ -32,12 +32,12 @@ limitations under the License. org.openecomp.sdc sdc-main - 1.8.3-SNAPSHOT + 1.13.3-SNAPSHOT 3.141.59 - 0.27.0 + 0.33.0 integration-test 9042 @@ -50,10 +50,14 @@ limitations under the License. ${project.build.directory}/plugins/sdc-be /tmp/sdc-integration-tests latest - 2.53.1 + 86.0 + true + true + 1.3.1 - 1.6.5 + 1.8.0 + false @@ -75,18 +79,6 @@ limitations under the License. ${hamcrest.version} test - - junit - junit - ${junit.version} - test - - - org.hamcrest - hamcrest-core - - - org.testng testng @@ -104,25 +96,71 @@ limitations under the License. catalog-model ${project.version} test + + + org.eclipse.jetty + jetty-server + + + org.eclipse.jetty + jetty-servlet + + org.openecomp.sdc.be catalog-dao ${project.version} test + + + org.eclipse.jetty + jetty-server + + + org.eclipse.jetty + jetty-servlet + + org.openecomp.sdc openecomp-sdc-vendor-software-product-manager ${project.version} test + + + org.springframework + spring-core + + com.aventstack extentreports 3.0.6 test + + + org.jsoup + jsoup + + + org.apache.httpcomponents + httpmime + + + org.mongodb + mongodb-driver + + + + org.mongodb + mongodb-driver + 3.12.10 + + org.janusgraph janusgraph-core @@ -130,8 +168,12 @@ limitations under the License. test + org.apache.tinkerpop gremlin-groovy + + org.apache.tinkerpop + gremlin-core slf4j-log4j12 @@ -149,6 +191,22 @@ limitations under the License. org.apache.thrift libthrift + + org.apache.commons + commons-text + + + commons-codec + commons-codec + + + dom4j + dom4j + + + org.slf4j + jcl-over-slf4j + @@ -157,6 +215,12 @@ limitations under the License. ${assertj.version} test + + org.apache.commons + commons-text + ${apache-commons-text.version} + test + com.clearspring.analytics stream @@ -164,10 +228,20 @@ limitations under the License. test - org.apache.httpcomponents - httpclient + org.apache.httpcomponents.client5 + httpclient5 ${httpclient.version} test + + + commons-codec + commons-codec + + + org.apache.httpcomponents + httpcore + + org.apache.httpcomponents @@ -207,23 +281,50 @@ limitations under the License. + + com.squareup.okhttp3 + okhttp + ${okhttp.version} + org.seleniumhq.selenium selenium-java test ${selenium.version} + + + com.squareup.okhttp3 + okhttp + + org.seleniumhq.selenium selenium-server - 4.0.0-alpha-2 + ${selenium.version} test + + + javax.servlet + javax.servlet-api + + + com.squareup.okhttp3 + okhttp + + org.seleniumhq.selenium selenium-firefox-driver ${selenium.version} test + + + com.squareup.okhttp3 + okhttp + + @@ -238,6 +339,14 @@ limitations under the License. com.fasterxml.jackson.core jackson-core + + org.slf4j + jcl-over-slf4j + + + org.bouncycastle + * + @@ -251,6 +360,16 @@ limitations under the License. proxy-vole 1.0.2 test + + + net.java.dev.jna + jna + + + net.java.dev.jna + jna-platform + + commons-net @@ -259,9 +378,47 @@ limitations under the License. test - org.apache.logging.log4j - log4j-api - 2.13.1 + org.springframework + spring-core + ${spring.version} + test + + + org.onap.portal.sdk + epsdk-fw + ${ecomp.version} + test + + + log4j + log4j + + + org.owasp.esapi + esapi + + + javax.servlet + javax.servlet-api + + + org.onap.aaf.authz + aaf-cadi-aaf + + + org.onap.aaf.authz + aaf-cadi-client + + + org.onap.aaf.authz + aaf-cadi-core + + + + + org.functionaljava + functionaljava + ${functionaljava.version} test @@ -286,6 +443,12 @@ limitations under the License. true integration-test.json + + + + environments + false + plugins-configuration.yaml @@ -302,10 +465,79 @@ limitations under the License. ${it.sdc-be.plugins} - ../catalog-be-plugins/etsi-nfv-nsd-csar-plugin/target + + ../catalog-be-plugins/etsi-nfv-nsd-csar-plugin/target + false - etsi-nfv-nsd-csar-plugin-${project.version}.jar + etsi-nfv-nsd-csar-plugin-${project.version}.jar + + + + + + + + copy-normatives + pre-integration-test + + copy-resources + + + + integration-tests-init/chef-repo/cookbooks/sdc-integration-tests-setup/files/default + + + + ${project.build.directory} + + normatives.tar.gz + + + + + + + copy-sdc-be-py + pre-integration-test + + copy-resources + + + + integration-tests-init/ + + + + + ${project.parent.basedir}/catalog-be/src/main/resources/ + + + scripts/sdcBePy/** + scripts/setup.py + + + + + + + copy-be-configuration + pre-integration-test + + copy-resources + + + true + + integration-tests-init/ + + + + + ${project.parent.basedir}/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/ + + + BE-configuration.yaml.erb @@ -335,8 +567,9 @@ limitations under the License. + org.apache.maven.plugins maven-antrun-plugin - 1.8 + ${maven-antrun-plugin.version} set-folder-permission @@ -346,7 +579,9 @@ limitations under the License. - + @@ -358,15 +593,31 @@ limitations under the License. pre-integration-test - - + + run + + add-test-model-to-config + pre-integration-test + + run + + + + + + + + + @@ -387,23 +638,71 @@ limitations under the License. + + org.apache.maven.plugins + maven-assembly-plugin + ${mvn.assembly.version} + + + normatives + prepare-package + + single + + + normatives + false + + src/main/assembly/normatives.xml + + + + + + + org.apache.maven.plugins + maven-clean-plugin + + + clean.test.folder + clean + + clean + + + + + + integration-tests-init/chef-repo/cookbooks/sdc-integration-tests-setup/files/default + + false + + normatives.tar.gz + + + + + + + io.fabric8 docker-maven-plugin - org.apache.httpcomponents - httpclient - 4.5.5 + org.apache.httpcomponents.client5 + httpclient5 + ${httpclient.version} - true + ${verbose} ${docker.api.version} true + true - onap/sdc-cassandra:${it.docker.version} + ${docker.namespace}/sdc-cassandra:${it.docker.version} sdc-cassandra @@ -416,7 +715,8 @@ limitations under the License. sdc-cs - ${it.chef.config}:/root/chef-solo/environments + ${it.chef.config}:/root/chef-solo/environments + @@ -452,7 +752,7 @@ limitations under the License. - onap/sdc-cassandra-init:${it.docker.version} + ${docker.namespace}/sdc-cassandra-init:${it.docker.version} sdc-cassandra-init @@ -468,7 +768,9 @@ limitations under the License. sdc-cs-init - ${it.chef.config}:/home/sdc/chef-solo/environments + ${it.chef.config}:/home/sdc/chef-solo/environments + + @@ -483,11 +785,11 @@ limitations under the License. - onap/sdc-onboard-cassandra-init:${it.docker.version} + ${docker.namespace}/sdc-onboard-cassandra-init:${it.docker.version} sdc-cassandra-onboard-init - sdc-cassandra + sdc-cassandra-init ${project.version} @@ -501,12 +803,13 @@ limitations under the License. sdc-cs-onboard-init - ${it.chef.config}:/home/sdc/chef-solo/environments + ${it.chef.config}:/home/sdc/chef-solo/environments + - Initializing onboard schemas + Onboarding init was successful custom @@ -516,28 +819,32 @@ limitations under the License. - onap/sdc-onboard-backend:${it.docker.version} + ${docker.namespace}/sdc-onboard-backend:${it.docker.version} sdc-onboard-backend sdc-cassandra-onboard-init - ${it.cassandra.ssl.enabled} + ${it.cassandra.ssl.enabled} + ${it.sdc.cluster.name} ${it.sdc.user} ${it.sdc.password} ${it.env.name} onap/cert - -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4001 -Xmx1g -Xms1g + + -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4001 + -Xmx1g -Xms1g + sdc-onboard-BE - ${it.chef.config}:/var/lib/jetty/chef-solo/environments - ${project.basedir}/src/test/resources/cert/onboarding-be:/var/lib/jetty/onap/cert + ${it.chef.config}:/app/jetty/chef-solo/environments + ${project.basedir}/src/test/resources/cert/onboarding-be:/app/jetty/onap/cert - ${it.shared.volume}:/var/lib/jetty/logs + ${it.shared.volume}:/app/jetty/logs @@ -565,26 +872,34 @@ limitations under the License. - onap/sdc-backend-all-plugins:${it.docker.version} + ${docker.namespace}/sdc-backend-all-plugins:${it.docker.version} sdc-backend sdc-cassandra-init - ${it.cassandra.ssl.enabled} + ${it.cassandra.ssl.enabled} + ${it.env.name} - -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4000 - -Xmx1536m -Xms1536m + + -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4000 + -Xmx1536m -Xms1536m + onap/cert nsdCert sdc-BE - ${it.chef.config}:/var/lib/jetty/chef-solo/environments - ${it.shared.volume}:/var/lib/jetty/logs - ${project.basedir}/src/test/resources/cert/catalog-be:/var/lib/jetty/onap/cert + + ${project.basedir}/integration-tests-init/BE-configuration.yaml.erb:/app/jetty/chef-solo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb + + ${it.chef.config}:/app/jetty/chef-solo/environments + ${it.shared.volume}:/app/jetty/logs + + ${project.basedir}/src/test/resources/cert/catalog-be:/app/jetty/onap/cert + @@ -612,7 +927,7 @@ limitations under the License. - onap/sdc-backend-init:${it.docker.version} + ${docker.namespace}/sdc-backend-init:${it.docker.version} sdc-backend-init @@ -624,8 +939,10 @@ limitations under the License. sdc-BE-init - ${it.chef.config}:/home/onap/chef-solo/environments - ${it.shared.volume}:/var/lib/jetty/logs + + ${it.chef.config}:/home/onap/chef-solo/environments + + ${it.shared.volume}:/home/onap/logs @@ -640,22 +957,25 @@ limitations under the License. - onap/sdc-frontend:${it.docker.version} + ${docker.namespace}/sdc-frontend:${it.docker.version} sdc-frontend ${it.env.name} - -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:6000 - -Xmx256m -Xms256m + + -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:6000 + -Xmx256m -Xms256m + sdc-FE - ${it.chef.config}:/var/lib/jetty/chef-solo/environments - ${it.shared.volume}:/var/lib/jetty/logs + ${it.chef.config}:/app/jetty/chef-solo/environments + ${it.shared.volume}:/app/jetty/logs - ${it.chef.config}/plugins-configuration.yaml:/var/lib/jetty/config/catalog-fe/plugins-configuration.yaml + ${it.chef.config}/plugins-configuration.yaml:/app/jetty/config/catalog-fe/plugins-configuration.yaml + @@ -683,12 +1003,9 @@ limitations under the License. - onap/sdc-simulator:${it.docker.version} + ${docker.namespace}/sdc-simulator:${it.docker.version} sdc-simulator - - sdc-frontend - -Xmx128m -Xms128m -Xss1m @@ -697,7 +1014,8 @@ limitations under the License. sdc-sim - ${it.chef.config}:/root/chef-solo/environments + ${it.chef.config}:/app/jetty/chef-solo/environments + ${it.shared.volume}:/app/jetty/logs @@ -708,6 +1026,7 @@ limitations under the License. 8080 8443 + 5000 @@ -715,6 +1034,7 @@ limitations under the License. 8285:8080 8286:8443 + 5000:5000 custom @@ -723,7 +1043,6 @@ limitations under the License. - selenium/standalone-firefox:${it.ui.firefox.version} firefox-standalone @@ -740,12 +1059,10 @@ limitations under the License. - - -debug -Xmx512m 1920 @@ -770,9 +1087,86 @@ limitations under the License. + + ${docker.namespace}/sdc-helm-validator:${it.helm-validator.version} + helm-validator + + ${it.helm-validator.disabled} + helm-validator + + + + helm-validator + direct + + 8080 + + + + + 8085:8080 + + + custom + sdc-network + helm-validator + + + + + ${docker.namespace}/sdc-integration-tests-init + integration-tests-init + + ${it.test-model.disabled} + try + ${project.basedir}/integration-tests-init + + latest + + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest + + + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp} + + + + + ${it.test-model.disabled} + + sdc-backend-init + + + ${it.env.name} + + integration-tests-init + + + + ${it.chef.config}:/home/onap/chef-solo/environments + + + + + + Chef Client finished + + + custom + sdc-network + sdc-integration-tests-init + + + + + docker-build-for-it + pre-integration-test + + build + + docker-start-for-it pre-integration-test @@ -789,7 +1183,6 @@ limitations under the License. - org.apache.maven.plugins maven-surefire-plugin @@ -797,19 +1190,15 @@ limitations under the License. true - org.apache.maven.plugins maven-failsafe-plugin 1 true - - - testng.dtd.http - true - - + + true + src/test/resources/ci/testSuites/backend/onapApiSanity.xml src/test/resources/ci/testSuites/frontend/onapUiSanity.xml @@ -840,12 +1229,105 @@ limitations under the License. + + add-test-model + + false + + all-for-integration-tests-only true false + false + + + + integration-tests-with-helm-validator + + false + false + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + 1 + true + + true + + + src/test/resources/ci/testSuites/backend/onapApiSanity.xml + src/test/resources/ci/testSuites/frontend/onapUiSanity.xml + src/test/resources/ci/testSuites/backend/helmValidatorTests.xml + src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml + + + + + + + + run-integration-tests-api + + false + true + true + true + false + + + + org.apache.maven.plugins + maven-failsafe-plugin + + 1 + true + + true + + + src/test/resources/ci/testSuites/backend/onapApiSanity.xml + src/test/resources/ci/testSuites/backend/helmValidatorTests.xml + + + + + + + + run-integration-tests-ui + + false + true + true + true + false + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + 1 + true + + true + + + src/test/resources/ci/testSuites/frontend/onapUiSanity.xml + src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml + + + + +