tests/wamp/.crossbar/config.json
author dporopat <denis.poropat@smarteh.si>
Thu, 10 May 2018 13:11:11 +0200
branch#2476
changeset 2007 ef2d479f564f
parent 1895 876ce4e492a1
child 2194 35d6b9321ffd
permissions -rw-r--r--
#2476 Connectors dialog module added.
{
    "version": 2,
    "controller": {},
    "workers": [
        {
            "type": "router",
            "options": {
                "pythonpath": [
                    ".."
                ]
            },
            "realms": [
                {
                    "name": "Automation",
                    "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": "websocket",
                    "endpoint": {
                        "type": "tcp",
                        "port": 8888
                    },
                    "url": "ws://127.0.0.1:8888/",
                    "serializers": [
                        "msgpack"
                    ]
                }
            ]
        }
    ]
}