tests/wamp/.crossbar/config.json
changeset 1895 876ce4e492a1
parent 1440 e8daabf2c438
child 2194 35d6b9321ffd
equal deleted inserted replaced
1894:f224383cc883 1895:876ce4e492a1
     1 
       
     2 {
     1 {
     3    "controller": {
     2     "version": 2,
     4    },
     3     "controller": {},
     5    "workers": [
     4     "workers": [
     6       {
     5         {
     7          "type": "router",
     6             "type": "router",
     8          "options": {
     7             "options": {
     9             "pythonpath": [".."]
     8                 "pythonpath": [
    10          },
     9                     ".."
    11          "realms": [
    10                 ]
    12             {
    11             },
    13                "name": "Automation",
    12             "realms": [
    14                "roles": [
    13                 {
    15                   {
    14                     "name": "Automation",
    16                      "name": "anonymous",
    15                     "roles": [
    17                      "permissions": [
       
    18                         {
    16                         {
    19                            "uri": "*",
    17                             "name": "anonymous",
    20                            "publish": true,
    18                             "permissions": [
    21                            "subscribe": true,
    19                                 {
    22                            "call": true,
    20                                     "uri": "",
    23                            "register": true
    21                                     "match": "prefix",
       
    22                                     "allow": {
       
    23                                         "call": true,
       
    24                                         "register": true,
       
    25                                         "publish": true,
       
    26                                         "subscribe": true
       
    27                                     },
       
    28                                     "disclose": {
       
    29                                         "caller": false,
       
    30                                         "publisher": false
       
    31                                     },
       
    32                                     "cache": true
       
    33                                 }
       
    34                             ]
    24                         }
    35                         }
    25                      ]
    36                     ]
    26                   }
    37                 }
    27                ]
    38             ],
    28             }
    39             "transports": [
    29          ],
    40                 {
    30          "transports": [
    41                     "type": "websocket",
    31             {
    42                     "endpoint": {
    32                "type": "websocket",
    43                         "type": "tcp",
    33                "endpoint": {
    44                         "port": 8888
    34                   "type": "tcp",
    45                     },
    35                   "port": 8888
    46                     "url": "ws://127.0.0.1:8888/",
    36                },
    47                     "serializers": [
    37                "url": "ws://127.0.0.1:8888/",
    48                         "msgpack"
    38                "serializers" : ["msgpack"]
    49                     ]
    39             }
    50                 }
    40          ]
    51             ]
    41       }
    52         }
    42    ]
    53     ]
    43 }
    54 }