From f5dae47e293ae63a7a2f18230b772a699a52566f Mon Sep 17 00:00:00 2001 From: "mark.j.leonard" Date: Tue, 5 Mar 2019 12:28:24 +0000 Subject: 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 --- src/main/resources/babel-logging-resources.properties | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main/resources') 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 -- cgit