Skip to content

Commit

Permalink
unit test debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
YasasRangika committed Sep 6, 2024
1 parent bb6e6f4 commit f0d0ffb
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1437,7 +1437,13 @@ private String updateSwaggerSecurityDefinitionForStore(Swagger swagger, SwaggerD
KeyManagerConfigurationDTO keyManagerConfigurationDTO = null;
try {
String tenantDomain = PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantDomain();
if (log.isDebugEnabled()) {
log.debug("******************START******************");
}
APIAdmin apiAdmin = new APIAdminImpl();
if (log.isDebugEnabled()) {
log.debug("******************END******************");
}
keyManagerConfigurationDTO = apiAdmin.getKeyManagerConfigurationById(tenantDomain, kmId);
if (keyManagerConfigurationDTO == null || (StringUtils.isEmpty(kmId) && !Objects.equals(
keyManagerConfigurationDTO.getType(), APIConstants.KeyManager.DEFAULT_KEY_MANAGER_TYPE))) {
Expand Down

0 comments on commit f0d0ffb

Please sign in to comment.