Fix init for readiness probe controller
This commit is contained in:
parent
bb7ea08e59
commit
13fbcf4ba0
@ -16,6 +16,7 @@
|
|||||||
package org.thingsboard.server.edqs.state;
|
package org.thingsboard.server.edqs.state;
|
||||||
|
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
|
||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
@ -23,6 +24,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|||||||
|
|
||||||
@RestController
|
@RestController
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
|
@ConditionalOnExpression("'${service.type:null}'=='edqs'")
|
||||||
@RequestMapping("/api/edqs")
|
@RequestMapping("/api/edqs")
|
||||||
public class EdqsController {
|
public class EdqsController {
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user