crossbario / crossbar

Crossbar.io - WAMP application router
https://crossbar.io/
Other
2.05k stars 274 forks source link

setup proxy routes for all realms X roles #1960

Closed oberstet closed 2 years ago

oberstet commented 2 years ago
2022-03-16T14:27:07+0100 [Proxy       29632] Starting proxy-worker "cpw-9fbe067c-0" on node "core3" (personality "edge") and local node management realm "crossbar" .. <crossbar.worker.proxy.ProxyController>
2022-03-16T14:27:26+0100 [Proxy       29632] <crossbar.worker.proxy.ProxyController.start_proxy_connection>(connection_id=cnc_core1_group1_1, config=..., caller_authid=None)
2022-03-16T14:27:26+0100 [Proxy       29632] <crossbar.worker.proxy.ProxyController.start_proxy_realm_route>(realm_name="userapps", config={'anonymous': 'cnc_core1_group1_1'})
2022-03-16T14:27:32+0100 [Proxy       29632] <crossbar.worker.proxy.ProxyController.start_proxy_realm_route>(realm_name="realm1", config={'anonymous': 'cnc_core1_group1_1'})

2022-03-16T14:27:11+0100 [Proxy       29653] Starting proxy-worker "cpw-9fbe067c-1" on node "core3" (personality "edge") and local node management realm "crossbar" .. <crossbar.worker.proxy.ProxyController>
2022-03-16T14:27:26+0100 [Proxy       29653] <crossbar.worker.proxy.ProxyController.start_proxy_connection>(connection_id=cnc_core1_group1_1, config=..., caller_authid=None)
2022-03-16T14:27:26+0100 [Proxy       29653] <crossbar.worker.proxy.ProxyController.start_proxy_realm_route>(realm_name="userapps", config={'anonymous': 'cnc_core1_group1_1'})
2022-03-16T14:27:32+0100 [Proxy       29653] <crossbar.worker.proxy.ProxyController.start_proxy_realm_route>(realm_name="realm1", config={'anonymous': 'cnc_core1_group1_1'})
oberstet commented 2 years ago

before:

2022-03-16T20:20:11+0100 [Proxy       57499] <crossbar.worker.proxy.ProxyController.start_proxy_realm_route>(realm_name="userapps", config={'anonymous': 'cnc_core1_group1_1'})
2022-03-16T20:20:11+0100 [Proxy       57499] ****************************************************************************************************
2022-03-16T20:20:11+0100 [Proxy       57499] {'anonymous': 'cnc_core1_group1_1'}
2022-03-16T20:20:11+0100 [Proxy       57499] ****************************************************************************************************
2022-03-16T20:20:11+0100 [Proxy       57508] <crossbar.worker.proxy.ProxyController.start_proxy_connection>(connection_id=cnc_core1_group1_1, config=..., caller_authid=None)
2022-03-16T20:20:11+0100 [Proxy       57508] <crossbar.worker.proxy.ProxyController.start_proxy_realm_route>(realm_name="userapps", config={'anonymous': 'cnc_core1_group1_1'})
2022-03-16T20:20:11+0100 [Proxy       57508] ****************************************************************************************************
2022-03-16T20:20:11+0100 [Proxy       57508] {'anonymous': 'cnc_core1_group1_1'}
2022-03-16T20:20:11+0100 [Proxy       57508] ****************************************************************************************************
2022-03-16T20:20:21+0100 [Proxy       57499] <crossbar.worker.proxy.ProxyController.start_proxy_realm_route>(realm_name="realm1", config={'anonymous': 'cnc_core1_group1_1'})
2022-03-16T20:20:21+0100 [Proxy       57499] ****************************************************************************************************
2022-03-16T20:20:21+0100 [Proxy       57499] {'anonymous': 'cnc_core1_group1_1'}
2022-03-16T20:20:21+0100 [Proxy       57499] ****************************************************************************************************
2022-03-16T20:20:21+0100 [Proxy       57508] <crossbar.worker.proxy.ProxyController.start_proxy_realm_route>(realm_name="realm1", config={'anonymous': 'cnc_core1_group1_1'})
2022-03-16T20:20:21+0100 [Proxy       57508] ****************************************************************************************************
2022-03-16T20:20:21+0100 [Proxy       57508] {'anonymous': 'cnc_core1_group1_1'}
2022-03-16T20:20:21+0100 [Proxy       57508] ****************************************************************************************************

