diff options
Diffstat (limited to 'src/test/resources')
-rw-r--r-- | src/test/resources/config/jtosca-validation-issue-configuration.yaml | 57 | ||||
-rw-r--r-- | src/test/resources/csars/service-Ipassignservice-csar.csar | bin | 50084 -> 49044 bytes | |||
-rw-r--r-- | src/test/resources/csars/service-PortMirroring.csar | bin | 56821 -> 55678 bytes | |||
-rw-r--r-- | src/test/resources/csars/service-ServiceForToscaParserTests-csar.csar | bin | 78543 -> 77413 bytes | |||
-rw-r--r-- | src/test/resources/csars/service-nested-vfc-csar.csar | bin | 47690 -> 46662 bytes | |||
-rw-r--r-- | src/test/resources/csars/service-resolve-get-input-csar.csar | bin | 50501 -> 49461 bytes | |||
-rw-r--r-- | src/test/resources/csars/service-resolve-get-input-csar_QA.csar | bin | 50447 -> 50447 bytes |
7 files changed, 57 insertions, 0 deletions
diff --git a/src/test/resources/config/jtosca-validation-issue-configuration.yaml b/src/test/resources/config/jtosca-validation-issue-configuration.yaml new file mode 100644 index 0000000..1378ca7 --- /dev/null +++ b/src/test/resources/config/jtosca-validation-issue-configuration.yaml @@ -0,0 +1,57 @@ +# 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/csars/service-Ipassignservice-csar.csar b/src/test/resources/csars/service-Ipassignservice-csar.csar Binary files differindex abdcd3e..c065fea 100644 --- a/src/test/resources/csars/service-Ipassignservice-csar.csar +++ b/src/test/resources/csars/service-Ipassignservice-csar.csar diff --git a/src/test/resources/csars/service-PortMirroring.csar b/src/test/resources/csars/service-PortMirroring.csar Binary files differindex 6186291..b90f3b1 100644 --- a/src/test/resources/csars/service-PortMirroring.csar +++ b/src/test/resources/csars/service-PortMirroring.csar diff --git a/src/test/resources/csars/service-ServiceForToscaParserTests-csar.csar b/src/test/resources/csars/service-ServiceForToscaParserTests-csar.csar Binary files differindex f6c7769..a3e6f70 100644 --- a/src/test/resources/csars/service-ServiceForToscaParserTests-csar.csar +++ b/src/test/resources/csars/service-ServiceForToscaParserTests-csar.csar diff --git a/src/test/resources/csars/service-nested-vfc-csar.csar b/src/test/resources/csars/service-nested-vfc-csar.csar Binary files differindex 0275520..5ee0802 100644 --- a/src/test/resources/csars/service-nested-vfc-csar.csar +++ b/src/test/resources/csars/service-nested-vfc-csar.csar 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 differindex fe433f6..7c14159 100644 --- a/src/test/resources/csars/service-resolve-get-input-csar.csar +++ b/src/test/resources/csars/service-resolve-get-input-csar.csar 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 differindex c35c890..37cb0f0 100644 --- a/src/test/resources/csars/service-resolve-get-input-csar_QA.csar +++ b/src/test/resources/csars/service-resolve-get-input-csar_QA.csar |