aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/invalid-tosca-mappings.json
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/test/resources/invalid-tosca-mappings.json
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/test/resources/invalid-tosca-mappings.json')
-rw-r--r--src/test/resources/invalid-tosca-mappings.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/resources/invalid-tosca-mappings.json b/src/test/resources/invalid-tosca-mappings.json
new file mode 100644
index 0000000..bbd27bd
--- /dev/null
+++ b/src/test/resources/invalid-tosca-mappings.json
@@ -0,0 +1 @@
+test file that does not contain valid JSON content \ No newline at end of file