6, spring boot tutorial -- integrating swagger
spring boot tutorial -- integrating swagger
1, About swagger
2. How to use swagger
1. Introduce the jar package of swagger
2. Write swagger configuration class
3. Code in controller
3, Operation effect
1, About swagger
Swagger is a standardized and complete framework for generating, describing ...
Posted by geetakhurana on Wed, 19 Feb 2020 02:04:24 -0800
docker builds the front and back end separation project to deploy https to the Internet server through Nginx
1: Project preparation:
1. Install docker and docker compose (the project is deployed through docker)
2. The project can be deployed successfully in the Intranet
3. Write docker compose file and log in docker
Two: Implementation
1. Docker compose create; docker compose start start project
2. P ...
Posted by jdiver on Wed, 19 Feb 2020 00:07:55 -0800
Secret and ConfigMap for Kubernetes Data Persistence
ConfigMap and Secret are two special types of storage volumes in Kubernetes. ConfigMap is a resource object mainly used to provide configuration data to customize program behavior. However, some sensitive configuration information, such as user name, password, key and so on, are usually configured by a resource object such as Secret, which sto ...
Posted by mattlatos on Fri, 14 Feb 2020 13:11:59 -0800
maven common operations
1, Using docker to build maven nexus private server
1: Download Image
docker pull sonatype/nexus3
2: create the mount directory and grant permissions to / var / lib / docker / volumes / nexus data
chmod 777 nexus-data/
3: start container
docker run -d -p 8081:8081 --name nexus -v /var/lib/docke ...
Posted by mosizlak on Fri, 14 Feb 2020 00:22:47 -0800
mysql remote connection under docker
A strange place of mysql8.0 under docker
I found a strange phenomenon when I installed mysql (last version) with docker in the morning
If there is
Let's talk about the pit first
The newly installed mysql does not allow remote connection. This problem is easy to solve. Once you search online, the ...
Posted by firelior on Thu, 13 Feb 2020 21:47:18 -0800
Spring cloud bus auto refresh configuration
Problems solved
To solve the problem that the project needs to be restarted after the configuration file changes
After changing the configuration file in git, push the configuration to the corresponding project to complete the configuration update without restarting
Framework
Modify the archite ...
Posted by vasoftwaresolutions on Tue, 11 Feb 2020 06:25:18 -0800
Diagram of the core implementation of kubernetes container lookup mechanism
After a container is pulled up by kubelet in k8s, the user can specify the way of sniffing to check the health of the container. TCP, Http and command are currently supported. Today, the implementation of the whole sniffing module is introduced to understand the implementation of its periodic detection, counter, delay and other design.
1. Explo ...
Posted by Stunt on Mon, 10 Feb 2020 21:21:00 -0800
Prometheus + Grafana monitoring SpringBoot
Overall structure
Spring boot's actor provides the monitoring endpoint.
Prometheus is a monitoring system, which can obtain monitoring data from spring boot, store it in the form of time series data, and provide query service for monitoring data.
Grafana is a professional UI dashboard system, which supports a lot of data sources, including Prom ...
Posted by elearnindia on Sun, 09 Feb 2020 23:22:47 -0800
How to use CouchDB wallet in Fabric Node SDK
When an application interacts with a Hyperledger Fabric network, the Fabric node first verifies the identity of the application, that is, whether the certificate held by the application allows access to the Hyperledger Fabric network.In Hyperledger, these identities are stored in the wallet.In this tutorial, we will show you how to use a CouchD ...
Posted by andrewgarn on Sun, 09 Feb 2020 20:49:30 -0800
Windows play Kubernetes series 3-Centos installation K8S
References of previous articles:
Windows play Kubernetes series 1-VirtualBox installation Centos
Windows play Kubernetes series 2-Centos install Docker
Install K8S
yum install -y kubeadm
The corresponding dependency packages will also be installed on kubelet, kubeadm, kubectl and kubernetes CNI
kubeadm: one click deployment tool of k8 cluster, ...
Posted by jeffery on Sun, 09 Feb 2020 05:50:50 -0800