aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
authormark.j.leonard <mark.j.leonard@gmail.com>2019-03-05 12:28:24 +0000
committermark.j.leonard <mark.j.leonard@gmail.com>2019-03-05 12:28:24 +0000
commitf5dae47e293ae63a7a2f18230b772a699a52566f (patch)
treeaa8b90e1ed811ea3168ad8778baf145857993652 /src/main/resources
parentbe30876e3a3872a7274c944995544836ff31913c (diff)
Move Widget attribute data to the mappings JSON
Extend the TOSCA mappings JSON content by adding a set of of Widget types defining the type name and data-delete flag. In this change the set of supported types (defined by an enum) remains. However the intention is to replace this in a future commit. The hierarchy of annotated Widget types is replaced by this new configuration, which is accessed from the Widget class. Refactoring has been kept to a minimum to simplify the code review process but further improvements can now be made. Ideally the set of supported Widgets can be extended through configuration changes only. Change-Id: I005cfe6976778b14f14c3ad06d8acf3745c8dd8f Issue-ID: AAI-2212 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/babel-logging-resources.properties5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/resources/babel-logging-resources.properties b/src/main/resources/babel-logging-resources.properties
index 167c369..841bdaf 100644
--- a/src/main/resources/babel-logging-resources.properties
+++ b/src/main/resources/babel-logging-resources.properties
@@ -89,4 +89,9 @@ MISSING_SERVICE_METADATA=\
TEMP_FILE_ERROR=\
BABEL0012E|\
Error creating temporary CSAR file.|\
+
+LOAD_PROPERTIES=\
+ BABEL0013E|\
+ Error loading properties: {0}|Correct the file contents|\
+
\ No newline at end of file