aboutsummaryrefslogtreecommitdiffstats
path: root/datafile-app-server/dpo/spec
diff options
context:
space:
mode:
authorYongchaoWu <yongchao.wu@est.tech>2019-03-04 11:10:53 +0000
committerYongchaoWu <yongchao.wu@est.tech>2019-03-04 11:10:53 +0000
commitac8a0a5b22925243abaa803101f0184f0ed12660 (patch)
tree878e35812b089f18a23333158ad6de140dba29b7 /datafile-app-server/dpo/spec
parente63b7179e260e9f9db64101409b2872eab1fe639 (diff)
DFC DCAE design artifact support
Add blueprints, dataformat, component specs, policy and tosca models. Issue-ID: DCAEGEN2-1156 Change-Id: Id1b6573c3cd72a90ab2feca2180ce1d04ecf98c4 Signed-off-by: YongchaoWu <yongchao.wu@est.tech>
Diffstat (limited to 'datafile-app-server/dpo/spec')
-rw-r--r--datafile-app-server/dpo/spec/datafile-component-spec.json96
-rw-r--r--datafile-app-server/dpo/spec/dmaap.json14
2 files changed, 110 insertions, 0 deletions
diff --git a/datafile-app-server/dpo/spec/datafile-component-spec.json b/datafile-app-server/dpo/spec/datafile-component-spec.json
new file mode 100644
index 00000000..43ac27b5
--- /dev/null
+++ b/datafile-app-server/dpo/spec/datafile-component-spec.json
@@ -0,0 +1,96 @@
+{
+ "self": {
+ "name": "dcaegen2.collectors.datafile.datafile-app-server",
+ "version": "1.0.0",
+ "description": "Docker application to collect log file from PNF",
+ "component_type": "docker"
+ },
+ "streams": {
+ "subscribes": [
+ {
+ "type": "message_router",
+ "config_key": "datafile_subscribe_mr",
+ "format": "VES_specification",
+ "version": "7.30.1"
+ }
+ ],
+ "publishes": [
+ {
+ "type": "data_router",
+ "config_key": "datafile_publish_dr",
+ "format": "3GPP_XML",
+ "version": "1.0.0"
+ }
+ ]
+ },
+ "services": {
+ "calls": [],
+ "provides": []
+ },
+ "auxilary": {
+ "healthcheck": {
+ "type": "http",
+ "interval": "15s",
+ "timeout": "1s",
+ "endpoint": "/heartbeat"
+ }
+ },
+ "artifacts": [
+ {
+ "uri": "nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest",
+ "type": "docker image"
+ }
+ ],
+ "parameters": [
+ {
+ "name": "service_name",
+ "value": "datafile",
+ "description": "Name of the service",
+ "designer_editable": true,
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "type": "string",
+ "required": true
+ },
+ {
+ "name": "buscontroller_feed_publishing_endpoint",
+ "value": "http://dmaap-bc.onap.svc.cluster.local:8080/webapi/feeds",
+ "description": "DMAAP Bus Controller feed endpoint",
+ "designer_editable": true,
+ "sourced_at_deployment": false,
+ "policy_editable": true,
+ "type": "string",
+ "required": true
+ },
+ {
+ "name": "dmaap_dr_feed_id",
+ "value": "bulk_pm_feed",
+ "description": "ID of the data router feed that the datafile collector will publish",
+ "designer_editable": true,
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "type": "string",
+ "required": true
+ },
+ {
+ "name": "streams_consumer.datafile_consume_mr.message_router_topic",
+ "value": "/events/unauthenticated.VES_NOTIFICATION_OUTPUT",
+ "description": "datafile collector consume VES event to message router topic ",
+ "designer_editable": true,
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "type": "string",
+ "required": true
+ },
+ {
+ "name": "datafile.policy",
+ "value": "",
+ "description": "datafile Policy JSON as string",
+ "designer_editable": false,
+ "sourced_at_deployment": false,
+ "policy_editable": true,
+ "type": "string",
+ "required": true
+ }
+ ]
+}
diff --git a/datafile-app-server/dpo/spec/dmaap.json b/datafile-app-server/dpo/spec/dmaap.json
new file mode 100644
index 00000000..64ceb880
--- /dev/null
+++ b/datafile-app-server/dpo/spec/dmaap.json
@@ -0,0 +1,14 @@
+{
+ "datafile_subscribe_mr": {
+ "type": "message_router",
+ "dmaap_info": {
+ "topic_url": "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
+ }
+ },
+ "datafile_publish_dr": {
+ "type": "data_router",
+ "dmaap_info": {
+ "publish_url": ""
+ }
+ }
+}