diff --git a/pom.xml b/pom.xml index 84d6d8b..ac63bb8 100644 --- a/pom.xml +++ b/pom.xml @@ -4,10 +4,10 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 com.iemr.tm - Scheduler-API - 0.0.1-SNAPSHOT + scheduler-api + 3.1.0 war - scheduler-api + Scheduler-API TeleMedicine Page org.springframework.boot @@ -256,7 +256,7 @@ - schedulerapi-v3.0.0 + ${artifactId}-${version} org.apache.maven.plugins diff --git a/src/main/environment/common_ci.properties b/src/main/environment/common_ci.properties index 6e7d5de..f0ed942 100644 --- a/src/main/environment/common_ci.properties +++ b/src/main/environment/common_ci.properties @@ -19,6 +19,7 @@ spring.redis.host=localhost jwt.secret=@env.JWT_SECRET_KEY@ #ELK logging file name +logging.path=logs/ logging.file.name=@env.SCHEDULER_API_LOGGING_FILE_NAME@ springdoc.api-docs.enabled=@env.SWAGGER_DOC_ENABLED@ diff --git a/src/main/environment/common_dev.properties b/src/main/environment/common_dev.properties deleted file mode 100644 index 085cd72..0000000 --- a/src/main/environment/common_dev.properties +++ /dev/null @@ -1,18 +0,0 @@ -# dev env -# DB Connections -spring.datasource.url= -spring.datasource.username= -spring.datasource.password= -spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver - -spring.profiles.active=test - -callcentre-server-ip=10.208.122.99 - - -common-url=/commonapi-v1.0/ - -### Redis IP -spring.redis.host=localhost -jwt.secret= - diff --git a/src/main/environment/common_example.properties b/src/main/environment/common_example.properties index c6a0485..d6b4463 100644 --- a/src/main/environment/common_example.properties +++ b/src/main/environment/common_example.properties @@ -18,5 +18,7 @@ common-url=http://localhost:8083/ ### Redis IP spring.redis.host=localhost -jwt.secret= +jwt.secret=my-32-character-ultra-secure-and-ultra-long-secret +logging.path=logs/ +logging.file.name=logs/scheduler-api.log diff --git a/src/main/environment/common_test.properties b/src/main/environment/common_test.properties deleted file mode 100644 index ad74007..0000000 --- a/src/main/environment/common_test.properties +++ /dev/null @@ -1,18 +0,0 @@ -# test env -# DB Connections -spring.datasource.url= -spring.datasource.username= -spring.datasource.password= -spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver - - -spring.profiles.active=test - -callcentre-server-ip=10.208.122.99 - - -common-url=/commonapi-v1.0/ - -### Redis IP -spring.redis.host=localhost -jwt.secret= diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 9f44b50..601dca7 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -30,9 +30,6 @@ logging.level.org.springframework.web=DEBUG logging.level.org.hibernate=DEBUG logging.level.com.iemr=DEBUG -logging.path=logs/ -logging.file.name=logs/scheduler-api.log - # slot size in mins multiple of 5 scheduling-slotsize=5 czentrix-server-ip=10.208.122.99 diff --git a/src/main/webapp/WEB-INF/jboss-web.xml b/src/main/webapp/WEB-INF/jboss-web.xml new file mode 100644 index 0000000..1a65ef0 --- /dev/null +++ b/src/main/webapp/WEB-INF/jboss-web.xml @@ -0,0 +1,4 @@ + + + /scheduler-api +