REST-API to consume chaincode events.
More technical information can be found here
LOCAL_WALLET_PATH=/home/ubuntu/event-api/hlf-event-client/wallet
WALLET_ID=alice.id
kubectl create secret generic event-rest-api-i1 --from-file=connection.yaml=$LOCAL_WALLET_PATH/connection.yaml --from-file=$WALLET_ID=$LOCAL_WALLET_PATH/$WALLET_ID
kubectl apply -f k8s-event-rest-api.yaml
EVENT_API_PORT=$(kubectl get service scray-ledger-event-api -o jsonpath="{.spec.ports[?(@.name=='api-port')].nodePort}")
$EVENT_API_PORT/swagger-ui/index.html