correct health check
This commit is contained in:
parent
7ab588cb38
commit
c45b9a13bd
@ -20,7 +20,7 @@ public class HealthCheck {
|
|||||||
@GET
|
@GET
|
||||||
@PermitAll
|
@PermitAll
|
||||||
public Response getHealth() {
|
public Response getHealth() {
|
||||||
if (JWTWrapper.getPublicKey() == null) {
|
if (JWTWrapper.getPublicKeyJson() == null) {
|
||||||
return Response.status(500).entity(new HealthResult("Missing Jwt public token")).build();
|
return Response.status(500).entity(new HealthResult("Missing Jwt public token")).build();
|
||||||
}
|
}
|
||||||
return Response.status(200).entity(new HealthResult("alive and kicking")).build();
|
return Response.status(200).entity(new HealthResult("alive and kicking")).build();
|
||||||
|
@ -109,7 +109,6 @@ export class VideoEditScene implements OnInit {
|
|||||||
{ value: undefined, label: '---' },
|
{ value: undefined, label: '---' },
|
||||||
];
|
];
|
||||||
constructor(
|
constructor(
|
||||||
private route: ActivatedRoute,
|
|
||||||
private typeService: TypeService,
|
private typeService: TypeService,
|
||||||
private seriesService: SeriesService,
|
private seriesService: SeriesService,
|
||||||
private videoService: VideoService,
|
private videoService: VideoService,
|
||||||
|
Loading…
Reference in New Issue
Block a user