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
|
{
"self":{
"name":"cdap.helloworld.endnode",
"version":"0.8.0",
"description":"cdap test component",
"component_type":"cdap"
},
"streams":{
"subscribes": [
{
"format": "some.format",
"version": "5.0.0",
"route": "/yay",
"type": "http"
},
{
"format": "some.format",
"version": "5.0.0",
"config_key": "foo-sub",
"type": "message router"
}],
"publishes": [{
"format": "std.empty",
"version": "1.0.6",
"config_key": "stream_publish_example",
"type": "message_router"
}]
},
"services":{
"calls": [],
"provides":[
{
"request":{
"format":"std.empty",
"version":"1.0.6"
},
"response":{
"format":"std.empty",
"version":"1.0.6"
},
"service_name":"Greeting",
"service_endpoint":"greet",
"verb":"GET"
}
]
},
"parameters": {
"app_config" : [
{"name" : "some_param",
"description" : "some desc",
"value" : "some_value",
"type": "string"}
],
"app_preferences" : [
{"name" : "some_param2",
"description" : "some desc2",
"value" : true,
"type": "boolean"}
],
"program_preferences" : [{"program_type" : "flows", "program_id" : "WhoFlow", "program_pref" : [{"name" : "some_param3","description" : "some desc3", "value" : "some_value3", "type": "number"}]}]
},
"auxilary": {
"streamname":"who",
"artifact_name" : "HelloWorld",
"artifact_version" : "3.4.3",
"programs" : [
{"program_type" : "flows", "program_id" : "WhoFlow"},
{"program_type" : "services", "program_id" : "Greeting"}
],
"namespace" : "hw"
},
"artifacts": [
{
"uri": "some jar url",
"type": "jar"
}
]
}
|