deason 7 년 전
부모
커밋
9a028b48f1
4개의 변경된 파일9개의 추가작업 그리고 10개의 파일을 삭제
  1. 4 4
      pom.xml
  2. 1 1
      src/main/resources/application-dev.properties
  3. 1 1
      src/main/resources/application-test.properties
  4. 3 4
      src/main/resources/application.properties

+ 4 - 4
pom.xml

@@ -104,14 +104,14 @@
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-data-jpa</artifactId>
         </dependency>
-        <dependency>
+        <!--<dependency>
             <groupId>org.springframework.session</groupId>
             <artifactId>spring-session-data-redis</artifactId>
-        </dependency>
-        <dependency>
+        </dependency>-->
+        <!--<dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-actuator</artifactId>
-        </dependency>
+        </dependency>-->
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-test</artifactId>

+ 1 - 1
src/main/resources/application-dev.properties

@@ -17,7 +17,7 @@ spring.datasource.url=jdbc:mysql://192.168.10.30:3306/app_api?useUnicode=true&ch
 spring.datasource.username=root
 spring.datasource.password=root
 spring.datasource.driverClassName=com.mysql.jdbc.Driver
-spring.jpa.show-sql=false
+spring.jpa.show-sql=true
 spring.jpa.hibernate.ddl-auto=update
 # ¿¼Îñ·þÎñµØÖ·
 examcloud.exam.admin.url=http://192.168.10.30:8001

+ 1 - 1
src/main/resources/application-test.properties

@@ -17,7 +17,7 @@ spring.datasource.url=jdbc:mysql://192.168.10.30:3306/app_api?useUnicode=true&ch
 spring.datasource.username=root
 spring.datasource.password=root
 spring.datasource.driverClassName=com.mysql.jdbc.Driver
-spring.jpa.show-sql=false
+spring.jpa.show-sql=true
 spring.jpa.hibernate.ddl-auto=update
 # ¿¼Îñ·þÎñµØÖ·
 examcloud.exam.admin.url=http://192.168.10.30:8001

+ 3 - 4
src/main/resources/application.properties

@@ -1,4 +1,3 @@
-# profile config
-spring.profiles.active=dev
-# debug=true
-management.endpoints.web.exposure.include=*
+#debug=true
+#management.endpoints.web.exposure.include=*
+spring.profiles.active=dev