summaryrefslogtreecommitdiffstats
path: root/src/test/resources/model-validation/model-instance-mapping.json_conf
diff options
context:
space:
mode:
authormark.j.leonard <mark.j.leonard@gmail.com>2019-02-18 16:03:02 +0000
committerTian Lee <TianL@amdocs.com>2019-02-19 11:36:00 +0000
commitd234dc1544375a38437c207db757274081d99a89 (patch)
tree0313271687a36a3ebf3e0bfc9843191bcb0604af /src/test/resources/model-validation/model-instance-mapping.json_conf
parent4b005ff11a6321d92340228cb10de717880db448 (diff)
Remove unused test configuration files
Also fix some checkstyle warnings regarding Javadoc comments. Issue-ID: AAI-2057 Change-Id: If654c63ec6a5f9888fdf597e51ad0cad9f363a90 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
Diffstat (limited to 'src/test/resources/model-validation/model-instance-mapping.json_conf')
-rw-r--r--src/test/resources/model-validation/model-instance-mapping.json_conf28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/test/resources/model-validation/model-instance-mapping.json_conf b/src/test/resources/model-validation/model-instance-mapping.json_conf
new file mode 100644
index 0000000..12d39ea
--- /dev/null
+++ b/src/test/resources/model-validation/model-instance-mapping.json_conf
@@ -0,0 +1,28 @@
+[
+ {
+ "mappingType": "RELATIONSHIP",
+ "model": {
+ "root": "model-elements/model-element",
+ "id": "relationship-list/relationship/relationship-data/relationship-value[../relationship-key/text()='model.model-name-version-id']",
+ "value": "relationship-list/relationship/related-to-property/property-value[../property-key/text()='model.model-name']",
+ "filter": {
+ "path": "relationship-list/relationship/related-to-property/property-value[../property-key/text()='model.model-type']",
+ "valid": ["widget"]
+ }
+ },
+ "instance": {
+ "origin": "$.inventory-response-item[0]",
+ "root": "$.inventory-response-items.inventory-response-item[*]"
+ }
+ },
+ {
+ "mappingType": "ATTRIBUTE",
+ "model": {
+ "value": "metadata/metadatum/metaname"
+ },
+ "instance": {
+ "origin": "$.inventory-response-item[0]",
+ "value": "$..extra-properties.metadatum[*].metaname"
+ }
+ }
+]