tests/projects/wamp/.crossbar/config.json
author Edouard Tisserant <edouard.tisserant@gmail.com>
Thu, 24 Nov 2022 17:21:53 +0100
branchwxPython4
changeset 3693 4058140a8757
parent 3416 53c66c4aefa3
permissions -rw-r--r--
Tests: cleanup and tidy docker definitions and scripts
{
    "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"
                    ]
                }
            ]
        }
    ]
}