Gradle custom plug in
Use version 5.6.2
Plug-ins are used to encapsulate the build logic and some common configurations. Encapsulate reusable build logic and default conventions into plug-ins for use by other projects.
You can use your favorite language to develop plug-ins, but in the end it's compiled into bytecode to run in the JVM.
Gradle has two plug-ins, scr ...
Posted by grilldan on Thu, 24 Oct 2019 06:49:40 -0700
Swagger2: the interaction artifact of front and rear end
Swagger2: the interaction artifact of front and rear end
Catalog
Article directory
Swagger2: the interaction artifact of front and rear end
Preface
Integration of SpringBoot and Swagger2
Notes on Swagger2
Preface
It is believed that many individuals and companies have used the front-end and ...
Posted by hoppyite on Thu, 24 Oct 2019 03:14:09 -0700
Soa architecture splits the presentation layer and service layer into independent projects [transformation 1]
Delete the web project reference first
image.png
Then cut the E3 manager web in the folder to the same level as E3 parent.
image.png
After shearing
image.png
And then start the transformation in eclipse.
e3-manager pom.xml
< module > E3 Manager Web < / module > delete
Then change E3 manager service ...
Posted by s_r_elliott on Wed, 23 Oct 2019 15:08:34 -0700
Spring cloud learning notes (VII. Service link tracking)
What is service link
Check the call relationship. Like the previous microservices, only two microservices are OK. If there are too many, it's hard to read the code. So, we introduced one thing -- distributed system call tracing. At present, the most widely used open source implementation is Twitter's ...
Posted by xinnex on Wed, 23 Oct 2019 12:06:11 -0700
mybatis and springboot integration
mavne file:
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId ...
Posted by agoe on Wed, 23 Oct 2019 10:35:32 -0700
docker+jenkins+github deployment soringboot project
Preface
Using jenkins to associate github to publish spring boot project is very simple. This article introduces the process of publishing with docker.
ps: the server of this article is centos7
Install docker
yum install docker
After installation, you need to set it to start
systemctl start docker.service
systemctl enable docker.service
The ...
Posted by tester2 on Tue, 22 Oct 2019 03:13:00 -0700
GitLab+jenkins+docker release
Article directory
Basic services
Microservice provider
Jenkins
http://192.168.2.5:181/view/all/newJob Build a maven project HT micro record service note provider
Add jenkins host public key to gitlab and generate global credentials
1.Username with password root/123456
2.SSH Username with private k ...
Posted by V34 on Fri, 18 Oct 2019 13:25:54 -0700
Using maven compiler plugin and maven shade plugin to complete maven project packaging
Recently, I was in charge of a pure maven project (project requirements should be as light as possible), and I need to complete the packaging work by myself.
Therefore, based on Maven compiler plugin and Maven shade plugin, the project packaging is completed.
Among them:
Maven compiler plugin is responsible for project compilation;
maven-sha ...
Posted by cookiemonster4470 on Fri, 18 Oct 2019 13:15:26 -0700
java high concurrent programming and thread safety
Code has multiple threads running at the same time, and these threads may run the same code at the same time. If the result of each run is the same as that of a single thread, we think it is thread safe. Thread insecurity means that the thread does not provide access protection, and multiple threads may change the data successively, resulting i ...
Posted by Jtech inc. on Fri, 18 Oct 2019 11:59:57 -0700
SpringBoot admin+Eureka + nail notification
I. Effect
Login account + password
Monitoring service
View live logs
Nail notification
2. What is Spring Boot Admin?
Spring Boot Admin is an open source community project for managing and monitoring spring boot applications. The application, as the Spring Boot Admin Client, registers with the Spring Boot Admin Server (via HTTP) or uses the ...
Posted by warpdesign on Thu, 17 Oct 2019 20:58:42 -0700