Agate is a cloud-native, fast, scalable, and async API Gateway. its core values are high performance and extensibility.
- Vert.x 4.3
- Consul 1.7
- step1: pull source and build
git pull https://github.com/dinstone/agate.git
// build
cd agate
mvn clean package
- step2: start agate admin and gateway
Windows:
cd agate-script
.\agate-install.bat
Linux:
cd agate-script
./agate-install.sh
or execute the following command:
cd agate
mvn clean install
cd agate-script
docker compose stop
echo y | docker compose rm
docker compose up -d
- step3: test agate admin and gateway services
access agate admin using username/password = agate/123456 by url http://localhost:8888/
- Http URL Proxy:
http://localhost:4004/(?<url>.*) --> https://www.baidu.com/:url
- Http Microservice Discovery:
http://localhost:4002/user-provider/(?<url>.*) --> http://user-provider/:url
- Logging
- Tracing
- Metrics
- Rate Limit
- Circuit Breaker
- Gray Deployment
- Security Authenticate
- Routing: Http Reverse Proxy
- Routing: Http Service Discovery
goto wiki https://github.com/dinstone/agate/wiki