now:

2022-03-16T20:30:43+0100 [Proxy       58224] ****************************************************************************************************
2022-03-16T20:30:43+0100 [Proxy       58224] {'system': 'cnc_core1_group1_1', 'user_app': 'cnc_core1_group1_1'}
2022-03-16T20:30:43+0100 [Proxy       58224] ****************************************************************************************************
2022-03-16T20:30:43+0100 [Proxy       58224] <crossbar.worker.proxy.ProxyController.start_proxy_realm_route>(realm_name="realm1", config={'anonymous': 'cnc_core1_group1_1', 'swarm_user': 'cnc_core1_group1_1', 'system': 'cnc_core1_group1_1', 'repods_analytics': 'cnc_core1_group1_1', 'swarm_device': 'cnc_core1_group1_1'})
2022-03-16T20:30:43+0100 [Proxy       58224] ****************************************************************************************************
2022-03-16T20:30:43+0100 [Proxy       58224] {'anonymous': 'cnc_core1_group1_1',
2022-03-16T20:30:43+0100 [Proxy       58224]  'repods_analytics': 'cnc_core1_group1_1',
2022-03-16T20:30:43+0100 [Proxy       58224]  'swarm_device': 'cnc_core1_group1_1',
2022-03-16T20:30:43+0100 [Proxy       58224]  'swarm_user': 'cnc_core1_group1_1',
2022-03-16T20:30:43+0100 [Proxy       58224]  'system': 'cnc_core1_group1_1'}
2022-03-16T20:30:43+0100 [Proxy       58224] ****************************************************************************************************
2022-03-16T20:30:43+0100 [Proxy       58242] <crossbar.worker.proxy.ProxyController.start_proxy_connection>(connection_id=cnc_core1_group1_1, config=..., caller_authid=None)
2022-03-16T20:30:43+0100 [Proxy       58242] <crossbar.worker.proxy.ProxyController.start_proxy_connection>(connection_id=cnc_core1_group1_1, config=..., caller_authid=None)
2022-03-16T20:30:43+0100 [Proxy       58242] <crossbar.worker.proxy.ProxyController.start_proxy_realm_route>(realm_name="userapps", config={'system': 'cnc_core1_group1_1', 'user_app': 'cnc_core1_group1_1'})
2022-03-16T20:30:43+0100 [Proxy       58242] ****************************************************************************************************
2022-03-16T20:30:43+0100 [Proxy       58242] {'system': 'cnc_core1_group1_1', 'user_app': 'cnc_core1_group1_1'}
2022-03-16T20:30:43+0100 [Proxy       58242] ****************************************************************************************************
2022-03-16T20:30:53+0100 [Proxy       58242] <crossbar.worker.proxy.ProxyController.start_proxy_realm_route>(realm_name="realm1", config={'anonymous': 'cnc_core1_group1_1', 'swarm_user': 'cnc_core1_group1_1', 'system': 'cnc_core1_group1_1', 'repods_analytics': 'cnc_core1_group1_1', 'swarm_device': 'cnc_core1_group1_1'})
2022-03-16T20:30:53+0100 [Proxy       58242] ****************************************************************************************************
2022-03-16T20:30:53+0100 [Proxy       58242] {'anonymous': 'cnc_core1_group1_1',
2022-03-16T20:30:53+0100 [Proxy       58242]  'repods_analytics': 'cnc_core1_group1_1',
2022-03-16T20:30:53+0100 [Proxy       58242]  'swarm_device': 'cnc_core1_group1_1',
2022-03-16T20:30:53+0100 [Proxy       58242]  'swarm_user': 'cnc_core1_group1_1',
2022-03-16T20:30:53+0100 [Proxy       58242]  'system': 'cnc_core1_group1_1'}
2022-03-16T20:30:53+0100 [Proxy       58242] ****************************************************************************************************