deason před 7 roky
rodič
revize
9a028b48f1

+ 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