</parent>
<groupId>de.juplo.kafka.wordcount</groupId>
<artifactId>users</artifactId>
- <version>1.0.1</version>
+ <version>1.0.2</version>
<name>Wordcount-Users</name>
<description>Users-service of the multi-user wordcount-example</description>
<properties>
}
@PostMapping(
- path = "/users",
+ path = "/",
consumes = {
MimeTypeUtils.TEXT_PLAIN_VALUE,
MimeTypeUtils.APPLICATION_JSON_VALUE
return result;
}
- @GetMapping("/users/{username}")
+ @GetMapping("/{username}")
ResponseEntity<User> queryFor(@PathVariable String username)
{
Optional<URI> redirect = processor.getRedirect(username);