aboutsummaryrefslogtreecommitdiffstats
path: root/dpo
diff options
context:
space:
mode:
Diffstat (limited to 'dpo')
-rw-r--r--dpo/data-formats/ConsulConfig.json6
-rw-r--r--dpo/data-formats/VES-7.30.2_ONAP-dataformat.json3
-rw-r--r--dpo/spec/vescollector-componentspec.json42
3 files changed, 45 insertions, 6 deletions
diff --git a/dpo/data-formats/ConsulConfig.json b/dpo/data-formats/ConsulConfig.json
index dc04abcf..f2276194 100644
--- a/dpo/data-formats/ConsulConfig.json
+++ b/dpo/data-formats/ConsulConfig.json
@@ -68,11 +68,11 @@
}
}
},
- "collector.externalSchema.2ndStageValidation": 1,
+ "collector.externalSchema.checkflag": 1,
"collector.externalSchema.schemasLocation": "./etc/externalRepo",
"collector.externalSchema.mappingFileLocation": "./etc/externalRepo/schema-map.json",
- "collector.externalSchema.schemaRefPath": "/event/stndDefinedFields/schemaReference",
- "collector.externalSchema.stndDefinedDataPath": "/event/stndDefinedFields/data",
+ "event.externalSchema.schemaRefPath": "$.event.stndDefinedFields.schemaReference",
+ "event.externalSchema.stndDefinedDataPath": "$.event.stndDefinedFields.data",
"collector.service.secure.port": "8443",
"auth.method": "noAuth",
"collector.keystore.file.location": "/opt/app/VESCollector/etc/keystore",
diff --git a/dpo/data-formats/VES-7.30.2_ONAP-dataformat.json b/dpo/data-formats/VES-7.30.2_ONAP-dataformat.json
index ec6c261f..f38d54e5 100644
--- a/dpo/data-formats/VES-7.30.2_ONAP-dataformat.json
+++ b/dpo/data-formats/VES-7.30.2_ONAP-dataformat.json
@@ -5,11 +5,10 @@
"description": "VES spec for v7.2"
},
"dataformatversion": "1.0.0",
-
"reference": {
"name": "Common Event Format",
"format": "JSON",
- "version": "30.2",
+ "version": "30.2.0",
"url" : "https://git.onap.org/dcaegen2/collectors/ves/tree/etc/CommonEventFormat_30.2_ONAP.json"
}
}
diff --git a/dpo/spec/vescollector-componentspec.json b/dpo/spec/vescollector-componentspec.json
index 65972c65..5c3e4d9b 100644
--- a/dpo/spec/vescollector-componentspec.json
+++ b/dpo/spec/vescollector-componentspec.json
@@ -1,6 +1,6 @@
{
"self": {
- "version": "1.5.4",
+ "version": "1.7.4",
"name": "dcae-ves-collector",
"description": "Collector for receiving VES events through restful interface",
"component_type": "docker"
@@ -293,6 +293,46 @@
"sourced_at_deployment": false,
"policy_editable": false,
"designer_editable": false
+ },
+ {
+ "name": "collector.externalSchema.checkflag",
+ "value": 1,
+ "description": "Schema stndDefined validation flag. When enabled, collector will validate stndDefined fields in stndDefined domain events against mapped local schemas listed in file from property collector.externalSchema.mappingFileLocation.",
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "designer_editable": true
+ },
+ {
+ "name": "collector.externalSchema.schemasLocation",
+ "value": "./etc/externalRepo/",
+ "description": "External schemas repository. Path to schemas storage directory.",
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "designer_editable": false
+ },
+ {
+ "name": "collector.externalSchema.mappingFileLocation",
+ "value": "./etc/externalRepo/schema-map.json",
+ "description": "Path to JSON file containing mapping of externally located stndDefined schemas to local schema files.",
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "designer_editable": false
+ },
+ {
+ "name": "event.externalSchema.schemaRefPath",
+ "value": "$.event.stndDefinedFields.schemaReference",
+ "description": "An internal path from validated JSON. Defines which field is taken as public schema reference, which is later mapped.",
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "designer_editable": false
+ },
+ {
+ "name": "event.externalSchema.stndDefinedDataPath",
+ "value": "$.event.stndDefinedFields.data",
+ "description": "An internal path from validated JSON. Defines which field of event will be validated during stndDefined validation.",
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "designer_editable": false
}
],
"auxilary": {