diff options
Diffstat (limited to 'src/test/resources')
49 files changed, 0 insertions, 171 deletions
diff --git a/src/test/resources/config/configuration.yaml b/src/test/resources/config/configuration.yaml deleted file mode 100644 index f070c1d..0000000 --- a/src/test/resources/config/configuration.yaml +++ /dev/null @@ -1,3 +0,0 @@ -conformanceLevel: - minVersion: '3.0' - maxVersion: '7.0'
\ No newline at end of file diff --git a/src/test/resources/config/error-configuration-test.yaml b/src/test/resources/config/error-configuration-test.yaml deleted file mode 100644 index de603c6..0000000 --- a/src/test/resources/config/error-configuration-test.yaml +++ /dev/null @@ -1,22 +0,0 @@ -# Errors -errors: - FILE_NOT_FOUND: { - code: TP0001, - failOnError: true, - message: "Error: CSAR file not found." - } - BAD_FORMAT: { - code: TP0002, - failOnError: true, - message: "Error: CSAR file bad format. Check the log for details." - } - CONFORMANCE_LEVEL_ERROR: { - code: TP0003, - failOnError: false, - message: "Error: CSAR version is unsupported. Parser supports versions from %s." - } - GENERAL_ERROR: { - code: TP0004, - failOnError: true, - message: "Error: an unexpected internal error occured." - }
\ No newline at end of file diff --git a/src/test/resources/config/error-configuration.yaml b/src/test/resources/config/error-configuration.yaml deleted file mode 100644 index 296c681..0000000 --- a/src/test/resources/config/error-configuration.yaml +++ /dev/null @@ -1,22 +0,0 @@ -# Errors -errors: - FILE_NOT_FOUND: { - code: TP0001, - failOnError: true, - message: "Error: CSAR file not found." - } - BAD_FORMAT: { - code: TP0002, - failOnError: true, - message: "Error: CSAR file bad format. Check the log for details." - } - CONFORMANCE_LEVEL_ERROR: { - code: TP0003, - failOnError: true, - message: "Error: CSAR version is unsupported. Parser supports versions from %s." - } - GENERAL_ERROR: { - code: TP0004, - failOnError: true, - message: "Error: an unexpected internal error occured." - }
\ No newline at end of file diff --git a/src/test/resources/config/jtosca-validation-issue-configuration-test.yaml b/src/test/resources/config/jtosca-validation-issue-configuration-test.yaml deleted file mode 100644 index 1378ca7..0000000 --- a/src/test/resources/config/jtosca-validation-issue-configuration-test.yaml +++ /dev/null @@ -1,57 +0,0 @@ -# jTosca validation issues -#by error code, type the validation issue to be CRITICAL/WARNING -# since Conformance level considered to this type. for example: -#JE001: -# - type: WARNING, -# sinceCsarConformanceLevel: 3.0 -# - type: WARNING, -# sinceCsarConformanceLevel: 5.0 -validationIssues: - # TypeMismatchError - JE001: - - issueType: WARNING - sinceCsarConformanceLevel: 3.0 - - issueType: CRITICAL - sinceCsarConformanceLevel: 4.0 - - issueType: WARNING - sinceCsarConformanceLevel: 5.0 - # MissingType - JE002: - - issueType: WARNING - sinceCsarConformanceLevel: 3.0 - #MissingRequiredFieldError - JE003: - - issueType: CRITICAL - sinceCsarConformanceLevel: 4.0 - #MissingRequiredFieldError2 - JE004: - - issueType: WARNING - sinceCsarConformanceLevel: 2.0 - #InvalidGroupTargetException - JE005: - - issueType: WARNING - sinceCsarConformanceLevel: 3.0 - #Schema definition of \"%s\" has \"status\" attribute with an invalid value - JE006: - - issueType: WARNING - sinceCsarConformanceLevel: 3.0 - - issueType: CRITICAL - sinceCsarConformanceLevel: 4.0 - - issueType: WARNING - sinceCsarConformanceLevel: 5.0 - #The unit \"%s\" is not valid - JE007: - - issueType: WARNING - sinceCsarConformanceLevel: 3.0 - #ValidationError - JE008: - - issueType: WARNING - sinceCsarConformanceLevel: 3.0 - #ValueError: Expected max 2 arguments for function \"get_input\" but received \"%s\"",args.size()) - JE009: - - issueType: WARNING - sinceCsarConformanceLevel: 3.0 - #MissingRequiredFieldError3 - JE010: - - issueType: WARNING - sinceCsarConformanceLevel: 3.0
\ No newline at end of file diff --git a/src/test/resources/config/jtosca-validation-issue-configuration.yaml b/src/test/resources/config/jtosca-validation-issue-configuration.yaml deleted file mode 100644 index 3f62953..0000000 --- a/src/test/resources/config/jtosca-validation-issue-configuration.yaml +++ /dev/null @@ -1,57 +0,0 @@ -# jTosca validation issues -#by error code, type the validation issue to be CRITICAL/WARNING -# since Conformance level considered to this type. for example: -#JE001: -# - issueType: WARNING -# sinceCsarConformanceLevel: 3.0 -# - issueType: WARNING -# sinceCsarConformanceLevel: 5.0 -validationIssues: - # TypeMismatchError - JE001: - - issueType: WARNING - sinceCsarConformanceLevel: 3.0 - # MissingType - JE002: - - issueType: WARNING - sinceCsarConformanceLevel: 3.0 - #MissingRequiredFieldError - JE003: - - issueType: WARNING - sinceCsarConformanceLevel: 3.0 - #MissingRequiredFieldError2 - JE004: - - issueType: WARNING - sinceCsarConformanceLevel: 3.0 - #InvalidGroupTargetException - JE005: - - issueType: WARNING - sinceCsarConformanceLevel: 3.0 - #Schema definition of \"%s\" has \"status\" attribute with an invalid value - JE006: - - issueType: WARNING - sinceCsarConformanceLevel: 3.0 - #The unit \"%s\" is not valid - JE007: - - issueType: WARNING - sinceCsarConformanceLevel: 3.0 - #ValidationError - JE008: - - issueType: WARNING - sinceCsarConformanceLevel: 3.0 - #ValueError: Expected max 2 arguments for function \"get_input\" but received \"%s\"",args.size()) - JE009: - - issueType: WARNING - sinceCsarConformanceLevel: 3.0 - #MissingRequiredFieldError3 - JE010: - - issueType: WARNING - sinceCsarConformanceLevel: 3.0 - #InvalidTypeError - JE136: - - issueType: CRITICAL - sinceCsarConformanceLevel: 3.0 - #Exception from SnakeYAML - JE198: - - issueType: CRITICAL - sinceCsarConformanceLevel: 3.0
\ No newline at end of file diff --git a/src/test/resources/csars/csar-invalid-zip.zip b/src/test/resources/csars/csar-invalid-zip.zip deleted file mode 100644 index 04de055..0000000 --- a/src/test/resources/csars/csar-invalid-zip.zip +++ /dev/null @@ -1,2 +0,0 @@ -SDC-TOSCA-Meta-File-Version: 1.0 -SDC-TOSCA-Definitions-Version: 2.0 diff --git a/src/test/resources/csars/dataTypes-test-service.csar b/src/test/resources/csars/dataTypes-test-service.csar Binary files differdeleted file mode 100644 index b4de177..0000000 --- a/src/test/resources/csars/dataTypes-test-service.csar +++ /dev/null diff --git a/src/test/resources/csars/resource-Policy-csar.csar b/src/test/resources/csars/resource-Policy-csar.csar Binary files differdeleted file mode 100644 index 67cc528..0000000 --- a/src/test/resources/csars/resource-Policy-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/resource-Sirovinputannotation-csar.csar b/src/test/resources/csars/resource-Sirovinputannotation-csar.csar Binary files differdeleted file mode 100644 index 984e052..0000000 --- a/src/test/resources/csars/resource-Sirovinputannotation-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/resource-Vdbe-csar.csar b/src/test/resources/csars/resource-Vdbe-csar.csar Binary files differdeleted file mode 100644 index 0705852..0000000 --- a/src/test/resources/csars/resource-Vdbe-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-AdiodVmxVpeBvService-csar.csar b/src/test/resources/csars/service-AdiodVmxVpeBvService-csar.csar Binary files differdeleted file mode 100644 index 28aa6f4..0000000 --- a/src/test/resources/csars/service-AdiodVmxVpeBvService-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-AlService-csar.csar b/src/test/resources/csars/service-AlService-csar.csar Binary files differdeleted file mode 100644 index 653b80d..0000000 --- a/src/test/resources/csars/service-AlService-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-CgnatFwVnfNc-csar.csar b/src/test/resources/csars/service-CgnatFwVnfNc-csar.csar Binary files differdeleted file mode 100644 index 60c2589..0000000 --- a/src/test/resources/csars/service-CgnatFwVnfNc-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-CrTestService-csar.csar b/src/test/resources/csars/service-CrTestService-csar.csar Binary files differdeleted file mode 100644 index 445fd2b..0000000 --- a/src/test/resources/csars/service-CrTestService-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-CxSvc-csar.csar b/src/test/resources/csars/service-CxSvc-csar.csar Binary files differdeleted file mode 100644 index ad77cc4..0000000 --- a/src/test/resources/csars/service-CxSvc-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-Groupstest-csar.csar b/src/test/resources/csars/service-Groupstest-csar.csar Binary files differdeleted file mode 100644 index 1d48da0..0000000 --- a/src/test/resources/csars/service-Groupstest-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-Ipassignservice-csar.csar b/src/test/resources/csars/service-Ipassignservice-csar.csar Binary files differdeleted file mode 100644 index 007b96a..0000000 --- a/src/test/resources/csars/service-Ipassignservice-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-JennnyVepdgPortMirroringTest-csar.csar b/src/test/resources/csars/service-JennnyVepdgPortMirroringTest-csar.csar Binary files differdeleted file mode 100644 index 7e8ebb3..0000000 --- a/src/test/resources/csars/service-JennnyVepdgPortMirroringTest-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-JennyVtsbcVlanSvc-csar.csar b/src/test/resources/csars/service-JennyVtsbcVlanSvc-csar.csar Binary files differdeleted file mode 100644 index be550f9..0000000 --- a/src/test/resources/csars/service-JennyVtsbcVlanSvc-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-NetworkCloudVnfServiceMock-csar.csar b/src/test/resources/csars/service-NetworkCloudVnfServiceMock-csar.csar Binary files differdeleted file mode 100644 index aabf83c..0000000 --- a/src/test/resources/csars/service-NetworkCloudVnfServiceMock-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-Nfod2images-csar.csar b/src/test/resources/csars/service-Nfod2images-csar.csar Binary files differdeleted file mode 100644 index c735033..0000000 --- a/src/test/resources/csars/service-Nfod2images-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-NfodService-csar.csar b/src/test/resources/csars/service-NfodService-csar.csar Binary files differdeleted file mode 100644 index 329076a..0000000 --- a/src/test/resources/csars/service-NfodService-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-Oren1-csar-4.csar b/src/test/resources/csars/service-Oren1-csar-4.csar Binary files differdeleted file mode 100644 index 1e1f738..0000000 --- a/src/test/resources/csars/service-Oren1-csar-4.csar +++ /dev/null diff --git a/src/test/resources/csars/service-PortMirroring.csar b/src/test/resources/csars/service-PortMirroring.csar Binary files differdeleted file mode 100644 index c3a44a0..0000000 --- a/src/test/resources/csars/service-PortMirroring.csar +++ /dev/null diff --git a/src/test/resources/csars/service-ServiceFdnt-csar-no-vf.csar b/src/test/resources/csars/service-ServiceFdnt-csar-no-vf.csar Binary files differdeleted file mode 100644 index c35baf5..0000000 --- a/src/test/resources/csars/service-ServiceFdnt-csar-no-vf.csar +++ /dev/null diff --git a/src/test/resources/csars/service-ServiceFdnt-csar-rainy.csar b/src/test/resources/csars/service-ServiceFdnt-csar-rainy.csar Binary files differdeleted file mode 100644 index f3b3a46..0000000 --- a/src/test/resources/csars/service-ServiceFdnt-csar-rainy.csar +++ /dev/null diff --git a/src/test/resources/csars/service-ServiceFdnt-csar.csar b/src/test/resources/csars/service-ServiceFdnt-csar.csar Binary files differdeleted file mode 100644 index 983dc9b..0000000 --- a/src/test/resources/csars/service-ServiceFdnt-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-ServiceFdnt-test-csar.csar b/src/test/resources/csars/service-ServiceFdnt-test-csar.csar Binary files differdeleted file mode 100644 index 5a364cd..0000000 --- a/src/test/resources/csars/service-ServiceFdnt-test-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-ServiceFdnt-with-get-input.csar b/src/test/resources/csars/service-ServiceFdnt-with-get-input.csar Binary files differdeleted file mode 100644 index c5a277b..0000000 --- a/src/test/resources/csars/service-ServiceFdnt-with-get-input.csar +++ /dev/null diff --git a/src/test/resources/csars/service-ServiceForToscaParserTests-csar.csar b/src/test/resources/csars/service-ServiceForToscaParserTests-csar.csar Binary files differdeleted file mode 100644 index 9afc278..0000000 --- a/src/test/resources/csars/service-ServiceForToscaParserTests-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-Servicetosca9-csar.csar b/src/test/resources/csars/service-Servicetosca9-csar.csar Binary files differdeleted file mode 100644 index 0627cfc..0000000 --- a/src/test/resources/csars/service-Servicetosca9-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-VdbePx-csar.csar b/src/test/resources/csars/service-VdbePx-csar.csar Binary files differdeleted file mode 100644 index 3032768..0000000 --- a/src/test/resources/csars/service-VdbePx-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-VdbeSrv-csar.csar b/src/test/resources/csars/service-VdbeSrv-csar.csar Binary files differdeleted file mode 100644 index f911753..0000000 --- a/src/test/resources/csars/service-VdbeSrv-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-VlanD2dSrv-csar.csar b/src/test/resources/csars/service-VlanD2dSrv-csar.csar Binary files differdeleted file mode 100644 index efec4c0..0000000 --- a/src/test/resources/csars/service-VlanD2dSrv-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-consolidated-props-csar.csar b/src/test/resources/csars/service-consolidated-props-csar.csar Binary files differdeleted file mode 100644 index 4a3fde6..0000000 --- a/src/test/resources/csars/service-consolidated-props-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-entry-definition-not-defined.csar b/src/test/resources/csars/service-entry-definition-not-defined.csar Binary files differdeleted file mode 100644 index 47e65b6..0000000 --- a/src/test/resources/csars/service-entry-definition-not-defined.csar +++ /dev/null diff --git a/src/test/resources/csars/service-invalid-conformence-level.csar b/src/test/resources/csars/service-invalid-conformence-level.csar Binary files differdeleted file mode 100644 index 12621f0..0000000 --- a/src/test/resources/csars/service-invalid-conformence-level.csar +++ /dev/null diff --git a/src/test/resources/csars/service-invalid-input-args.csar b/src/test/resources/csars/service-invalid-input-args.csar Binary files differdeleted file mode 100644 index 38a670f..0000000 --- a/src/test/resources/csars/service-invalid-input-args.csar +++ /dev/null diff --git a/src/test/resources/csars/service-invalid-yaml-content-meta.csar b/src/test/resources/csars/service-invalid-yaml-content-meta.csar Binary files differdeleted file mode 100644 index f77af6f..0000000 --- a/src/test/resources/csars/service-invalid-yaml-content-meta.csar +++ /dev/null diff --git a/src/test/resources/csars/service-max-conformence-level.csar b/src/test/resources/csars/service-max-conformence-level.csar Binary files differdeleted file mode 100644 index 0cbb872..0000000 --- a/src/test/resources/csars/service-max-conformence-level.csar +++ /dev/null diff --git a/src/test/resources/csars/service-missing-csar-meta-file.csar b/src/test/resources/csars/service-missing-csar-meta-file.csar Binary files differdeleted file mode 100644 index 7c75314..0000000 --- a/src/test/resources/csars/service-missing-csar-meta-file.csar +++ /dev/null diff --git a/src/test/resources/csars/service-missing-entry-definition.csar b/src/test/resources/csars/service-missing-entry-definition.csar Binary files differdeleted file mode 100644 index 8fd1962..0000000 --- a/src/test/resources/csars/service-missing-entry-definition.csar +++ /dev/null diff --git a/src/test/resources/csars/service-missing-meta-file.csar b/src/test/resources/csars/service-missing-meta-file.csar Binary files differdeleted file mode 100644 index 79348db..0000000 --- a/src/test/resources/csars/service-missing-meta-file.csar +++ /dev/null diff --git a/src/test/resources/csars/service-nested-vfc-csar.csar b/src/test/resources/csars/service-nested-vfc-csar.csar Binary files differdeleted file mode 100644 index 5ee0802..0000000 --- a/src/test/resources/csars/service-nested-vfc-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-resolve-get-input-csar.csar b/src/test/resources/csars/service-resolve-get-input-csar.csar Binary files differdeleted file mode 100644 index d793229..0000000 --- a/src/test/resources/csars/service-resolve-get-input-csar.csar +++ /dev/null diff --git a/src/test/resources/csars/service-resolve-get-input-csar_QA.csar b/src/test/resources/csars/service-resolve-get-input-csar_QA.csar Binary files differdeleted file mode 100644 index a290ff1..0000000 --- a/src/test/resources/csars/service-resolve-get-input-csar_QA.csar +++ /dev/null diff --git a/src/test/resources/csars/service-sunny-flow.csar b/src/test/resources/csars/service-sunny-flow.csar Binary files differdeleted file mode 100644 index 92ae19d..0000000 --- a/src/test/resources/csars/service-sunny-flow.csar +++ /dev/null diff --git a/src/test/resources/csars/service-sunny-flow2.csar b/src/test/resources/csars/service-sunny-flow2.csar Binary files differdeleted file mode 100644 index 0a8af02..0000000 --- a/src/test/resources/csars/service-sunny-flow2.csar +++ /dev/null diff --git a/src/test/resources/log4j.properties b/src/test/resources/log4j.properties deleted file mode 100644 index c18c3da..0000000 --- a/src/test/resources/log4j.properties +++ /dev/null @@ -1,8 +0,0 @@ -# Root logger option -log4j.rootLogger=info, stdout - -# Direct log messages to stdout -log4j.appender.stdout=org.apache.log4j.ConsoleAppender -log4j.appender.stdout.Target=System.out -log4j.appender.stdout.layout=org.apache.log4j.PatternLayout -log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n |