Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/environment/ecd_ci.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ beneficiaryEditUrl =@env.COMMON_API@/beneficiary/update
logging.file.name=@env.ECD_API_LOGGING_FILE_NAME@


springdoc.api-docs.enabled=false
springdoc.swagger-ui.enabled=false
springdoc.api-docs.enabled=@env.SWAGGER_DOC_ENABLED@
springdoc.swagger-ui.enabled=@env.SWAGGER_DOC_ENABLED@

4 changes: 4 additions & 0 deletions src/main/environment/ecd_example.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ registerBeneficiaryUrl=https:localhost:8083/beneficiary/create

##Beneficiary Edit Url
beneficiaryEditUrl =https:localhost:8083/beneficiary/update

springdoc.api-docs.enabled=true
springdoc.swagger-ui.enabled=true

1 change: 1 addition & 0 deletions src/main/environment/ecd_uat.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ jwt.secret=
springdoc.api-docs.enabled=true
springdoc.swagger-ui.enabled=true


Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ public void doFilter(ServletRequest servletRequest, ServletResponse servletRespo
// Skip login and public endpoints
if (path.equals(contextPath + "/user/userAuthenticate")
|| path.equalsIgnoreCase(contextPath + "/user/logOutUserFromConcurrentSession")
|| path.startsWith(contextPath + "/swagger-ui")
|| path.startsWith(contextPath + "/v3/api-docs")
|| path.startsWith(contextPath + "/user/refreshToken")
|| path.startsWith(contextPath + "/public")) {
logger.info("Skipping filter for path: " + path);
filterChain.doFilter(servletRequest, servletResponse);
Expand Down
Loading