X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=integration-tests%2Fpom.xml;h=801e21527f1bae6bdd4decdf74fd466536bfc4b8;hb=e5ce5b1b72e9421ba4bb772c41215e837f7517dd;hp=e292195c383785eee32907ed83012198de009e26;hpb=44c6c0d23504e8d1353cd449541f95bc2033cddb;p=sdc.git diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml index e292195c38..801e21527f 100644 --- a/integration-tests/pom.xml +++ b/integration-tests/pom.xml @@ -3,6 +3,7 @@ SDC ================================================================================ Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. +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. @@ -18,12 +19,12 @@ limitations under the License. ============LICENSE_END========================================================= ================================================================================ --> + + 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-integration-tests jar sdc-integration-tests @@ -31,12 +32,12 @@ limitations under the License. org.openecomp.sdc sdc-main - 1.7.1-SNAPSHOT + 1.13.3-SNAPSHOT 3.141.59 - 0.27.0 + 0.33.0 integration-test 9042 @@ -46,11 +47,17 @@ limitations under the License. asdc_user Aa1234%^! ${project.build.directory}/chef-config + ${project.build.directory}/plugins/sdc-be /tmp/sdc-integration-tests - ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest - - 2.53.1 + latest + 86.0 + true + true + 1.3.1 + + 1.8.0 + false @@ -67,15 +74,9 @@ limitations under the License. test - com.google.guava - guava - 25.0-jre - compile - - - junit - junit - ${junit.version} + org.hamcrest + hamcrest + ${hamcrest.version} test @@ -95,25 +96,85 @@ 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 ${janusgraph.version} test + + org.apache.tinkerpop + gremlin-groovy + + + org.apache.tinkerpop + gremlin-core + slf4j-log4j12 org.slf4j @@ -130,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 + @@ -138,6 +215,12 @@ limitations under the License. ${assertj.version} test + + org.apache.commons + commons-text + ${apache-commons-text.version} + test + com.clearspring.analytics stream @@ -145,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 @@ -181,24 +274,57 @@ limitations under the License. + + org.onap.sdc.sdc-tosca + sdc-tosca + ${sdc-tosca-parser.version} + + + + 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 + + @@ -213,6 +339,14 @@ limitations under the License. com.fasterxml.jackson.core jackson-core + + org.slf4j + jcl-over-slf4j + + + org.bouncycastle + * + @@ -226,12 +360,16 @@ limitations under the License. proxy-vole 1.0.2 test - - - org.hamcrest - hamcrest - ${hamcrest.version} - test + + + net.java.dev.jna + jna + + + net.java.dev.jna + jna-platform + + commons-net @@ -239,6 +377,50 @@ limitations under the License. 3.3 test + + 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 + @@ -261,12 +443,106 @@ limitations under the License. true integration-test.json + + + + environments + false + plugins-configuration.yaml + + copy-sdc-be-plugins + pre-integration-test + + copy-resources + + + ${it.sdc-be.plugins} + + + + ../catalog-be-plugins/etsi-nfv-nsd-csar-plugin/target + + false + + 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 + + + + + @@ -291,8 +567,9 @@ limitations under the License. + org.apache.maven.plugins maven-antrun-plugin - 1.8 + ${maven-antrun-plugin.version} set-folder-permission @@ -302,7 +579,9 @@ limitations under the License. - + @@ -314,15 +593,31 @@ limitations under the License. pre-integration-test - - + + run + + add-test-model-to-config + pre-integration-test + + run + + + + + + + + + @@ -343,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 - 1.35 + ${verbose} + ${docker.api.version} true + true - onap/sdc-cassandra:${it.docker.version} + ${docker.namespace}/sdc-cassandra:${it.docker.version} sdc-cassandra @@ -372,7 +715,8 @@ limitations under the License. sdc-cs - ${it.chef.config}:/root/chef-solo/environments + ${it.chef.config}:/root/chef-solo/environments + @@ -408,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 @@ -424,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 + + @@ -439,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} @@ -457,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 @@ -472,33 +819,36 @@ 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 - -Xdebug - -agentlib:jdwp=transport=dt_socket,address=4001,server=y,suspend=n -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:/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}:/app/jetty/logs - + sdc-onboard-BE direct @@ -522,25 +872,34 @@ limitations under the License. - onap/sdc-backend:${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} - -Xdebug - -agentlib:jdwp=transport=dt_socket,address=4000,server=y,suspend=n -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}/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 + @@ -568,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 @@ -580,12 +939,14 @@ 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 - + Chef Client finished @@ -596,24 +957,25 @@ limitations under the License. - onap/sdc-frontend:${it.docker.version} + ${docker.namespace}/sdc-frontend:${it.docker.version} sdc-frontend ${it.env.name} - -Xdebug - -agentlib:jdwp=transport=dt_socket,address=6000,server=y,suspend=n -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 + @@ -641,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 @@ -655,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 @@ -666,6 +1026,7 @@ limitations under the License. 8080 8443 + 5000 @@ -673,6 +1034,7 @@ limitations under the License. 8285:8080 8286:8443 + 5000:5000 custom @@ -681,7 +1043,6 @@ limitations under the License. - selenium/standalone-firefox:${it.ui.firefox.version} firefox-standalone @@ -698,12 +1059,10 @@ limitations under the License. - - -debug -Xmx512m 1920 @@ -728,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 @@ -747,7 +1183,6 @@ limitations under the License. - org.apache.maven.plugins maven-surefire-plugin @@ -755,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 @@ -797,4 +1228,106 @@ 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 + + + + + + +