tests/wamp/.crossbar/config.json
author Edouard Tisserant
Tue, 09 Jan 2018 15:08:08 +0100
changeset 1893 971de876b1af
parent 1440 e8daabf2c438
child 1895 876ce4e492a1
permissions -rw-r--r--
WAMP runtime : changes from dporopat and agregorcic, adding CRA (-s) and changed way to load WAMP conf (-c)
- added Challenge Response Authentication,
- use -s commandline switch to give the shared secret.
- WAMP configuration now either given as -c commandline switch
or taken as default wampconf.json in project files.

{
   "controller": {
   },
   "workers": [
      {
         "type": "router",
         "options": {
            "pythonpath": [".."]
         },
         "realms": [
            {
               "name": "Automation",
               "roles": [
                  {
                     "name": "anonymous",
                     "permissions": [
                        {
                           "uri": "*",
                           "publish": true,
                           "subscribe": true,
                           "call": true,
                           "register": true
                        }
                     ]
                  }
               ]
            }
         ],
         "transports": [
            {
               "type": "websocket",
               "endpoint": {
                  "type": "tcp",
                  "port": 8888
               },
               "url": "ws://127.0.0.1:8888/",
               "serializers" : ["msgpack"]
            }
         ]
      }
   ]
}