Switch eureka endpoint to /eureka

All static content is excluded in the Jersey config, so we can use
/eureka for the prefix to the Eureka API (i.e. /apps etc.)

Fixes gh-44
This commit is contained in:
Dave Syer
2014-10-23 11:16:22 -07:00
parent cce52424af
commit 35d02f75ae
10 changed files with 11 additions and 54 deletions

View File

@@ -41,7 +41,7 @@ public class Application {
eureka:
client:
serviceUrl:
defaultZone: http://localhost:8761/eureka/api/
defaultZone: http://localhost:8761/eureka/
```
The default application name, virtual host and non-secure port are taken from the `Environment` is
@@ -89,7 +89,7 @@ public class Application {
```
The server has a home page with a UI, and HTTP API endpoints per the
normal Eureka functionality under `/eureka/api/*`.
normal Eureka functionality under `/eureka/*`.
Eureka background reading: see https://github.com/cfregly/fluxcapacitor/wiki/NetflixOSS-FAQ#eureka-service-discovery-load-balancer[flux capacitor] and https://groups.google.com/forum/?fromgroups#!topic/eureka_netflix/g3p2r7gHnN0[google group discussion].