tests/wamp/.crossbar/config.json
author dporopat <denis.poropat@smarteh.si>
Tue, 27 Mar 2018 10:11:04 +0200
branch#2486
changeset 2194 35d6b9321ffd
parent 1895 876ce4e492a1
permissions -rwxr-xr-x
#2486 Updated wamp test project to work with the latest Crossbar version.
{
    "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",
                    "debug": true,
                    "endpoint": {
                        "type": "tcp",
                        "port": 8888
                    },
                    "url": "ws://127.0.0.1:8888/",
                    "serializers": [
                        "msgpack",
                        "json"
                    ]
                }
            ]
        }
    ]
}