aboutsummaryrefslogtreecommitdiffstats
path: root/integration-tests/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/src/test/resources')
-rw-r--r--integration-tests/src/test/resources/Files/CNFs/helm-package-valid.zipbin1151 -> 2423 bytes
-rw-r--r--integration-tests/src/test/resources/Files/CNFs/helm-package-valid_expect1
-rw-r--r--integration-tests/src/test/resources/Files/CNFs/helm_validator/invalid/one_error_two_files.zipbin0 -> 2028 bytes
-rw-r--r--integration-tests/src/test/resources/Files/CNFs/helm_validator/invalid/one_error_two_files_expect1
-rw-r--r--integration-tests/src/test/resources/Files/CNFs/helm_validator/invalid/package_invalid_nil_pointer_render_error.zipbin0 -> 1197 bytes
-rw-r--r--integration-tests/src/test/resources/Files/CNFs/helm_validator/invalid/package_invalid_nil_pointer_render_error_expect1
-rw-r--r--integration-tests/src/test/resources/Files/CNFs/helm_validator/package_valid.zipbin0 -> 1130 bytes
-rw-r--r--integration-tests/src/test/resources/Files/CNFs/helm_validator/valid_two_files.zipbin0 -> 2004 bytes
-rw-r--r--integration-tests/src/test/resources/Files/CNFs/helm_validator/with_warnings/one_warning_two_files.zipbin0 -> 2104 bytes
-rw-r--r--integration-tests/src/test/resources/Files/CNFs/helm_validator/with_warnings/one_warning_two_files_expect1
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/backend/helmValidatorTests.xml6
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/backend/onapApiSanity.xml7
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml7
13 files changed, 23 insertions, 1 deletions
diff --git a/integration-tests/src/test/resources/Files/CNFs/helm-package-valid.zip b/integration-tests/src/test/resources/Files/CNFs/helm-package-valid.zip
index 349a9ee0b2..a28a7c2b59 100644
--- a/integration-tests/src/test/resources/Files/CNFs/helm-package-valid.zip
+++ b/integration-tests/src/test/resources/Files/CNFs/helm-package-valid.zip
Binary files differ
diff --git a/integration-tests/src/test/resources/Files/CNFs/helm-package-valid_expect b/integration-tests/src/test/resources/Files/CNFs/helm-package-valid_expect
new file mode 100644
index 0000000000..8923fa7865
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/CNFs/helm-package-valid_expect
@@ -0,0 +1 @@
+"third.tgz":[{"level":"WARNING","message":"WARNING: [HELM VALIDATOR]: [WARNING] templates/: directory not found"}]
diff --git a/integration-tests/src/test/resources/Files/CNFs/helm_validator/invalid/one_error_two_files.zip b/integration-tests/src/test/resources/Files/CNFs/helm_validator/invalid/one_error_two_files.zip
new file mode 100644
index 0000000000..fe7925fe25
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/CNFs/helm_validator/invalid/one_error_two_files.zip
Binary files differ
diff --git a/integration-tests/src/test/resources/Files/CNFs/helm_validator/invalid/one_error_two_files_expect b/integration-tests/src/test/resources/Files/CNFs/helm_validator/invalid/one_error_two_files_expect
new file mode 100644
index 0000000000..d4b2ef4d2e
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/CNFs/helm_validator/invalid/one_error_two_files_expect
@@ -0,0 +1 @@
+"one_error.tgz":[{"level":"ERROR","message":"ERROR: [HELM VALIDATOR]: Error: template: mychartname/templates/test.yaml:2:18: executing \"mychartname/templates/test.yaml\" at <.Values.image.repository>: nil pointer evaluating interface {}.repository"},{"level":"WARNING","message":"WARNING: [HELM VALIDATOR]: [ERROR] templates/: template: mychartname/templates/test.yaml:2:18: executing \"mychartname/templates/test.yaml\" at <.Values.image.repository>: nil pointer evaluating interface {}.repository"}]
diff --git a/integration-tests/src/test/resources/Files/CNFs/helm_validator/invalid/package_invalid_nil_pointer_render_error.zip b/integration-tests/src/test/resources/Files/CNFs/helm_validator/invalid/package_invalid_nil_pointer_render_error.zip
new file mode 100644
index 0000000000..851ee27367
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/CNFs/helm_validator/invalid/package_invalid_nil_pointer_render_error.zip
Binary files differ
diff --git a/integration-tests/src/test/resources/Files/CNFs/helm_validator/invalid/package_invalid_nil_pointer_render_error_expect b/integration-tests/src/test/resources/Files/CNFs/helm_validator/invalid/package_invalid_nil_pointer_render_error_expect
new file mode 100644
index 0000000000..b8d93186fb
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/CNFs/helm_validator/invalid/package_invalid_nil_pointer_render_error_expect
@@ -0,0 +1 @@
+"one-lint-one-render-error-apiVersion-v2.tgz":[{"level":"ERROR","message":"ERROR: [HELM VALIDATOR]: Error: template: mychartname/templates/test.yaml:2:18: executing \"mychartname/templates/test.yaml\" at <.Values.image.repository>: nil pointer evaluating interface {}.repository"},{"level":"WARNING","message":"WARNING: [HELM VALIDATOR]: [ERROR] templates/: template: mychartname/templates/test.yaml:2:18: executing \"mychartname/templates/test.yaml\" at <.Values.image.repository>: nil pointer evaluating interface {}.repository"}]
diff --git a/integration-tests/src/test/resources/Files/CNFs/helm_validator/package_valid.zip b/integration-tests/src/test/resources/Files/CNFs/helm_validator/package_valid.zip
new file mode 100644
index 0000000000..abe94e6616
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/CNFs/helm_validator/package_valid.zip
Binary files differ
diff --git a/integration-tests/src/test/resources/Files/CNFs/helm_validator/valid_two_files.zip b/integration-tests/src/test/resources/Files/CNFs/helm_validator/valid_two_files.zip
new file mode 100644
index 0000000000..508f3f8388
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/CNFs/helm_validator/valid_two_files.zip
Binary files differ
diff --git a/integration-tests/src/test/resources/Files/CNFs/helm_validator/with_warnings/one_warning_two_files.zip b/integration-tests/src/test/resources/Files/CNFs/helm_validator/with_warnings/one_warning_two_files.zip
new file mode 100644
index 0000000000..76530d43a1
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/CNFs/helm_validator/with_warnings/one_warning_two_files.zip
Binary files differ
diff --git a/integration-tests/src/test/resources/Files/CNFs/helm_validator/with_warnings/one_warning_two_files_expect b/integration-tests/src/test/resources/Files/CNFs/helm_validator/with_warnings/one_warning_two_files_expect
new file mode 100644
index 0000000000..6e895ae278
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/CNFs/helm_validator/with_warnings/one_warning_two_files_expect
@@ -0,0 +1 @@
+"one_warning.tgz":[{"level":"WARNING","message":"WARNING: [HELM VALIDATOR]: [WARNING] templates/: directory not found"}]
diff --git a/integration-tests/src/test/resources/ci/testSuites/backend/helmValidatorTests.xml b/integration-tests/src/test/resources/ci/testSuites/backend/helmValidatorTests.xml
index e69785d397..01d4095153 100644
--- a/integration-tests/src/test/resources/ci/testSuites/backend/helmValidatorTests.xml
+++ b/integration-tests/src/test/resources/ci/testSuites/backend/helmValidatorTests.xml
@@ -5,6 +5,12 @@
<parameter name="makeToscaValidation" value="true"/>
<test name="HelmValidatorTests">
<classes>
+ <class name="org.onap.sdc.backend.ci.tests.sanity.Onboard">
+ <methods>
+ <include name="onboardCNFWithHelmValidatorTest"/>
+ <include name="onboardCNFWithHelmValidatorShouldFailTest"/>
+ </methods>
+ </class>
</classes>
</test>
</suite>
diff --git a/integration-tests/src/test/resources/ci/testSuites/backend/onapApiSanity.xml b/integration-tests/src/test/resources/ci/testSuites/backend/onapApiSanity.xml
index 97537986cb..8ce016d09f 100644
--- a/integration-tests/src/test/resources/ci/testSuites/backend/onapApiSanity.xml
+++ b/integration-tests/src/test/resources/ci/testSuites/backend/onapApiSanity.xml
@@ -5,7 +5,12 @@
<parameter name="makeToscaValidation" value="true"/>
<test name="ExternalApis">
<classes>
- <class name="org.onap.sdc.backend.ci.tests.sanity.Onboard"/>
+ <class name="org.onap.sdc.backend.ci.tests.sanity.Onboard">
+ <methods>
+ <exclude name="onboardCNFWithHelmValidatorTest"/>
+ <exclude name="onboardCNFWithHelmValidatorShouldFailTest"/>
+ </methods>
+ </class>
</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
index ac44641767..2e171e970f 100644
--- a/integration-tests/src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml
+++ b/integration-tests/src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml
@@ -6,6 +6,13 @@
<test name="helmValidatorTests">
<classes>
+ <class name="org.onap.sdc.frontend.ci.tests.execute.sanity.OnboardingFlowsUi">
+ <methods>
+ <include name="onapOnboardVSPWithHelmValidationSuccessfulWithoutErrorsAndWarnings"/>
+ <include name="onapOnboardVSPWithHelmValidationSuccessfulWithWarnings"/>
+ <include name="onapOnboardVSPWithHelmValidationUnsuccessfulWithErrors"/>
+ </methods>
+ </class>
</classes>
</test>
</suite>