Skip to content

Commit

Permalink
feat: revocation-list controller disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
karaeth committed Nov 29, 2023
1 parent 49b3240 commit d1e2b92
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
import java.time.ZonedDateTime;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
Expand All @@ -69,6 +70,7 @@
@RequiredArgsConstructor
@Validated
@Slf4j
@ConditionalOnProperty(name = "revocation-list.controller.enabled", havingValue = "true")
public class CertificateRevocationListController {

private final RevocationListService revocationListService;
Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,7 @@ dgc:
springdoc:
api-docs:
enabled: false

revocation-list:
controller:
enabled: false

0 comments on commit d1e2b92

Please sign in to comment.