summaryrefslogtreecommitdiffstats
path: root/dpo/spec/pmmapper-component-spec.json
blob: 67348417de10b70d740baba3fb7889f92bfbc56e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
  "self": {
    "name": "dcae-pm-mapper",
    "version": "1.1.0",
    "description": "Docker application to map bulk PM files to VES events",
    "component_type": "docker"
  },
  "streams": {
    "subscribes": [
      {
        "type": "data_router",
        "config_key": "dmaap_subscriber",
        "route": "/delivery",
        "privileged": true,
        "decompress": true,
        "format": "3GPP_XML",
        "version": "1.0.0"
      }
    ],
    "publishes": [
      {
        "type": "message_router",
        "config_key": "dmaap_publisher",
        "format": "VES_specification",
        "version": "7.30.1"
      }
    ]
  },
  "services": {
    "calls": [],
    "provides": []
  },
  "auxilary": {
    "healthcheck": {
      "type": "https",
      "interval": "15s",
      "timeout": "10s",
      "endpoint": "/healthcheck"
    },
    "policy": {
      "trigger_type": "docker",
      "script_path": "/opt/app/reconfigure.sh"
    },
    "volumes": [
      {
        "container": {
          "bind": "/opt/app/pm-mapper/etc/cert/"
        },
        "host": {
          "path": "/opt/app/pm-mapper/etc/cert/"
        }
      },
      {
        "container": {
          "bind": "/var/log/ONAP/dcaegen2/services/pm-mapper"
        },
        "host": {
          "path": "/var/log/ONAP/dcaegen2/services/pm-mapper"
        }
      }
    ],
    "ports": [
      "8443:0",
      "8001:0"
    ]
  },
  "artifacts": [
    {
      "uri": "nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pm-mapper:latest",
      "type": "docker image"
    }
  ],
  "parameters": [
    {
      "name": "service_name",
      "value": "dcae-pm-mapper",
      "description": "Name of the service",
      "designer_editable": true,
      "sourced_at_deployment": false,
      "policy_editable": false,
      "type": "string",
      "required": true
    },
    {
      "name": "enable_http",
      "value": "false",
      "description": "Option to turn on HTTP connections",
      "designer_editable": true,
      "sourced_at_deployment": false,
      "policy_editable": false,
      "type": "string",
      "required": true
    },
    {
      "name": "trust_store_path",
      "value": "/opt/app/pm-mapper/etc/cert/trust.jks.b64",
      "description": "Points to private key store file",
      "sourced_at_deployment": false,
      "policy_editable": false,
      "designer_editable": false
    },
    {
      "name": "trust_store_pass_path",
      "value": "/opt/app/pm-mapper/etc/cert/trust.pass",
      "description": "File which contains password for the key store",
      "sourced_at_deployment": false,
      "policy_editable": false,
      "designer_editable": false
    },
    {
      "name": "key_store_path",
      "value": "/opt/app/pm-mapper/etc/cert/cert.jks.b64",
      "description": "Points to trust store file which contains trusted client certificates and/or CAs",
      "sourced_at_deployment": false,
      "policy_editable": false,
      "designer_editable": false
    },
    {
      "name": "key_store_pass_path",
      "value": "/opt/app/pm-mapper/etc/cert/jks.pass",
      "description": "File which contains password for the trust store",
      "sourced_at_deployment": false,
      "policy_editable": false,
      "designer_editable": false
    },
    {
      "name": "dmaap_dr_delete_endpoint",
      "value": "https://dmaap-dr-node:8443/delete",
      "description": "DMAAP Data Router endpoint to delete file",
      "designer_editable": true,
      "sourced_at_deployment": false,
      "policy_editable": false,
      "type": "string",
      "required": true
    },
    {
      "name": "pm-mapper-filter",
      "value": "{ \"filters\":[]}",
      "description": "PM mapper filter on measInfo, measInfoId, measType, instanceId",
      "designer_editable": true,
      "sourced_at_deployment": false,
      "type": "string",
      "required": true,
      "policy_editable": true,
      "policy_schema": [{
        "name": "filter configuration",
        "description": "Filter configuration needs to be applied",
        "type": "string",
        "value": ""
      }]
    }
  ]
}