From b16794663103fe5716af7627e1d420bf4bbd1aa2 Mon Sep 17 00:00:00 2001 From: JulienBe Date: Wed, 19 Aug 2020 11:12:59 +0200 Subject: Add sdc startup in IT Move the Api tests code in the integration-test module, and remove the need to have a container Issue-ID: SDC-3232 Signed-off-by: sebdet Change-Id: Ia2b5d94d958e975867c600597ab5e56dffcd06ab Signed-off-by: JulienBe --- integration-tests/pom.xml | 224 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 216 insertions(+), 8 deletions(-) (limited to 'integration-tests/pom.xml') diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml index a4a6e9099d..fe5a09f989 100644 --- a/integration-tests/pom.xml +++ b/integration-tests/pom.xml @@ -25,7 +25,7 @@ limitations under the License. org.openecomp.sdc sdc-integration-tests - pom + jar sdc-integration-tests @@ -50,6 +50,127 @@ limitations under the License. + + org.yaml + snakeyaml + ${snakeyaml.version} + test + + + com.google.guava + guava + ${guava.version} + test + + + junit + junit + ${junit.version} + test + + + org.testng + testng + ${testng.version} + test + + + com.google.code.gson + gson + ${gson.version} + test + + + org.openecomp.sdc.be + catalog-model + ${project.version} + test + + + org.openecomp.sdc.be + catalog-dao + ${project.version} + test + + + com.aventstack + extentreports + 3.0.6 + + test + + + org.janusgraph + janusgraph-core + ${janusgraph.version} + test + + + slf4j-log4j12 + org.slf4j + + + commons-collections + commons-collections + + + groovy + org.codehaus.groovy + + + org.apache.thrift + libthrift + + + + + org.assertj + assertj-core + ${assertj.version} + test + + + com.clearspring.analytics + stream + ${clearspring.version} + test + + + org.apache.httpcomponents + httpclient + ${httpclient.version} + test + + + org.apache.httpcomponents + httpcore + ${httpcore.version} + test + + + com.fasterxml.jackson.core + jackson-core + ${jackson.version} + test + + + org.codehaus.jackson + jackson-mapper-asl + 1.9.2 + test + + + com.fasterxml.jackson.core + jackson-databind + ${jackson.version} + test + + + com.fasterxml.jackson.core + jackson-core + + + @@ -68,7 +189,7 @@ limitations under the License. ${it.chef.config} - src/test/resources + environments true integration-test.json @@ -120,7 +241,6 @@ limitations under the License. io.fabric8 docker-maven-plugin - false org.apache.httpcomponents @@ -260,12 +380,13 @@ limitations under the License. ${it.sdc.password} ${it.env.name} onap/cert - -Xmx1536m -Xms1536m + -Xdebug -agentlib:jdwp=transport=dt_socket,address=4001,server=y,suspend=n -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 @@ -276,12 +397,14 @@ limitations under the License. 8445 8081 + 4001 8445:8445 8081:8081 + 4001:4001 custom @@ -300,7 +423,7 @@ limitations under the License. ${it.cassandra.ssl.enabled} ${it.env.name} - -Xmx1536m -Xms1536m + -Xdebug -agentlib:jdwp=transport=dt_socket,address=4000,server=y,suspend=n -Xmx1536m -Xms1536m sdc-BE @@ -317,12 +440,14 @@ limitations under the License. 8443 8080 + 4000 8443:8443 8080:8080 + 4000:4000 custom @@ -368,7 +493,7 @@ limitations under the License. ${it.env.name} - -Xmx256m -Xms256m + -Xdebug -agentlib:jdwp=transport=dt_socket,address=6000,server=y,suspend=n -Xmx256m -Xms256m sdc-FE @@ -376,7 +501,7 @@ limitations under the License. ${it.chef.config}:/var/lib/jetty/chef-solo/environments ${it.shared.volume}:/var/lib/jetty/logs - sdc-os-chef/environments/plugins-configuration.yaml:/var/lib/jetty/config/catalog-fe/plugins-configuration.yaml + environments/plugins-configuration.yaml:/var/lib/jetty/config/catalog-fe/plugins-configuration.yaml @@ -388,12 +513,14 @@ limitations under the License. 9443 8181 + 6000 9443:9443 8181:8181 + 6000:6000 custom @@ -402,9 +529,48 @@ limitations under the License. + + onap/sdc-simulator:${it.docker.version} + sdc-simulator + + + sdc-frontend + + + + -Xmx128m -Xms128m -Xss1m + ${it.env.name} + + sdc-sim + + + ${it.chef.config}:/root/chef-solo/environments + + + + + + sdc-sim + direct + + 8080 + 8443 + + + + + 8285:8080 + 8286:8443 + + + custom + sdc-network + sdc-sim + + + - docker-start-for-it @@ -422,6 +588,48 @@ limitations under the License. + + + org.apache.maven.plugins + maven-surefire-plugin + + true + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + src/test/resources/ci/testSuites/onapApiSanity.xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg