T213 hotfix. Link is back operational

This commit is contained in:
2021-03-02 16:29:36 +01:00
parent fa2f15a205
commit 8a7380396b
3 changed files with 4 additions and 7 deletions

View File

@@ -12,10 +12,7 @@ import org.springframework.http.HttpStatus;
import org.springframework.http.RequestEntity;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.Map;
@@ -27,9 +24,9 @@ import java.util.UUID;
* A class responds to generated message uri's requests.
* It deletes or fetches the requested message
*/
@Controller("/klaus/v1")
@RestController
@Slf4j
//@Profile({"DEV", "default"})
@RequestMapping(path = ("/klaus/v1"))
@AllArgsConstructor
public class KlausController {

View File

@@ -1,2 +1,2 @@
redis.host = redis
redis.host = localhost
redis.port = 6379