Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saarasio/gettingstarted
Getting Started bash script for Enroute Universal API Gateway
https://github.com/saarasio/gettingstarted
api-gateway apigateway apis
Last synced: 20 days ago
JSON representation
Getting Started bash script for Enroute Universal API Gateway
- Host: GitHub
- URL: https://github.com/saarasio/gettingstarted
- Owner: saarasio
- Created: 2020-04-16T06:58:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-21T02:07:25.000Z (over 4 years ago)
- Last Synced: 2024-10-05T00:41:01.628Z (3 months ago)
- Topics: api-gateway, apigateway, apis
- Language: Shell
- Homepage: https://getenroute.io/docs/getting-started-enroute-standalone-gateway/
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Dependencies:
* python
* curl```
$ ./gs
Checking for python...
Checking for curl...Bash script for getting started with Enroute Standalone API Gateway.
Uses curl to make REST calls to program locally running Enroute Standalone API Gateway
Run Enroute first -
sudo docker run --net=host saarasio/enroute-gw:v0.3.0
Then use this script to program it.
Usage: ./gs [option]
options:
create-http - create service, route, upstream
send-http-traffic - use this option to send http trafficcreate-https - create service, secret, route, upstream
send-https-traffic - use this option to send https trafficcreate-grpc - create service, route, upstream for grpc
send-grpc-traffic - sends grpc traffic (grpc_client_server -role client -host 127.0.0.1 -port 8080 -id 3)start-server - Runs server using python (python -m SimpleHTTPServer 50051)
start-server-grpc - Runs server using grpc_client_server (grpc_client_server -role server -host 127.0.0.1 -port 50053)show
deleteExample:
./gs create-https
./gs delete
./gs show