Krysiak Adam | cdfe48c | 2019-01-29 15:59:00 +0100 | [diff] [blame] | 1 | { |
| 2 | "global": |
| 3 | [ |
| 4 | { |
| 5 | "name": "service", |
| 6 | "value": |
| 7 | [ |
| 8 | "0f983e18-4603-4bb4-a98c-e29691fb16a1" |
| 9 | ] |
| 10 | }, |
| 11 | |
| 12 | { |
| 13 | "name": "vf", |
| 14 | "value": |
| 15 | [ |
| 16 | "6c7aaec2-59eb-41d9-8681-b7f976ab668d", |
| 17 | "8sadsad0-a98s-6a7s-fd12-sadji9sa8d12", |
| 18 | "8sfd71ad-a90d-asd9-as87-8a7sd81adsaa" |
| 19 | ] |
| 20 | }, |
| 21 | |
| 22 | { |
| 23 | "name": "actionSet", |
| 24 | "value": |
| 25 | [ |
| 26 | "vnfRecipe" |
| 27 | ] |
| 28 | }, |
| 29 | |
| 30 | { |
| 31 | "name": "location", |
| 32 | "value": |
| 33 | [ |
| 34 | "SNDGCA64" |
| 35 | ] |
| 36 | }, |
| 37 | { |
| 38 | "name": "timeout", |
| 39 | "value": "500" |
| 40 | }, |
| 41 | { |
| 42 | "name": "deployParameters", |
| 43 | "value": { |
| 44 | "aaiEnrichmentHost": "aai.onap.svc.cluster.local", |
| 45 | "aaiEnrichmentPort": "8443", |
| 46 | "enableAAIEnrichment": true, |
| 47 | "dmaap_host": "message-router", |
| 48 | "dmaap_port": "3904", |
| 49 | "enableRedisCaching": false, |
| 50 | "redisHosts": "dcae-redis:6379", |
| 51 | "tag_version": "nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tca-cdap-container:1.1.0", |
| 52 | "consul_host": "consul-server", |
| 53 | "consul_port": "8500", |
| 54 | "cbs_host": "config-binding-service", |
| 55 | "cbs_port": "10000", |
| 56 | "external_port": "32010", |
| 57 | "policy_id": "AUTO_GENERATED_POLICY_ID_AT_SUBMIT" |
| 58 | } |
| 59 | } |
| 60 | ], |
| 61 | |
| 62 | "Policy_": |
| 63 | { |
| 64 | "Policy1": |
| 65 | [ |
| 66 | { |
| 67 | "name": "pname", |
| 68 | "value": "Policy1" |
| 69 | }, |
| 70 | |
| 71 | { |
| 72 | "name": "pid", |
| 73 | "value": "1" |
| 74 | }, |
| 75 | |
| 76 | { |
| 77 | "name": "timeout", |
| 78 | "value": "500" |
| 79 | }, |
| 80 | |
| 81 | { |
| 82 | "policyConfigurations": |
| 83 | [ |
| 84 | [ |
| 85 | { |
| 86 | "name": "recipe", |
| 87 | "value": |
| 88 | [ |
| 89 | "restart" |
| 90 | ] |
| 91 | }, |
| 92 | |
| 93 | { |
| 94 | "name": "maxRetries", |
| 95 | "value": |
| 96 | [ |
| 97 | "3" |
| 98 | ] |
| 99 | }, |
| 100 | |
| 101 | { |
| 102 | "name": "retryTimeLimit", |
| 103 | "value": |
| 104 | [ |
| 105 | "180" |
| 106 | ] |
| 107 | }, |
| 108 | |
| 109 | { |
| 110 | "name": "_id", |
| 111 | "value": |
| 112 | [ |
| 113 | "n9bQ4t6" |
| 114 | ] |
| 115 | }, |
| 116 | |
| 117 | { |
| 118 | "name": "parentPolicy", |
| 119 | "value": |
| 120 | [ |
| 121 | "" |
| 122 | ] |
| 123 | }, |
| 124 | { |
| 125 | "name": "targetResourceId", |
| 126 | "value": |
| 127 | [ |
| 128 | "resource-id" |
| 129 | ] |
| 130 | } |
| 131 | ], |
| 132 | |
| 133 | [ |
| 134 | { |
| 135 | "name": "recipe", |
| 136 | "value": |
| 137 | [ |
| 138 | "rebuild" |
| 139 | ] |
| 140 | }, |
| 141 | |
| 142 | { |
| 143 | "name": "maxRetries", |
| 144 | "value": |
| 145 | [ |
| 146 | "3" |
| 147 | ] |
| 148 | }, |
| 149 | |
| 150 | { |
| 151 | "name": "retryTimeLimit", |
| 152 | "value": |
| 153 | [ |
| 154 | "180" |
| 155 | ] |
| 156 | }, |
| 157 | |
| 158 | { |
| 159 | "name": "_id", |
| 160 | "value": |
| 161 | [ |
| 162 | "ItE5xKT" |
| 163 | ] |
| 164 | }, |
| 165 | |
| 166 | { |
| 167 | "name": "parentPolicy", |
| 168 | "value": |
| 169 | [ |
| 170 | "n9bQ4t6" |
| 171 | ] |
| 172 | }, |
| 173 | |
| 174 | { |
| 175 | "name": "parentPolicyConditions", |
| 176 | "value": |
| 177 | [ |
| 178 | "Failure_Retries", |
| 179 | "Failure_Timeout", |
| 180 | "Failure_Exception", |
| 181 | "Failure" |
| 182 | ] |
| 183 | }, |
| 184 | { |
| 185 | "name": "targetResourceId", |
| 186 | "value": |
| 187 | [ |
| 188 | "resource-id" |
| 189 | ] |
| 190 | } |
| 191 | ] |
| 192 | ] |
| 193 | } |
| 194 | ] |
| 195 | }, |
| 196 | |
| 197 | "TCA_": |
| 198 | { |
| 199 | "Narra": |
| 200 | [ |
| 201 | { |
| 202 | "name": "tname", |
| 203 | "value": "Narra" |
| 204 | }, |
| 205 | |
| 206 | { |
| 207 | "name": "tuuid", |
| 208 | "value": "886be8da-14fe-tca1-d04b-d13b55d58df9" |
| 209 | }, |
| 210 | |
| 211 | { |
| 212 | "name": "tnfc", |
| 213 | "value": "ENBE" |
| 214 | }, |
| 215 | |
| 216 | { |
| 217 | "name": "tcaEnab", |
| 218 | "value": "on" |
| 219 | }, |
| 220 | |
| 221 | { |
| 222 | "name": "tcaPol", |
| 223 | "value": "Policy1" |
| 224 | }, |
| 225 | |
| 226 | { |
| 227 | "name": "tcaPolId", |
| 228 | "value": "1" |
| 229 | }, |
| 230 | |
| 231 | { |
| 232 | "name": "tcaInt", |
| 233 | "value": "2" |
| 234 | }, |
| 235 | |
| 236 | { |
| 237 | "name": "tcaSev", |
| 238 | "value": "Warning" |
| 239 | }, |
| 240 | |
| 241 | { |
| 242 | "name": "tcaVio", |
| 243 | "value": "3" |
| 244 | }, |
| 245 | |
| 246 | { |
| 247 | "serviceConfigurations": |
| 248 | [ |
| 249 | [ |
| 250 | "PMRRCCONNESTABFAILCELLLATENCY", |
| 251 | "LESS", |
| 252 | "4", |
| 253 | "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[?(@.Name == 'PMRRCCONNESTABFAILCELLLATENCY')].Value" |
| 254 | ], |
| 255 | |
| 256 | [ |
| 257 | "PMRAATTCBRA", |
| 258 | "GREATER", |
| 259 | "30", |
| 260 | "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[?(@.Name == 'PMRAATTCBRA')].Value" |
| 261 | ] |
| 262 | ] |
| 263 | } |
| 264 | ] |
| 265 | }, |
| 266 | |
| 267 | "CustomType_": [ |
| 268 | { |
| 269 | "name": "test", |
| 270 | "value": "This is a test" |
| 271 | } |
| 272 | ] |
| 273 | } |