dfarrelly | 5e40fbf | 2019-02-20 14:26:37 +0000 | [diff] [blame^] | 1 | { |
| 2 | "self": { |
| 3 | "name": "dcaegen2.services.pm-mapper", |
| 4 | "version": "1.0.0", |
| 5 | "description": "Docker application to map bulk PM files to VES events", |
| 6 | "component_type": "docker" |
| 7 | }, |
| 8 | "streams": { |
| 9 | "subscribes": [ |
| 10 | { |
| 11 | "type": "data_router", |
| 12 | "config_key": "pm_mapper_subscribe_dr", |
| 13 | "route": "/delivery", |
| 14 | "format": "3GPP_XML", |
| 15 | "version": "1.0.0" |
| 16 | } |
| 17 | ], |
| 18 | "publishes": [ |
| 19 | { |
| 20 | "type": "message_router", |
| 21 | "config_key": "pm_mapper_publish_mr", |
| 22 | "format": "VES_specification", |
| 23 | "version": "7.30.1" |
| 24 | } |
| 25 | ] |
| 26 | }, |
| 27 | "services": { |
| 28 | "calls": [], |
| 29 | "provides": [] |
| 30 | }, |
| 31 | "auxilary": { |
| 32 | "healthcheck": { |
| 33 | "type": "http", |
| 34 | "interval": "30s", |
| 35 | "timeout": "10s", |
| 36 | "endpoint": "/healthcheck" |
| 37 | }, |
| 38 | "policy": { |
| 39 | "trigger_type": "docker", |
| 40 | "script_path": "/opt/app/reconfigure.sh" |
| 41 | } |
| 42 | }, |
| 43 | "artifacts": [ |
| 44 | { |
| 45 | "uri": "nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pm-mapper:1.0-SNAPSHOT", |
| 46 | "type": "docker image" |
| 47 | } |
| 48 | ], |
| 49 | "parameters": [ |
| 50 | { |
| 51 | "name": "service_name", |
| 52 | "value": "pm-mapper", |
| 53 | "description": "Name of the service", |
| 54 | "designer_editable": true, |
| 55 | "sourced_at_deployment": false, |
| 56 | "policy_editable": false, |
| 57 | "type": "string", |
| 58 | "required": true |
| 59 | }, |
| 60 | { |
| 61 | "name": "buscontroller_feed_subscription_endpoint", |
| 62 | "value": "http://dmaap-bc.onap.svc.cluster.local:8080/webapi/dr_subs", |
| 63 | "description": "DMAAP Bus Controller subscription endpoint", |
| 64 | "designer_editable": true, |
| 65 | "sourced_at_deployment": false, |
| 66 | "policy_editable": true, |
| 67 | "type": "string", |
| 68 | "required": true |
| 69 | }, |
| 70 | { |
| 71 | "name": "dmaap_dr_feed_id", |
| 72 | "value": "bulk_pm_feed", |
| 73 | "description": "ID of the data router feed that the PM Mapper will subscribe to", |
| 74 | "designer_editable": true, |
| 75 | "sourced_at_deployment": false, |
| 76 | "policy_editable": true, |
| 77 | "type": "string", |
| 78 | "required": true |
| 79 | }, |
| 80 | { |
| 81 | "name": "dmaap_dr_delete_endpoint", |
| 82 | "value": "http://dmaap-dr-node.onap.svc.cluster.local:8443/delete", |
| 83 | "description": "DMAAP Data Router endpoint to delete file", |
| 84 | "designer_editable": true, |
| 85 | "sourced_at_deployment": false, |
| 86 | "policy_editable": true, |
| 87 | "type": "string", |
| 88 | "required": true |
| 89 | }, |
| 90 | { |
| 91 | "name": "filter", |
| 92 | "value": "{ \"filters\":[]}", |
| 93 | "description": "PM mapper filter on measInfo, measInfoId, measType, instanceId", |
| 94 | "designer_editable": true, |
| 95 | "sourced_at_deployment": false, |
| 96 | "policy_editable": false, |
| 97 | "type": "string", |
| 98 | "required": true |
| 99 | }, |
| 100 | { |
| 101 | "name": "policy", |
| 102 | "value": "", |
| 103 | "description": "PM Mapper policy JSON string", |
| 104 | "designer_editable": false, |
| 105 | "sourced_at_deployment": false, |
| 106 | "policy_editable": true, |
| 107 | "type": "string", |
| 108 | "required": true |
| 109 | } |
| 110 | ] |
| 111 | } |