# HG changeset patch # User Edouard Tisserant # Date 1515587020 -3600 # Node ID 876ce4e492a1ae63b4e666660cbc9383367fd8c3 # Parent f224383cc883df496883ade9d47bf22f5ce0ec35 Fixed WAMP test (crossbar confile upgrade and use same ID on both PLC and IDE side) diff -r f224383cc883 -r 876ce4e492a1 tests/wamp/.crossbar/config.json --- a/tests/wamp/.crossbar/config.json Wed Jan 10 13:21:42 2018 +0100 +++ b/tests/wamp/.crossbar/config.json Wed Jan 10 13:23:40 2018 +0100 @@ -1,43 +1,54 @@ - { - "controller": { - }, - "workers": [ - { - "type": "router", - "options": { - "pythonpath": [".."] - }, - "realms": [ - { - "name": "Automation", - "roles": [ - { - "name": "anonymous", - "permissions": [ + "version": 2, + "controller": {}, + "workers": [ + { + "type": "router", + "options": { + "pythonpath": [ + ".." + ] + }, + "realms": [ + { + "name": "Automation", + "roles": [ { - "uri": "*", - "publish": true, - "subscribe": true, - "call": true, - "register": true + "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"] - } - ] - } - ] + ] + } + ], + "transports": [ + { + "type": "websocket", + "endpoint": { + "type": "tcp", + "port": 8888 + }, + "url": "ws://127.0.0.1:8888/", + "serializers": [ + "msgpack" + ] + } + ] + } + ] } diff -r f224383cc883 -r 876ce4e492a1 tests/wamp/beremiz.xml --- a/tests/wamp/beremiz.xml Wed Jan 10 13:21:42 2018 +0100 +++ b/tests/wamp/beremiz.xml Wed Jan 10 13:23:40 2018 +0100 @@ -1,4 +1,4 @@ - +