How Spring Boot tests packaged deployments

I. Development Phase (1) Unit testing The most important thing in the development phase is unit testing, and Spring Boot's support for unit testing is already complete. 1. Add dependencies to the pom.xml file <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</arti ...

Posted by boo_lolly on Sun, 23 Feb 2020 18:56:52 -0800

Tangent programming in Spring Boot, explanation of example scenario (log printing)

Article directory 1. What is AOP 2.Spring Boot integrated AOP 2.1 add maven dependency 2.2 section programming (implementation of log printing example) 2.2.1 create the facet class LogAspectHandler.java 2.2.2 @Pointcut: pointcut 2.2.3 @Before: pre advice 2.2.4 @After: Post advice 2.2.5 @AfterReturn ...

Posted by abriggs on Sat, 22 Feb 2020 01:45:48 -0800

Detailed tutorial of thingsboard source installation and deployment

QQ group communication If there are other problems with the installation, you can go to QQ group for help Environmental installation Development environment requirements: JDK version 1.8 PostgreSQL 9up Node.js Npm Maven 3.6 up Git tools Idea development tools JDK Download and install Official down ...

Posted by thedualmind on Fri, 21 Feb 2020 00:59:54 -0800

Java add, read and delete Excel document properties

In document properties, you can set many information about the document, such as creation time, author, company, category, keywords, notes and other summary information, as well as some custom document properties. Next, we will use Java program to demonstrate how to set it. At the same time, we can a ...

Posted by pmaiorana on Thu, 20 Feb 2020 23:17:31 -0800

Spring boot 2. X Foundation: packaging applications as executable jars

Knowledge changes fate, rolling code makes me happy, and I will continue to swim in the open source industry in 2020 < br / > Take a look at what you like and get into the habit < br / > Give me a Star, Click to learn about the implementation solution of component-based interface service based on spring boot After the application ...

Posted by khanuja.sunpreet on Thu, 20 Feb 2020 00:12:35 -0800

Artifactory & GitLab CI Continuous Integration Practice

GitLab CI supports the creation of multiple builds and evaluates whether each code submission passes tests and impacts on your product.During the construction process, a large number of binary files will be generated, and if these files are not properly managed on a large scale, it will lead to binary file management confusion.To overcome this ...

Posted by FrobinRobin on Wed, 19 Feb 2020 10:20:17 -0800

Generating REST client using Swagger CodeGen in Spring Boot

Article Directory What is an Open API specification definition file? Generate Rest Client Use in Spring Boot API Client Configuration Use Maven plugin Online Generation API Generating REST client using Swagger CodeGen in Spring Boot Swagger is a very useful API tool. We will use Swagger to expose ...

Posted by auday1982 on Mon, 17 Feb 2020 17:13:12 -0800

Flink1.9“Error: A JNI error has occurred”

background Recently, companies are building big data systems, and architects recommend using Flink to build them.So this day, I'm investigating Flink in my own virtual machine environment (Ubuntu 16.4). from ververica I learned the fundamentals of flink in school, because I worked on python data pr ...

Posted by aperales10 on Sun, 16 Feb 2020 18:33:05 -0800

springboot2.0 + websocket + android client practice

brief introduction WebSocket is a protocol in HTML5. It supports persistent connection and can effectively solve the problem of polling when data synchronization between client and server. Design sketch Server side Create a web project (omitted here) Introduce websocket maven dependency (supported only when springboot ...

Posted by philspliff on Sat, 15 Feb 2020 12:16:17 -0800

Spring cloud project integration [eureka+ribbon+zuul+hystrix+hystrix dashboard]

This article is not suitable for people who do not have the foundation of spring cloud. This article is a shelf that I sorted out after learning spring cloud. Mainly for self study Students who need source code are concerned about the following official account reply: xdxcloud Service Architecture ...

Posted by wiccan8888 on Fri, 14 Feb 2020 02:47:10 -0800