tests/wamp/.crossbar/config.json
changeset 3416 53c66c4aefa3
parent 3415 c270b6c8162b
child 3422 700b39cb4525
child 3427 f748161de54b
equal deleted inserted replaced
3415:c270b6c8162b 3416:53c66c4aefa3
     1 {
       
     2     "version": 2,
       
     3     "controller": {},
       
     4     "workers": [
       
     5         {
       
     6             "type": "router",
       
     7             "options": {
       
     8                 "pythonpath": [
       
     9                     ".."
       
    10                 ]
       
    11             },
       
    12             "realms": [
       
    13                 {
       
    14                     "name": "Automation",
       
    15                     "roles": [
       
    16                         {
       
    17                             "name": "anonymous",
       
    18                             "permissions": [
       
    19                                 {
       
    20                                     "uri": "",
       
    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                             ]
       
    35                         }
       
    36                     ]
       
    37                 }
       
    38             ],
       
    39             "transports": [
       
    40                 {
       
    41                     "type": "websocket",
       
    42                     "debug": true,
       
    43                     "endpoint": {
       
    44                         "type": "tcp",
       
    45                         "port": 8888
       
    46                     },
       
    47                     "url": "ws://127.0.0.1:8888/",
       
    48                     "serializers": [
       
    49                         "msgpack",
       
    50                         "json"
       
    51                     ]
       
    52                 }
       
    53             ]
       
    54         }
       
    55     ]
       
    56 }