summaryrefslogtreecommitdiffstats
path: root/common-app-api/src/test/resources/config/common/error-configuration.yaml
diff options
context:
space:
mode:
authorm.kowalski3 <m.kowalski3@partner.samsung.com>2019-05-29 16:07:52 +0200
committerOren Kleks <orenkle@amdocs.com>2019-05-30 10:14:52 +0000
commit937803bdd4b6e459093e42d784195a60556a7021 (patch)
tree293ff78115acccf18bdeab69b9b03b63a41a8b4e /common-app-api/src/test/resources/config/common/error-configuration.yaml
parentdc5e4d94869c09c3961e58dd149d6f9150b80256 (diff)
Add unit tests for ConfigurationManager
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I2acfba224c46ffa743a254b1c560767b947f8fdd
Diffstat (limited to 'common-app-api/src/test/resources/config/common/error-configuration.yaml')
-rw-r--r--common-app-api/src/test/resources/config/common/error-configuration.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/common-app-api/src/test/resources/config/common/error-configuration.yaml b/common-app-api/src/test/resources/config/common/error-configuration.yaml
new file mode 100644
index 0000000000..9db9bbdc58
--- /dev/null
+++ b/common-app-api/src/test/resources/config/common/error-configuration.yaml
@@ -0,0 +1,26 @@
+# Errors
+errors:
+ OK: {
+ code: 200,
+ message: "OK"
+ }
+ CREATED: {
+ code: 201,
+ message: "OK"
+ }
+ NO_CONTENT: {
+ code: 204,
+ message: "No Content"
+ }
+#--------POL4050-----------------------------
+ NOT_ALLOWED: {
+ code: 405,
+ message: "Error: Method not allowed.",
+ messageId: "POL4050"
+ }
+#--------POL5000-----------------------------
+ GENERAL_ERROR: {
+ code: 500,
+ message: "Error: Internal Server Error. Please try again later.",
+ messageId: "POL5000"
+ }