forked from crossbario/crossbar-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cleanme.json
188 lines (166 loc) · 5.65 KB
/
cleanme.json
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
{
"name": "votes:browser",
"help": "Demo that casts live votes synchronized across HTML5 clients. Backend runs in the browser.",
"basedir": "templates/votes/browser",
"params": {
},
"skip_jinja": ['banana_small.png', 'chocolate_small.png', 'crossbar_icon_inverted.png', 'lemon_small.png', 'favicon.ico']
},
{
"name": "votes:nodejs",
"help": "Demo that casts live votes synchronized across HTML5 clients. Backend runs in NodeJS.",
"get_started_hint": "Now install dependencies by doing 'npm install', start Crossbar using 'crossbar start' and open http://localhost:8080 in your browser.",
"basedir": "templates/votes/nodejs",
"params": {
},
"skip_jinja": ['banana_small.png', 'chocolate_small.png', 'crossbar_icon_inverted.png', 'lemon_small.png', 'favicon.ico']
},
{
"name": "votes:python",
"help": "Demo that casts live votes synchronized across HTML5 clients. Backend runs in Python.",
"basedir": "templates/votes/python",
"params": {
},
"skip_jinja": ['banana_small.png', 'chocolate_small.png', 'crossbar_icon_inverted.png', 'lemon_small.png', 'favicon.ico']
},
{
"name": "demos",
"help": "A Crossbar.io node running the crossbardemo package. Requires 'pip install crossbardemo'.",
"basedir": "templates/demos",
"params": {
}
},
{
"name": "pusher",
"help": "A WAMP router with a HTTP gateway for pushing events.",
"basedir": "templates/pusher",
"params": {
}
},
{
"name": "longpoll",
"help": "Demonstrates WAMP longpoll transport for old browsers.",
"basedir": "templates/longpoll",
"params": {
}
},
{
"name": "expressjs",
"help": "Using Crossbar.io, Node and Express.",
"basedir": "templates/expressjs",
"params": {
},
"skip_jinja": ["index.html", "base.html", "monitor.html"]
},
{
"name": "flash",
"help": "Demonstrates using the Flash WebSocket implementation for old browsers.",
"basedir": "templates/flash",
"params": {
},
"skip_jinja": ["WebSocketMain.swf"]
},
{
"name": "pg:publisher",
"help": "Demonstrates how to publish WAMP events from within PostgreSQL.",
"basedir": "templates/pg/publisher",
"params": {
"schema": "crossbar"
},
"get_started_hint": """
Now build the example by doing 'scons', start Crossbar using 'crossbar start'
and open http://localhost:8080 in your browser.
"""
},
{
"name": "oracle:publisher",
"help": "Demonstrates how to publish WAMP events from within Oracle database.",
"basedir": "templates/oracle/publisher",
"params": {
"cbadapter": "cbadapter",
"cbadapter_password": "crossbar",
"cbdb": "cbdb",
"cbdb_password": "crossbar",
"cbdb_tablespace": "users",
"cbadapter": "cbadapter",
"nchar_maxlen": 2000,
"pipe_onpublish": "crossbar_on_publish",
"pipe_onexport": "crossbar_on_export"
},
"get_started_hint": """Now install the Crossbar.io Oracle database integration by doing:
cd database
make create_users
make install
Then start Crossbar.io (from the current directory):
crossbar start
and open your browser pointing to http://localhost:8080.
"""
},
{
"name": "authenticate:wampcra",
"help": "Demonstrates authentication via WAMP-CRA from a static user database defined in the node configuration.",
"basedir": "templates/authenticate/wampcra",
"params": {
}
},
{
"name": "authenticate:wampcradynamic:python",
"help": "Demonstrates authentication via WAMP-CRA from a user-defined authenticator procedure written in Python.",
"basedir": "templates/authenticate/wampcradynamic/python",
"params": {
}
},
{
"name": "authenticate:wampcradynamic:nodejs",
"help": "Demonstrates authentication via WAMP-CRA from a user-defined authenticator procedure written in JavaScript.",
"basedir": "templates/authenticate/wampcradynamic/nodejs",
"params": {
}
},
{
"name": "authenticate:wampcradynamic:php",
"help": "Demonstrates authentication via WAMP-CRA from a user-defined authenticator procedure written in PHP.",
"basedir": "templates/authenticate/wampcradynamic/php",
"params": {
}
},
{
"name": "authenticate:ticket",
"help": "Demonstrates authentication via Ticket-based authentication from a static principals database defined in the node configuration.",
"basedir": "templates/authenticate/ticket",
"params": {
}
},
{
"name": "authenticate:ticketdynamic:python",
"help": "Demonstrates authentication via Ticket-based authentication from a user-defined authenticator procedure written in Python.",
"basedir": "templates/authenticate/ticketdynamic/python",
"params": {
}
},
{
"name": "wss:python",
"help": "Using secure WebSocket transports (wss) with JavaScript frontend and Python backend.",
"basedir": "templates/wss/python",
"params": {
},
"get_started_hint": """Start Crossbar using 'crossbar start' and open https://localhost:8080 in your browser (note the 'https' in the URL).
For more info, please visit http://crossbar.io/docs/Secure-WebSocket-and-HTTPS/
"""
},
{
"name": "device:pi:monitor",
"help": "Demonstrates running Crossbar on the RaspberryPi and running a WAMP component monitoring the SoC temperature.",
"basedir": "templates/device/pi/monitor",
"params": {
},
"get_started_hint": """Start Crossbar (on the Pi) using 'crossbar start' and open http://<Your Pi's IP>:8080 in your browser."""
},
{
"name": "device:pi:gpio",
"help": "Demonstrates running Crossbar on the RaspberryPi and hooking up the GPIO in a WAMP component.",
"basedir": "templates/device/pi/gpio",
"params": {
},
"get_started_hint": """Start Crossbar (on the Pi) using 'sudo crossbar start' and open http://<Your Pi's IP>:8080 in your browser."""
},