From 83dcccca2e553c9dc6d295e34285b380f3366043 Mon Sep 17 00:00:00 2001 From: Tobias Oberstein Date: Sat, 16 Jul 2016 19:11:10 +0200 Subject: [PATCH] reorg --- .../twisted/wamp/basic/.crossbar/config.json | 60 +++++++++++++++++++ .../{ => basic}/client_using_apprunner.py | 0 .../{ => basic}/client_using_clientservice.py | 0 .../wamp/{basic => }/rpc/cancel/__init__.py | 0 .../wamp/{basic => }/rpc/cancel/backend.html | 0 .../wamp/{basic => }/rpc/cancel/backend.js | 0 .../wamp/{basic => }/rpc/cancel/backend.py | 0 .../wamp/{basic => }/rpc/cancel/frontend.html | 0 .../wamp/{basic => }/rpc/cancel/frontend.js | 0 .../wamp/{basic => }/rpc/cancel/frontend.py | 0 10 files changed, 60 insertions(+) create mode 100644 examples/twisted/wamp/basic/.crossbar/config.json rename examples/twisted/wamp/{ => basic}/client_using_apprunner.py (100%) rename examples/twisted/wamp/{ => basic}/client_using_clientservice.py (100%) rename examples/twisted/wamp/{basic => }/rpc/cancel/__init__.py (100%) rename examples/twisted/wamp/{basic => }/rpc/cancel/backend.html (100%) rename examples/twisted/wamp/{basic => }/rpc/cancel/backend.js (100%) rename examples/twisted/wamp/{basic => }/rpc/cancel/backend.py (100%) rename examples/twisted/wamp/{basic => }/rpc/cancel/frontend.html (100%) rename examples/twisted/wamp/{basic => }/rpc/cancel/frontend.js (100%) rename examples/twisted/wamp/{basic => }/rpc/cancel/frontend.py (100%) diff --git a/examples/twisted/wamp/basic/.crossbar/config.json b/examples/twisted/wamp/basic/.crossbar/config.json new file mode 100644 index 000000000..0dd8b88d0 --- /dev/null +++ b/examples/twisted/wamp/basic/.crossbar/config.json @@ -0,0 +1,60 @@ +{ + "version": 2, + "controller": {}, + "workers": [ + { + "type": "router", + "realms": [ + { + "name": "realm1", + "roles": [ + { + "name": "anonymous", + "permissions": [ + { + "uri": "", + "match": "prefix", + "allow": { + "call": true, + "register": true, + "publish": true, + "subscribe": true + }, + "disclose": { + "caller": false, + "publisher": false + }, + "cache": true + } + ] + } + ] + } + ], + "transports": [ + { + "type": "unisocket", + "endpoint": { + "type": "tcp", + "port": 8080 + }, + "rawsocket": { + }, + "websocket": { + "/ws": { + "type": "websocket" + } + }, + "web": { + "paths": { + "/": { + "type": "static", + "directory": "../web" + } + } + } + } + ] + } + ] +} diff --git a/examples/twisted/wamp/client_using_apprunner.py b/examples/twisted/wamp/basic/client_using_apprunner.py similarity index 100% rename from examples/twisted/wamp/client_using_apprunner.py rename to examples/twisted/wamp/basic/client_using_apprunner.py diff --git a/examples/twisted/wamp/client_using_clientservice.py b/examples/twisted/wamp/basic/client_using_clientservice.py similarity index 100% rename from examples/twisted/wamp/client_using_clientservice.py rename to examples/twisted/wamp/basic/client_using_clientservice.py diff --git a/examples/twisted/wamp/basic/rpc/cancel/__init__.py b/examples/twisted/wamp/rpc/cancel/__init__.py similarity index 100% rename from examples/twisted/wamp/basic/rpc/cancel/__init__.py rename to examples/twisted/wamp/rpc/cancel/__init__.py diff --git a/examples/twisted/wamp/basic/rpc/cancel/backend.html b/examples/twisted/wamp/rpc/cancel/backend.html similarity index 100% rename from examples/twisted/wamp/basic/rpc/cancel/backend.html rename to examples/twisted/wamp/rpc/cancel/backend.html diff --git a/examples/twisted/wamp/basic/rpc/cancel/backend.js b/examples/twisted/wamp/rpc/cancel/backend.js similarity index 100% rename from examples/twisted/wamp/basic/rpc/cancel/backend.js rename to examples/twisted/wamp/rpc/cancel/backend.js diff --git a/examples/twisted/wamp/basic/rpc/cancel/backend.py b/examples/twisted/wamp/rpc/cancel/backend.py similarity index 100% rename from examples/twisted/wamp/basic/rpc/cancel/backend.py rename to examples/twisted/wamp/rpc/cancel/backend.py diff --git a/examples/twisted/wamp/basic/rpc/cancel/frontend.html b/examples/twisted/wamp/rpc/cancel/frontend.html similarity index 100% rename from examples/twisted/wamp/basic/rpc/cancel/frontend.html rename to examples/twisted/wamp/rpc/cancel/frontend.html diff --git a/examples/twisted/wamp/basic/rpc/cancel/frontend.js b/examples/twisted/wamp/rpc/cancel/frontend.js similarity index 100% rename from examples/twisted/wamp/basic/rpc/cancel/frontend.js rename to examples/twisted/wamp/rpc/cancel/frontend.js diff --git a/examples/twisted/wamp/basic/rpc/cancel/frontend.py b/examples/twisted/wamp/rpc/cancel/frontend.py similarity index 100% rename from examples/twisted/wamp/basic/rpc/cancel/frontend.py rename to examples/twisted/wamp/rpc/cancel/frontend.py