summaryrefslogtreecommitdiffstats
path: root/src/test/resources/config
diff options
context:
space:
mode:
authorPavel Aharoni <pa0916@att.com>2017-06-08 12:26:00 +0300
committerPavel Aharoni <pa0916@att.com>2017-06-08 12:26:00 +0300
commit6b61b88108c5d35efb61cd1006d0a3b9db9d35bf (patch)
tree85c77d3d6e944f58ba6a9b3a5e9ac3778658d5a2 /src/test/resources/config
parent9b5e11ba43f82c87623e05671a96a4ce0aedfde7 (diff)
[SDC-30] SDC-TOSCA initial commit
Change-Id: I1048701a6f4a2e14cb37ecc6205b07ffce8af38f Signed-off-by: Pavel Aharoni <pa0916@att.com>
Diffstat (limited to 'src/test/resources/config')
-rw-r--r--src/test/resources/config/configuration.yaml3
-rw-r--r--src/test/resources/config/error-configuration.yaml18
2 files changed, 21 insertions, 0 deletions
diff --git a/src/test/resources/config/configuration.yaml b/src/test/resources/config/configuration.yaml
new file mode 100644
index 0000000..379e962
--- /dev/null
+++ b/src/test/resources/config/configuration.yaml
@@ -0,0 +1,3 @@
+conformanceLevel:
+ minVersion: '3.0'
+ maxVersion: '3.0' \ No newline at end of file
diff --git a/src/test/resources/config/error-configuration.yaml b/src/test/resources/config/error-configuration.yaml
new file mode 100644
index 0000000..3febd33
--- /dev/null
+++ b/src/test/resources/config/error-configuration.yaml
@@ -0,0 +1,18 @@
+# Errors
+errors:
+ FILE_NOT_FOUND: {
+ code: TP0001,
+ message: "Error: CSAR file not found."
+ }
+ BAD_FORMAT: {
+ code: TP0002,
+ message: "Error: CSAR file bad format. Check the log for details."
+ }
+ CONFORMANCE_LEVEL_ERROR: {
+ code: TP0003,
+ message: "Error: CSAR version is unsupported. Parser supports versions %s to %s."
+ }
+ GENERAL_ERROR: {
+ code: TP0004,
+ message: "Error: an unexpected internal error occured."
+ } \ No newline at end of file