summaryrefslogtreecommitdiffstats
path: root/src/main/resources/config
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2019-11-14 11:24:56 +0000
committervasraz <vasyl.razinkov@est.tech>2019-11-18 09:56:55 +0000
commit134bed676f01745969408d522ca9ac6c482ba549 (patch)
tree03454c5d7f899ed67653c590ad190cac4a78718f /src/main/resources/config
parentf5bde6a64eaaa32fd4cfebfd7589c066962c7ddf (diff)
Move jTosca contents to sdc-tosca
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I5c47a8fd7d4ff295149d1d9b29aea71ae56cbcd4 Issue-ID: SDC-2457
Diffstat (limited to 'src/main/resources/config')
-rw-r--r--src/main/resources/config/configuration.yaml3
-rw-r--r--src/main/resources/config/error-configuration.yaml22
-rw-r--r--src/main/resources/config/jtosca-validation-issue-configuration.yaml61
3 files changed, 0 insertions, 86 deletions
diff --git a/src/main/resources/config/configuration.yaml b/src/main/resources/config/configuration.yaml
deleted file mode 100644
index 4a620c3..0000000
--- a/src/main/resources/config/configuration.yaml
+++ /dev/null
@@ -1,3 +0,0 @@
-conformanceLevel:
- minVersion: '3.0'
- maxVersion: '10.0' \ No newline at end of file
diff --git a/src/main/resources/config/error-configuration.yaml b/src/main/resources/config/error-configuration.yaml
deleted file mode 100644
index ff9c6ed..0000000
--- a/src/main/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."
- }
diff --git a/src/main/resources/config/jtosca-validation-issue-configuration.yaml b/src/main/resources/config/jtosca-validation-issue-configuration.yaml
deleted file mode 100644
index 85861b5..0000000
--- a/src/main/resources/config/jtosca-validation-issue-configuration.yaml
+++ /dev/null
@@ -1,61 +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
- #NodeTypeRequirementUnfulfilled
- JE11:
- - issueType: WARNING
- sinceCsarConformanceLevel: 3.0
- #InvalidTypeError
- JE136:
- - issueType: CRITICAL
- sinceCsarConformanceLevel: 3.0
- #Exception from SnakeYAML
- JE198:
- - issueType: CRITICAL
- sinceCsarConformanceLevel: 3.0