You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23c5fcbf91
* #464 added code to request mapper to not automatically add content type and content length headers, .net will automatically try and add these headers in a few circumstances but this solves the 464 issue * #464 use seek instead of read on body check for websockets tests * #464 ran out of inodes on linux, looks like reloadonchange causes this |
7 years ago | |
---|---|---|
.. | ||
ApiGateway | 7 years ago | |
DownstreamService | 7 years ago | |
OcelotEureka.sln | 7 years ago | |
README.md | 7 years ago |
README.md
#Example how to use Eureka service discovery
I created this becasue users are having trouble getting Eureka to work with Ocelot, hopefully this helps. Please review the implementation of the individual servics to understand how everything fits together.
##Instructions
-
Get Eureka installed and running...
$ git clone https://github.com/spring-cloud-samples/eureka.git $ cd eureka $ mvnw spring-boot:run
Leave the service running
-
Get Downstream service running and registered with Eureka
cd ./DownstreamService/ dotnet run
Leave the service running
-
Get API Gateway running and collecting services from Eureka
cd ./ApiGateway/ dotnet run
Leave the service running
-
Make a http request to http://localhost:5000/category you should get the following response
["category1","category2"]