mvn clean package
export STACK_IDENTIFIER="awswebsocketdemo"
./deploy.sh
Use pre-deployed instance:
. ./scripts/endpoints.sh
or configure custom deployment:
export HTTP_ENDPOINT="https://XXXXXXXXX.execute-api.us-east-1.amazonaws.com/"
export WEBSOCKET_ENDPOINT="wss://XXXXXXXX.execute-api.us-east-1.amazonaws.com/awswebsocketdemo"
export CLIENT_ID="testclient"
./democlient.sh $WEBSOCKET_ENDPOINT $CLIENT_ID
./scripts/trigger_event.sh
CLIENT_ID="x" ./scripts/trigger_event.sh
./scripts/disconnect_clients.sh