More bug fix and refactoring
[dmaap/datarouter.git] / datarouter-node / src / test / resources / prov_data.json
1 {
2   "feeds": [
3     {
4       "suspend": false,
5       "groupid": 0,
6       "description": "Default feed provisioned for PM File collector",
7       "version": "m1.0",
8       "authorization": {
9         "endpoint_addrs": [
10
11         ],
12         "classification": "unclassified",
13         "endpoint_ids": [
14           {
15             "password": "dradmin",
16             "id": "dradmin"
17           }
18         ]
19       },
20       "last_mod": 1560871903000,
21       "deleted": false,
22       "feedid": 1,
23       "name": "Default PM Feed",
24       "business_description": "Default Feed",
25       "aaf_instance": "legacy",
26       "publisher": "dradmin",
27       "links": {
28         "subscribe": "https://dmaap-dr-prov/subscribe/1",
29         "log": "https://dmaap-dr-prov/feedlog/1",
30         "publish": "https://dmaap-dr-prov/publish/1",
31         "self": "https://dmaap-dr-prov/feed/1"
32       },
33       "created_date": 1560871903000
34     }
35   ],
36   "groups": [
37     {
38       "authid": "GROUP-0000-c2754bb7-92ef-4869-9c6b-1bc1283be4c0",
39       "name": "Test Group",
40       "description": "Test Description of Group .",
41       "classification": "publisher/subscriber",
42       "members": "{id=attuid, name=User1}, {id=attuid, name=User 2]"
43     }
44   ],
45   "subscriptions": [
46     {
47       "suspend": false,
48       "delivery": {
49         "use100": true,
50         "password": "PASSWORD",
51         "user": "LOGIN",
52         "url": "https://dcae-pm-mapper:8443/delivery"
53       },
54       "subscriber": "dradmin",
55       "groupid": 0,
56       "metadataOnly": false,
57       "privilegedSubscriber": true,
58       "subid": 1,
59       "last_mod": 1560872889000,
60       "feedid": 1,
61       "follow_redirect": false,
62       "decompress": true,
63       "aaf_instance": "legacy",
64       "links": {
65         "feed": "https://dmaap-dr-prov/feed/1",
66         "log": "https://dmaap-dr-prov/sublog/1",
67         "self": "https://dmaap-dr-prov/subs/1"
68       },
69       "created_date": 1560872889000
70     }
71   ],
72   "parameters": {
73     "ACTIVE_POD": "dmaap-dr-prov",
74     "DELIVERY_FILE_PROCESS_INTERVAL": 600,
75     "DELIVERY_INIT_RETRY_INTERVAL": 10,
76     "DELIVERY_MAX_AGE": 86400,
77     "DELIVERY_MAX_RETRY_INTERVAL": 3600,
78     "DELIVERY_RETRY_RATIO": 2,
79     "LOGROLL_INTERVAL": 30,
80     "NODES": [
81       "dmaap-dr-node"
82     ],
83     "PROV_ACTIVE_NAME": "dmaap-dr-prov",
84     "PROV_AUTH_ADDRESSES": [
85       "dmaap-dr-prov",
86       "dmaap-dr-node"
87     ],
88     "PROV_AUTH_SUBJECTS": [
89       ""
90     ],
91     "PROV_DOMAIN": "",
92     "PROV_MAXFEED_COUNT": 10000,
93     "PROV_MAXSUB_COUNT": 100000,
94     "PROV_NAME": "dmaap-dr-prov",
95     "PROV_REQUIRE_CERT": "false",
96     "PROV_REQUIRE_SECURE": "true",
97     "STANDBY_POD": "",
98     "_INT_VALUES": [
99       "LOGROLL_INTERVAL",
100       "PROV_MAXFEED_COUNT",
101       "PROV_MAXSUB_COUNT",
102       "DELIVERY_INIT_RETRY_INTERVAL",
103       "DELIVERY_MAX_RETRY_INTERVAL",
104       "DELIVERY_RETRY_RATIO",
105       "DELIVERY_MAX_AGE",
106       "DELIVERY_FILE_PROCESS_INTERVAL"
107     ]
108   },
109   "ingress": [
110     {
111       "feedid": 1,
112       "subnet": "",
113       "user": "",
114       "node": [
115         "stub_from."
116       ]
117     }
118   ],
119   "egress": {
120     "1": "stub_to."
121   },
122   "routing": [
123     {
124       "from": 1,
125       "to": 3,
126       "via": 2
127     }
128   ]
129 }