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
5 changes: 4 additions & 1 deletion src/main/environment/admin_ci.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ jwt.secret=@env.JWT_SECRET_KEY@
#ELK logging file name
logging.file.name=@env.ADMIN_API_LOGGING_FILE_NAME@

common-url=@env.COMMON_URL@
common-url=@env.COMMON_URL@

springdoc.api-docs.enabled=@env.SWAGGER_DOC_ENABLED@
springdoc.swagger-ui.enabled=@env.SWAGGER_DOC_ENABLED@
5 changes: 4 additions & 1 deletion src/main/environment/admin_dev.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ videoConsultation-base-url=https://psmri.swymed.com:92744
spring.redis.host=localhost
spring.main.allow-bean-definition-overriding=true

common-url=http://localhost:8083/
common-url=http://localhost:8083/,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Remove trailing comma from common-url property
Property files include commas as literal characters; the extra comma in http://localhost:8083/, will become part of the URL and may break downstream calls. Please remove it so the value reads http://localhost:8083/.


springdoc.api-docs.enabled=true
springdoc.swagger-ui.enabled=true
5 changes: 4 additions & 1 deletion src/main/environment/admin_example.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ videoConsultation-base-url=https://psmri.swymed.com:9274
spring.redis.host=localhost
spring.main.allow-bean-definition-overriding=true

common-url=http://localhost:8083/
common-url=http://localhost:8083/

springdoc.api-docs.enabled=true
springdoc.swagger-ui.enabled=true
6 changes: 4 additions & 2 deletions src/main/environment/admin_test.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ callcentre-server-ip=10.208.122.99
videoConsultation-apikey=<Enter Swymed API key>
videoConsultation-base-url=https://psmri.swymed.com:9274



### Redis IP
spring.redis.host=localhost
spring.main.allow-bean-definition-overriding=true
jwt.secret=

common-url=http://localhost:8083/

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

3 changes: 3 additions & 0 deletions src/main/environment/admin_uat.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ spring.redis.host=localhost
spring.main.allow-bean-definition-overriding=true

common-url=http://localhost:8083/
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