tests/projects/wamp/.crossbar/config.json
author Edouard Tisserant <edouard.tisserant@gmail.com>
Tue, 25 Jan 2022 17:05:14 +0100
changeset 3416 53c66c4aefa3
parent 2194 tests/wamp/.crossbar/config.json@35d6b9321ffd
permissions -rw-r--r--
TESTS: moved non-automated tests Beremiz projects stored as directories in /tests to new directory /tests/projects
{
    "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"
                    ]
                }
            ]
        }
    ]
}