Sv translation |
---|
|
The JTEL chat server implementation is based on the websocket protocol. The JTEL chat server ClientMessenger is used to implement chat channel between ACD Agent and Client.
Same Origin Policy There is a limitation by using wss protocol described in Same-Origin-Policy (https://de.wikipedia.org/wiki/Same-Origin-Policy) draw.io Diagram |
---|
border | true |
---|
| |
---|
diagramName | Chat Architecture |
---|
simpleViewer | false |
---|
width | |
---|
links | auto |
---|
tbstyle | top |
---|
lbox | true |
---|
diagramWidth |
---|
|
|
...
...
The JTEL chat server is using the websocket interface.
There is a limitation by using wss protocol
See JTEL chat integration in Bitbucket
Haproxy configuration to bypass same origin policy
Code Block |
---|
frontend ft_web
bind 10.42.22.32:8080 name http
maxconn 10000
acl PATH_portal path_beg -i /CarrierPortal
acl PATH_chat path_beg -i /gui /ws /rest /chatInit /upload /download
use_backend bk_web if PATH_portal
use_backend bk_cm if PATH_chat
default_backend bk_web
backend bk_cm
balance roundrobin
server websrv1 10.42.22.31:3000 maxconn 10000 weight 10 cookie websrv1 check
backend bk_web
balance roundrobin
server websrv1 10.42.22.32:8081 maxconn 10000 weight 10 cookie websrv1 check |
|
Sv translation |
---|
|
L'implémentation du serveur de chat de JTEL est basée sur le protocole websocket. Le serveur de chat ClientMessenger de JTEL est utilisé pour mettre en place un canal de chat entre l'agent ACD et le client.
Politique de l'origine identique Il y a une limitation en utilisant le protocole wss décrit dans Same-Origin-Policy (https://de.wikipedia.org/wiki/Same-Origin-Policy) draw.io Diagram |
---|
border | true |
---|
| |
---|
diagramName | Chat Architecture |
---|
simpleViewer | false |
---|
width | |
---|
links | auto |
---|
tbstyle | top |
---|
lbox | true |
---|
diagramWidth | 942 |
---|
revision | 6 |
---|
|
Mise en œuvre de la référence Voir Intégration du chat JTEL dans Bitbucket
Configuration haproxy pour contourner la politique de la même origine Code Block |
---|
frontend ft_webConfiguration haproxy pour contourner la politique de la même origine
bind 10.42.22.32:8080 name http
maxconn 10000
acl PATH_portal path_beg -i /CarrierPortal
acl PATH_chat path_beg -i /gui /ws /rest /chatInit /upload /download
use_backend bk_web if PATH_portal
use_backend bk_cm if PATH_chat
default_backend bk_web
backend bk_cm
balance roundrobin
server websrv1 10.42.22.31:3000 maxconn 10000 weight 10 cookie websrv1 check
backend bk_web
balance roundrobin
server websrv1 10.42.22.32:8081 maxconn 10000 weight 10 cookie websrv1 check |
|
Sv translation |
---|
|
Die JTEL-Chat-Server-Implementierung basiert auf dem Websocket-Protokoll. Der JTEL-Chat-Server ClientMessenger wird zur Implementierung des Chat-Kanals zwischen ACD-Agent und Client verwendet.
Same Origin Policy Es gibt eine Einschränkung bei der Verwendung des wss-Protokolls, die in Same-Origin-Policy (https://de.wikipedia.org/wiki/Same-Origin-Policy |
...
Reference implementation
beschrieben wird. draw.io Diagram |
---|
border | true |
---|
| |
---|
diagramName | Chat Architecture |
---|
simpleViewer | false |
---|
width | |
---|
links | auto |
---|
tbstyle | top |
---|
lbox | true |
---|
diagramWidth | 942 |
---|
revision | 6 |
---|
|
Referenz Implementierung Siehe JTEL chat integration in Bitbucket
Haproxy-Konfiguration zur Umgehung der same origin policy Code Block |
---|
frontend ft_webConfiguration haproxy pour contourner la politique de la même origine
bind 10.42.22.32:8080 name http
maxconn 10000
acl PATH_portal path_beg -i /CarrierPortal
acl PATH_chat path_beg -i /gui /ws /rest /chatInit /upload /download
use_backend bk_web if PATH_portal
use_backend bk_cm if PATH_chat
default_backend bk_web
backend bk_cm
balance roundrobin
server websrv1 10.42.22.31:3000 maxconn 10000 weight 10 cookie websrv1 check
backend bk_web
balance roundrobin
server websrv1 10.42.22.32:8081 maxconn 10000 weight 10 cookie websrv1 check |
|
...