all_datasets.json 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. {
  2. "href":"http://ec2...com:8080/api/v1/feeds",
  3. "items":[
  4. {
  5. "href":"http://ec2...com:8080/api/v1/feeds/feed1",
  6. "Feeds":{
  7. "description":"test feed 1",
  8. "name":"feed_1",
  9. "status":"SCHEDULED",
  10. "groups":"online,bi",
  11. "frequency":"minutes(1)",
  12. "timezone":"UTC",
  13. "late-arrival":{
  14. "cut-off":"minutes(10)"
  15. },
  16. "clusters":{
  17. "cluster":[
  18. {
  19. "name":"drsource3",
  20. "type":"source",
  21. "validity":{
  22. "start":"2010-01-01T00:00Z",
  23. "end":"2015-01-01T02:00Z"
  24. },
  25. "retention":{
  26. "limit":"minutes(15)",
  27. "action":"delete"
  28. }
  29. },
  30. {
  31. "name":"drtarget3",
  32. "type":"target",
  33. "validity":{
  34. "start":"2010-01-01T00:00Z",
  35. "end":"2015-01-01T02:00Z"
  36. },
  37. "retention":{
  38. "limit":"minutes(17)",
  39. "action":"delete"
  40. }
  41. }
  42. ]
  43. },
  44. "locations":{
  45. "location":{
  46. "type":"data",
  47. "path":"/mirrorthis"
  48. }
  49. },
  50. "ACL":{
  51. "owner":"testuser",
  52. "group":"group",
  53. "permission":"0x755"
  54. },
  55. "schema":{
  56. "location":"/schema/clicks",
  57. "provider":"protobuf"
  58. },
  59. "properties":{
  60. "property":[
  61. {
  62. "name":"field3",
  63. "value":"value3"
  64. },
  65. {
  66. "name":"field2",
  67. "value":"value2"
  68. },
  69. {
  70. "name":"field4",
  71. "value":"value2"
  72. }
  73. ]
  74. }
  75. },
  76. "instances":[
  77. {
  78. "href":"http://ec2...com:8080/api/v1/feeds/feed1/instances/99",
  79. "Instances":{
  80. "id":"99",
  81. "cluster":"drtarget1",
  82. "sourceCluster":"drsource",
  83. "status":"FAILED",
  84. "start":"2013-01-01T03:17Z",
  85. "end":"2013-01-01T03:19Z",
  86. "details":"",
  87. "log":""
  88. }
  89. },
  90. {
  91. "href":"http://ec2...com:8080/api/v1/feeds/feed1/instances/95",
  92. "Instances":{
  93. "id":"95",
  94. "cluster":"drtarget1",
  95. "sourceCluster":"drsource",
  96. "status":"FAILED",
  97. "start":"2012-03-06T03:17Z",
  98. "end":"2012-03-06T03:19Z",
  99. "details":"",
  100. "log":""
  101. }
  102. },
  103. {
  104. "href":"http://ec2...com:8080/api/v1/feeds/feed1/instances/95",
  105. "Instances":{
  106. "id":"90",
  107. "cluster":"drtarget1",
  108. "sourceCluster":"drsource",
  109. "status":"FAILED",
  110. "start":"2012-03-06T03:17Z",
  111. "end":"2012-03-06T03:19Z",
  112. "details":"",
  113. "log":""
  114. }
  115. },
  116. {
  117. "href":"http://ec2...com:8080/api/v1/feeds/feed1/instances/95",
  118. "Instances":{
  119. "id":"91",
  120. "cluster":"drtarget1",
  121. "sourceCluster":"drsource",
  122. "status":"SUCCESSFUL",
  123. "start":"2013-03-11T03:17Z",
  124. "end":"2013-03-11T03:19Z",
  125. "details":"",
  126. "log":""
  127. }
  128. }
  129. ]
  130. },
  131. {
  132. "href":"http://ec2...com:8080/api/v1/feeds/feed2",
  133. "Feeds":{
  134. "description":"test feed 2",
  135. "name":"feed_2",
  136. "status":"SCHEDULED",
  137. "groups":"online,bi",
  138. "frequency":"minutes(1)",
  139. "timezone":"UTC",
  140. "late-arrival":{
  141. "cut-off":"minutes(10)"
  142. },
  143. "clusters":{
  144. "cluster":[
  145. {
  146. "name":"drsource1",
  147. "type":"source",
  148. "validity":{
  149. "start":"2010-01-01T00:00Z",
  150. "end":"2015-01-01T02:00Z"
  151. },
  152. "retention":{
  153. "limit":"minutes(15)",
  154. "action":"delete"
  155. }
  156. },
  157. {
  158. "name":"drtarget1",
  159. "type":"target",
  160. "validity":{
  161. "start":"2010-01-01T00:00Z",
  162. "end":"2015-01-01T02:00Z"
  163. },
  164. "retention":{
  165. "limit":"minutes(17)",
  166. "action":"delete"
  167. }
  168. }
  169. ]
  170. },
  171. "locations":{
  172. "location":{
  173. "type":"data",
  174. "path":"/mirrorthis"
  175. }
  176. },
  177. "ACL":{
  178. "owner":"testuser",
  179. "group":"group",
  180. "permission":"0x755"
  181. },
  182. "schema":{
  183. "location":"/schema/clicks",
  184. "provider":"protobuf"
  185. },
  186. "properties":{
  187. "property":[
  188. {
  189. "name":"field3",
  190. "value":"value3"
  191. },
  192. {
  193. "name":"field2",
  194. "value":"value2"
  195. },
  196. {
  197. "name":"field4",
  198. "value":"value2"
  199. }
  200. ]
  201. }
  202. },
  203. "instances":[
  204. {
  205. "href":"http://ec2...com:8080/api/v1/feeds/feed1/instances/99",
  206. "Instances":{
  207. "id":"99",
  208. "cluster":"drtarget1",
  209. "sourceCluster":"drsource",
  210. "status":"RUNNING",
  211. "start":"2013-03-06T03:17Z",
  212. "end":"2013-03-06T03:19Z",
  213. "details":"",
  214. "log":""
  215. }
  216. },
  217. {
  218. "href":"http://ec2...com:8080/api/v1/feeds/feed1/instances/95",
  219. "Instances":{
  220. "id":"95",
  221. "cluster":"drtarget1",
  222. "sourceCluster":"drsource",
  223. "status":"RUNNING",
  224. "start":"2013-03-06T03:17Z",
  225. "end":"2013-03-06T03:19Z",
  226. "details":"",
  227. "log":""
  228. }
  229. }
  230. ]
  231. },
  232. {
  233. "href":"http://ec2...com:8080/api/v1/feeds/feed1",
  234. "Feeds":{
  235. "description":"feed 3",
  236. "name":"feed_3",
  237. "status":"SCHEDULED",
  238. "groups":"online,bi",
  239. "frequency":"minutes(1)",
  240. "timezone":"UTC",
  241. "late-arrival":{
  242. "cut-off":"minutes(10)"
  243. },
  244. "clusters":{
  245. "cluster":[
  246. {
  247. "name":"drsource2",
  248. "type":"source",
  249. "validity":{
  250. "start":"2010-01-01T00:00Z",
  251. "end":"2015-01-01T02:00Z"
  252. },
  253. "retention":{
  254. "limit":"minutes(15)",
  255. "action":"delete"
  256. }
  257. },
  258. {
  259. "name":"drtarget2",
  260. "type":"target",
  261. "validity":{
  262. "start":"2010-01-01T00:00Z",
  263. "end":"2015-01-01T02:00Z"
  264. },
  265. "retention":{
  266. "limit":"minutes(17)",
  267. "action":"delete"
  268. }
  269. }
  270. ]
  271. },
  272. "locations":{
  273. "location":{
  274. "type":"data",
  275. "path":"/mirrorthis"
  276. }
  277. },
  278. "ACL":{
  279. "owner":"testuser",
  280. "group":"group",
  281. "permission":"0x755"
  282. },
  283. "schema":{
  284. "location":"/schema/clicks",
  285. "provider":"protobuf"
  286. },
  287. "properties":{
  288. "property":[
  289. {
  290. "name":"field3",
  291. "value":"value3"
  292. },
  293. {
  294. "name":"field2",
  295. "value":"value2"
  296. },
  297. {
  298. "name":"field4",
  299. "value":"value2"
  300. }
  301. ]
  302. }
  303. },
  304. "instances":[
  305. {
  306. "href":"http://ec2...com:8080/api/v1/feeds/feed1/instances/99",
  307. "Instances":{
  308. "id":"99",
  309. "cluster":"drtarget1",
  310. "sourceCluster":"drsource",
  311. "status":"RUNNING",
  312. "start":"2013-03-06T03:17Z",
  313. "end":"2013-03-06T03:19Z",
  314. "details":"",
  315. "log":""
  316. }
  317. },
  318. {
  319. "href":"http://ec2...com:8080/api/v1/feeds/feed1/instances/95",
  320. "Instances":{
  321. "id":"95",
  322. "cluster":"drtarget1",
  323. "sourceCluster":"drsource",
  324. "status":"RUNNING",
  325. "start":"2013-03-06T03:17Z",
  326. "end":"2013-03-06T03:19Z",
  327. "details":"",
  328. "log":""
  329. }
  330. }
  331. ]
  332. }
  333. ]
  334. }