tests/projects/wamp/.crossbar/config.json
changeset 3416 53c66c4aefa3
parent 2194 35d6b9321ffd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/projects/wamp/.crossbar/config.json	Tue Jan 25 17:05:14 2022 +0100
@@ -0,0 +1,56 @@
+{
+    "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"
+                    ]
+                }
+            ]
+        }
+    ]
+}