aboutsummaryrefslogtreecommitdiffstats
path: root/integration-tests
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests')
-rw-r--r--integration-tests/pom.xml58
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/backend/helmValidatorTests.xml10
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml11
3 files changed, 79 insertions, 0 deletions
diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml
index b79547e876..e6e1bba311 100644
--- a/integration-tests/pom.xml
+++ b/integration-tests/pom.xml
@@ -51,6 +51,8 @@ limitations under the License.
<it.shared.volume>/tmp/sdc-integration-tests</it.shared.volume>
<it.docker.version>latest</it.docker.version>
<it.ui.firefox.version>86.0</it.ui.firefox.version>
+ <it.helm-validator.disabled>true</it.helm-validator.disabled>
+ <it.helm-validator.version>1.2.0</it.helm-validator.version>
<!-- parser-->
<sdc-tosca-parser.version>1.6.5</sdc-tosca-parser.version>
@@ -805,6 +807,32 @@ limitations under the License.
</volumes>
</run>
</image>
+ <image>
+ <name>onap/org.onap.sdc.sdc-helm-validator:${it.helm-validator.version}</name>
+ <alias>helm-validator</alias>
+ <run>
+ <skip>${it.helm-validator.disabled}</skip>
+ <hostname>helm-validator</hostname>
+ <wait>
+ <time>20000</time>
+ <tcp>
+ <host>helm-validator</host>
+ <mode>direct</mode>
+ <ports>
+ <port>8080</port>
+ </ports>
+ </tcp>
+ </wait>
+ <ports>
+ <port>8085:8080</port>
+ </ports>
+ <network>
+ <mode>custom</mode>
+ <name>sdc-network</name>
+ <alias>helm-validator</alias>
+ </network>
+ </run>
+ </image>
</images>
</configuration>
<executions>
@@ -882,5 +910,35 @@ limitations under the License.
<skipTest>false</skipTest>
</properties>
</profile>
+ <profile>
+ <id>integration-tests-with-helm-validator</id>
+ <properties>
+ <it.helm-validator.disabled>false</it.helm-validator.disabled>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <configuration>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <systemProperties>
+ <property>
+ <name>testng.dtd.http</name>
+ <value>true</value>
+ </property>
+ </systemProperties>
+ <suiteXmlFiles>
+ <file>src/test/resources/ci/testSuites/backend/onapApiSanity.xml</file>
+ <file>src/test/resources/ci/testSuites/frontend/onapUiSanity.xml</file>
+ <file>src/test/resources/ci/testSuites/backend/helmValidatorTests.xml</file>
+ <file>src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml</file>
+ </suiteXmlFiles>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
diff --git a/integration-tests/src/test/resources/ci/testSuites/backend/helmValidatorTests.xml b/integration-tests/src/test/resources/ci/testSuites/backend/helmValidatorTests.xml
new file mode 100644
index 0000000000..e69785d397
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/backend/helmValidatorTests.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd" >
+<suite name="helmValidatorTests" configfailurepolicy="continue" parallel="methods" thread-count="1" data-provider-thread-count="1">
+ <parameter name="makeDistribution" value="false"/>
+ <parameter name="makeToscaValidation" value="true"/>
+ <test name="HelmValidatorTests">
+ <classes>
+ </classes>
+ </test>
+</suite>
diff --git a/integration-tests/src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml b/integration-tests/src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml
new file mode 100644
index 0000000000..ac44641767
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd" >
+<suite name="helmValidatorTests" configfailurepolicy="continue" parallel="methods" thread-count="1" data-provider-thread-count="1">
+
+ <parameter name="makeDistribution" value="false"/>
+
+ <test name="helmValidatorTests">
+ <classes>
+ </classes>
+ </test>
+</suite>