上一页 1 ··· 163 164 165 166 167 168 169 170 171 ··· 499 下一页
摘要: <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> <plugin> <groupId>c 阅读全文
posted @ 2020-12-27 22:59 Zhentiw 阅读(114) 评论(0) 推荐(0)
摘要: application-docker.properties: spring.datasource.url=jdbc:mysql://${server}:${port}/explorecali spring.datasource.username=${dbuser} spring.datasource 阅读全文
posted @ 2020-12-27 22:52 Zhentiw 阅读(124) 评论(0) 推荐(0)
摘要: application-mysql.properties: spring.datasource.url=jdbc:mysql://ec-mysql:3306/explorecali spring.datasource.username=cali_user spring.datasource.pass 阅读全文
posted @ 2020-12-27 22:44 Zhentiw 阅读(92) 评论(0) 推荐(0)
摘要: Before build the docker file, build the jar package: mvn package -DskipTests=true Dockerfile: FROM java:8 WORKDIR / ADD target/explorecali-2.0.0-SNAPS 阅读全文
posted @ 2020-12-27 22:32 Zhentiw 阅读(85) 评论(0) 推荐(0)
摘要: Extending, Securing and Dockerizing Spring Boot Microservices Final Product requires External MySql Database. Install Docker For Mac/Windows/Linux ### 阅读全文
posted @ 2020-12-27 22:23 Zhentiw 阅读(89) 评论(0) 推荐(0)
摘要: Testing JWT proteceted endpoint: /** * HTTP POST /tours/{tourId}/ratings */ @Test public void createTourRating() throws Exception { restTemplate.excha 阅读全文
posted @ 2020-12-27 22:09 Zhentiw 阅读(227) 评论(0) 推荐(0)
摘要: Provider: package com.example.ec.security; import com.example.ec.domain.Role; import io.jsonwebtoken.*; import org.springframework.beans.factory.annot 阅读全文
posted @ 2020-12-27 22:01 Zhentiw 阅读(178) 评论(0) 推荐(0)
摘要: If you find yourself filling out the same form over and over again, or working through a weird workflow to enable certain features in your app just to 阅读全文
posted @ 2020-12-26 18:28 Zhentiw 阅读(142) 评论(0) 推荐(0)
摘要: require.context: https://webpack.js.org/guides/dependency-management/#requirecontext require.context(directory, useSubdirectories = true, regExp = /^\ 阅读全文
posted @ 2020-12-26 18:14 Zhentiw 阅读(172) 评论(0) 推荐(0)
摘要: package com.example.ec.security; import com.example.ec.repo.RoleRepository; import org.springframework.beans.factory.annotation.Autowired; import org. 阅读全文
posted @ 2020-12-26 04:54 Zhentiw 阅读(106) 评论(0) 推荐(0)
上一页 1 ··· 163 164 165 166 167 168 169 170 171 ··· 499 下一页