https://github.com/jamesnetherton/quarkus-http-demo
https://github.com/jamesnetherton/quarkus-http-demo
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jamesnetherton/quarkus-http-demo
- Owner: jamesnetherton
- Created: 2021-01-05T09:26:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-05T10:21:07.000Z (over 4 years ago)
- Last Synced: 2024-10-19T21:17:59.504Z (7 months ago)
- Language: Java
- Size: 53.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Demo app to show how Quarkus RESTEasy can impact other routes configured on the Vert.x Web router.
Observe the Vert.x router configuration in class `RouterConfig` and unit test in `VertxWebRouteTest`.
1. Run project tests `mvn clean test`. Note the incorrect status code `404`. It should be `415`.
2. Remove the `@Path` annotation from `GreetingResource`. Rerun tests `mvn clean test`. Note this time tests pass since the status code was the expected `415`.