aboutsummaryrefslogtreecommitdiffstats
path: root/policy-endpoints/src/test/resources/org/onap/policy/common/endpoints/event/comm/TopicEndpointProxyTest.json
blob: 9c8d78e5867d27579617b3434a3163cf8343daa9 (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
{
  "locked" : false,
  "alive" : false,
  "topicSources" : [ {
    "servers" : [ "my-server" ],
    "topic" : "ueb-source",
    "effectiveTopic" : "my-effective-topic",
    "recentEvents" : [ ],
    "alive" : false,
    "locked" : false,
    "apiKey" : "my-api-key",
    "apiSecret" : "my-api-secret",
    "useHttps" : true,
    "allowSelfSignedCerts" : true,
    "consumerGroup" : "${obj.topicSources[0].consumerGroup}",
    "consumerInstance" : "${obj.topicSources[0].consumerInstance}",
    "fetchTimeout" : 101,
    "fetchLimit" : 100,
    "topicCommInfrastructure" : "UEB"
  }, {
    "servers" : [ "my-server" ],
    "topic" : "dmaap-source",
    "effectiveTopic" : "my-effective-topic",
    "recentEvents" : [ ],
    "alive" : false,
    "locked" : false,
    "apiKey" : "my-api-key",
    "apiSecret" : "my-api-secret",
    "useHttps" : true,
    "allowSelfSignedCerts" : true,
    "consumerGroup" : "my-cons-group",
    "consumerInstance" : "my-cons-inst",
    "fetchTimeout" : 101,
    "fetchLimit" : 100,
    "topicCommInfrastructure" : "DMAAP"
  }, {
    "servers" : [ "my-server" ],
    "topic" : "noop-source",
    "effectiveTopic" : "noop-source",
    "recentEvents" : [ ],
    "alive" : false,
    "locked" : false,
    "topicCommInfrastructure" : "NOOP"
  } ],
  "topicSinks" : [ {
    "servers" : [ "my-server" ],
    "topic" : "ueb-sink",
    "effectiveTopic" : "my-effective-topic",
    "recentEvents" : [ ],
    "alive" : false,
    "locked" : false,
    "apiKey" : "my-api-key",
    "apiSecret" : "my-api-secret",
    "useHttps" : true,
    "allowSelfSignedCerts" : true,
    "topicCommInfrastructure" : "UEB",
    "partitionKey" : "${obj.topicSinks[0].partitionKey}"
  }, {
    "servers" : [ "my-server" ],
    "topic" : "dmaap-sink",
    "effectiveTopic" : "my-effective-topic",
    "recentEvents" : [ ],
    "alive" : false,
    "locked" : false,
    "apiKey" : "my-api-key",
    "apiSecret" : "my-api-secret",
    "useHttps" : true,
    "allowSelfSignedCerts" : true,
    "topicCommInfrastructure" : "DMAAP",
    "partitionKey" : "my-partition"
  }, {
    "servers" : [ "my-server" ],
    "topic" : "noop-sink",
    "effectiveTopic" : "noop-sink",
    "recentEvents" : [ ],
    "alive" : false,
    "locked" : false,
    "topicCommInfrastructure" : "NOOP"
  } ]
}