diff options
author | vasraz <vasyl.razinkov@est.tech> | 2021-03-23 17:47:51 +0000 |
---|---|---|
committer | Christophe Closset <christophe.closset@intl.att.com> | 2021-03-24 15:38:24 +0000 |
commit | 787cfd5756e784be88874ef31783584e0ffd5d0c (patch) | |
tree | 97bd1eebac51500e5555f2bba137cc1fe4b1abd5 /integration-tests | |
parent | 8a42713718e46751938a63ccdca4d16244416dd8 (diff) |
Skip swagger in fast build profile
Add configuration to skip swagger in 'fast-build' profile
Change-Id: I737e3df89d0b15391616ccbce9da4b3ecdd7ed67
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3525
Diffstat (limited to 'integration-tests')
-rw-r--r-- | integration-tests/pom.xml | 84 |
1 files changed, 58 insertions, 26 deletions
diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml index 2e6005b7b6..866e2ee80a 100644 --- a/integration-tests/pom.xml +++ b/integration-tests/pom.xml @@ -21,8 +21,8 @@ limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" - 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"> + 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"> <modelVersion>4.0.0</modelVersion> <artifactId>sdc-integration-tests</artifactId> @@ -302,10 +302,13 @@ limitations under the License. <outputDirectory>${it.sdc-be.plugins}</outputDirectory> <resources> <resource> - <directory>../catalog-be-plugins/etsi-nfv-nsd-csar-plugin/target</directory> + <directory> + ../catalog-be-plugins/etsi-nfv-nsd-csar-plugin/target + </directory> <filtering>false</filtering> <includes> - <include>etsi-nfv-nsd-csar-plugin-${project.version}.jar</include> + <include>etsi-nfv-nsd-csar-plugin-${project.version}.jar + </include> </includes> </resource> </resources> @@ -335,8 +338,9 @@ limitations under the License. </executions> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> - <version>1.8</version> + <version>${maven-antrun-plugin.version}</version> <executions> <execution> <id>set-folder-permission</id> @@ -346,7 +350,9 @@ limitations under the License. <mkdir dir="/tmp/sdc-integration-tests"/> <chmod dir="/tmp/sdc-integration-tests" type="dir" perm="ugo+rwx"/> <mkdir dir="/tmp/sdc-integration-tests/downloadAutomation"/> - <chmod dir="/tmp/sdc-integration-tests/downloadAutomation" type="dir" perm="ugo+rwx"/> + <chmod dir="/tmp/sdc-integration-tests/downloadAutomation" + type="dir" + perm="ugo+rwx"/> </target> </configuration> <goals> @@ -358,9 +364,11 @@ limitations under the License. <phase>pre-integration-test</phase> <configuration> <target> - <untar src="${project.build.directory}/gecko/geckodriver-v${gecko.driver.version}-linux64.tar.gz" - compression="gzip" dest="${project.build.directory}/gecko/"/> - <chmod dir="${project.build.directory}/gecko/geckodriver" type="dir" perm="ugo+rwx"/> + <untar + src="${project.build.directory}/gecko/geckodriver-v${gecko.driver.version}-linux64.tar.gz" + compression="gzip" dest="${project.build.directory}/gecko/"/> + <chmod dir="${project.build.directory}/gecko/geckodriver" type="dir" + perm="ugo+rwx"/> </target> </configuration> <goals> @@ -416,7 +424,8 @@ limitations under the License. <hostname>sdc-cs</hostname> <volumes> <bind> - <volume>${it.chef.config}:/root/chef-solo/environments</volume> + <volume>${it.chef.config}:/root/chef-solo/environments + </volume> </bind> </volumes> <ulimits> @@ -468,7 +477,8 @@ limitations under the License. <hostname>sdc-cs-init</hostname> <volumes> <bind> - <volume>${it.chef.config}:/home/sdc/chef-solo/environments</volume> + <volume>${it.chef.config}:/home/sdc/chef-solo/environments + </volume> </bind> </volumes> <wait> @@ -501,7 +511,8 @@ limitations under the License. <hostname>sdc-cs-onboard-init</hostname> <volumes> <bind> - <volume>${it.chef.config}:/home/sdc/chef-solo/environments</volume> + <volume>${it.chef.config}:/home/sdc/chef-solo/environments + </volume> </bind> </volumes> <wait> @@ -523,19 +534,26 @@ limitations under the License. <container>sdc-cassandra-onboard-init</container> </dependsOn> <env> - <cassandra_ssl_enabled>${it.cassandra.ssl.enabled}</cassandra_ssl_enabled> + <cassandra_ssl_enabled>${it.cassandra.ssl.enabled} + </cassandra_ssl_enabled> <SDC_CLUSTER_NAME>${it.sdc.cluster.name}</SDC_CLUSTER_NAME> <SDC_USER>${it.sdc.user}</SDC_USER> <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD> <ENVNAME>${it.env.name}</ENVNAME> <SDC_CERT_DIR>onap/cert</SDC_CERT_DIR> - <JAVA_OPTIONS>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4001 -Xmx1g -Xms1g</JAVA_OPTIONS> + <JAVA_OPTIONS> + -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4001 + -Xmx1g -Xms1g + </JAVA_OPTIONS> </env> <hostname>sdc-onboard-BE</hostname> <volumes> <bind> - <volume>${it.chef.config}:/var/lib/jetty/chef-solo/environments</volume> - <volume>${project.basedir}/src/test/resources/cert/onboarding-be:/var/lib/jetty/onap/cert + <volume> + ${it.chef.config}:/var/lib/jetty/chef-solo/environments + </volume> + <volume> + ${project.basedir}/src/test/resources/cert/onboarding-be:/var/lib/jetty/onap/cert </volume> <volume>${it.shared.volume}:/var/lib/jetty/logs</volume> </bind> @@ -572,19 +590,26 @@ limitations under the License. <container>sdc-cassandra-init</container> </dependsOn> <env> - <cassandra_ssl_enabled>${it.cassandra.ssl.enabled}</cassandra_ssl_enabled> + <cassandra_ssl_enabled>${it.cassandra.ssl.enabled} + </cassandra_ssl_enabled> <ENVNAME>${it.env.name}</ENVNAME> - <JAVA_OPTIONS>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4000 - -Xmx1536m -Xms1536m</JAVA_OPTIONS> + <JAVA_OPTIONS> + -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4000 + -Xmx1536m -Xms1536m + </JAVA_OPTIONS> <SDC_CERT_DIR>onap/cert</SDC_CERT_DIR> <SDC_NSD_CERT_NAME>nsdCert</SDC_NSD_CERT_NAME> </env> <hostname>sdc-BE</hostname> <volumes> <bind> - <volume>${it.chef.config}:/var/lib/jetty/chef-solo/environments</volume> + <volume> + ${it.chef.config}:/var/lib/jetty/chef-solo/environments + </volume> <volume>${it.shared.volume}:/var/lib/jetty/logs</volume> - <volume>${project.basedir}/src/test/resources/cert/catalog-be:/var/lib/jetty/onap/cert</volume> + <volume> + ${project.basedir}/src/test/resources/cert/catalog-be:/var/lib/jetty/onap/cert + </volume> </bind> </volumes> <wait> @@ -624,7 +649,9 @@ limitations under the License. <hostname>sdc-BE-init</hostname> <volumes> <bind> - <volume>${it.chef.config}:/home/onap/chef-solo/environments</volume> + <volume> + ${it.chef.config}:/home/onap/chef-solo/environments + </volume> <volume>${it.shared.volume}:/var/lib/jetty/logs</volume> </bind> </volumes> @@ -645,13 +672,17 @@ limitations under the License. <run> <env> <ENVNAME>${it.env.name}</ENVNAME> - <JAVA_OPTIONS>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:6000 - -Xmx256m -Xms256m</JAVA_OPTIONS> + <JAVA_OPTIONS> + -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:6000 + -Xmx256m -Xms256m + </JAVA_OPTIONS> </env> <hostname>sdc-FE</hostname> <volumes> <bind> - <volume>${it.chef.config}:/var/lib/jetty/chef-solo/environments</volume> + <volume> + ${it.chef.config}:/var/lib/jetty/chef-solo/environments + </volume> <volume>${it.shared.volume}:/var/lib/jetty/logs</volume> <volume> ${it.chef.config}/plugins-configuration.yaml:/var/lib/jetty/config/catalog-fe/plugins-configuration.yaml @@ -697,7 +728,8 @@ limitations under the License. <hostname>sdc-sim</hostname> <volumes> <bind> - <volume>${it.chef.config}:/root/chef-solo/environments</volume> + <volume>${it.chef.config}:/root/chef-solo/environments + </volume> </bind> </volumes> <wait> |