https://github.com/bitsofinfo/spring-boot-cloud-eureka-path-variable-issue
https://github.com/spring-cloud/spring-cloud-netflix/issues/1252
https://github.com/bitsofinfo/spring-boot-cloud-eureka-path-variable-issue
Last synced: 10 months ago
JSON representation
https://github.com/spring-cloud/spring-cloud-netflix/issues/1252
- Host: GitHub
- URL: https://github.com/bitsofinfo/spring-boot-cloud-eureka-path-variable-issue
- Owner: bitsofinfo
- Created: 2016-08-12T00:40:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-12T00:52:40.000Z (over 9 years ago)
- Last Synced: 2025-01-29T11:12:58.116Z (12 months ago)
- Language: Java
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spring-boot-cloud-eureka-path-variable-issue
https://github.com/spring-cloud/spring-cloud-netflix/issues/1252
https://github.com/spring-projects/spring-boot/issues/6629
https://gitter.im/spring-projects/spring-boot?at=57acee60ae838f6f56988f67
Relvant class: `my.test.TestRESTController`
To produce this issue:
```
./gradlew bootRun
curl http://localhost:8080/my/custom/path/test@sample.com
```
UNEXPECTED: **You get a 406 back**
------------
Workaround (well not really for me, I need to use spring cloud eureka)!
* Comment out in build.gradle
```
//compile 'org.springframework.cloud:spring-cloud-starter-eureka'
```
Run again:
```
./gradlew clean
./gradlew bootRun
curl http://localhost:8080/my/custom/path/test@sample.com
```
EXPECTED: **i got here test@sample.com**