Skip to content

Commit

Permalink
deployment issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ravishanigarapu committed Feb 16, 2024
1 parent fee9a42 commit 4d989f5
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 41 deletions.
13 changes: 8 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<java.version>17.0.3</java.version>
<java.version>17</java.version>
<org.springframework.boot.version>3.2.2</org.springframework.boot.version>

<org.springframework.hateoas.version>0.10.0.RELEASE</org.springframework.hateoas.version>
Expand Down Expand Up @@ -191,10 +191,7 @@
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
Expand All @@ -216,6 +213,12 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
</exclusions>
<!-- <version>2.5.5</version> Use the latest stable version -->
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion src/main/environment/common_dev.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.profiles.active=test

callcentre-server-ip=10.208.122.99
common-api-url=http://10.208.122.38:8080/commonapi-v1.0/
common-api-url=<Enter your socket address here>/commonapi-v1.0/

### Redis IP
spring.data.redis.host=localhost
Expand Down
2 changes: 1 addition & 1 deletion src/main/environment/common_example.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ spring.datasource.driver-class-name=com.mysql.jdbc.Driver

spring.profiles.active=test
callcentre-server-ip=10.208.122.99
common-api-url=http://10.208.122.38:8080/commonapi-v1.0/
common-api-url=<Enter your socket address here>/commonapi-v1.0/

### Redis IP
spring.data.redis.host=localhost
Expand Down
3 changes: 2 additions & 1 deletion src/main/environment/common_test.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ spring.datasource.driver-class-name=com.mysql.jdbc.Driver
#spring.jpa.show-sql=true
spring.profiles.active=test
callcentre-server-ip=10.208.122.99
common-api-url=http://10.208.122.38:8080/commonapi-v1.0/

common-api-url=<Enter your socket address here>/commonapi-v1.0/
### Redis IP
spring.data.redis.host=localhost

Expand Down
3 changes: 2 additions & 1 deletion src/main/java/com/iemr/inventory/RoleMasterApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
Expand All @@ -39,7 +40,7 @@
@ComponentScan
@SpringBootApplication
@EnableCaching(proxyTargetClass = true)
public class RoleMasterApplication {
public class RoleMasterApplication extends SpringBootServletInitializer{

public static void main(String[] args) {
SpringApplication.run(roleMasterApplication, args);
Expand Down
32 changes: 0 additions & 32 deletions src/main/resources/logback.xml

This file was deleted.

0 comments on commit 4d989f5

Please sign in to comment.