gateway adapters template using www.actionherojs.com
ANYLINK.PROXY -> ANYLINK.IN.MEDIATOR -> ANYLINK.ENDPOINT -> HOST
HOST -> ANYLINK.ENDPOINT -> ANYLINK.OUT.MEDIATOR -> ANYLINK.PROXY
ANYLINK_GET_PROXY address is defined in config/routes.js file.
/GET http://0.0.0.0:9000/api/anylink/get
curl "http://localhost:9000/api/anylink/get?message=samplemessage"
ANYLINK_POST_PROXY address is defined in config/routes.js file.
/POST http://0.0.0.0:9000/api/anylink/post
curl -d "message=samplemessage" "http://localhost:9000/api/anylink/post
ANYLINK_NET_PROXY address is defined in config/servers/net.js file.
TCP 0.0.0.0:9001
telnet localhost 9001
<sample message>
Hosts addresses are defined in config/hosts.js file.
/GET http://localhost:8080/dummy
/POST http://localhost:8080/dummy
TCP localhost:25000