Configuration Secrets used by drone
Repository secrets are used to store passwords, secret keys, tokens and other confidential information.repository secrets can be configured in the setting interface of the warehouse
Usage:
kind: pipeline
name: default
steps:
- name: build
image: alpine
environment:
USERNAME:
from_secret: docker_username
PASSWORD:
from_ ...
Posted by DfyAnt on Fri, 29 Nov 2019 12:09:49 -0800
Learn the load balancing Ribbon of spring cloud
brief introduction
What is load balancing?
Load balancing is an indispensable component in the distributed architecture. Its significance is to allocate requests to various service providers through certain rules or algorithms.
Ribbon is a client-side load balancer that provides a range of capabilities that let you control ...
Posted by haddydaddy on Fri, 29 Nov 2019 11:10:52 -0800
mysql8+mybatis-plus3.1 automatically generate interface with lombok, swagger, addition, deletion, modification and query
mybatis-dsc-generator
Perfect integration of lombok, swagger code generation tools, so that you no longer worry about cumbersome comments and simple interface implementation: entity integration, format verification, swagger; dao auto add @ mapper, service auto comment and dependency; controller to achieve single table add / modify, and realize ...
Posted by AIS4U on Fri, 29 Nov 2019 10:54:11 -0800
[open source] an implementation of Dapper Repository
Then the first one. An implementation of [open source] Entity Framework 6 Repository
Since Dapper itself is a lightweight Orm feature, please refer to Creating a Data Repository using Dapper dynamic queries in dapper Code to solve the problem of entity class and expression < func < T, bool > > predicate;
You can use Nuget: instal ...
Posted by Pezmc on Fri, 29 Nov 2019 10:29:11 -0800
Using gRPC client in PHP
Because the work needs to use gRPC, I use windows 10, but the operation flow of linux is basically the same.
Go directly to the topic, divided into several parts
1. Download Protoc
Download address: https://github.com/google/protobuf/releases
Select the corresponding platform and download the binary file used herehttps://github.com/protocol ...
Posted by jexx on Fri, 29 Nov 2019 01:01:08 -0800
Bugs in Spring Cloud Hystrix ThreadPool
BUG background
JDK: 11.0.4
Spring Cloud Finchley.SR3
Related configuration:
#Enable hystrix
feign.hystrix.enabled=true
#Close the circuit breaker
hystrix.command.default.circuitBreaker.enabled=false
#Disable hystrix remote call timeout
hystrix.command.default.execution.timeout.enabled=false
hystrix.threadpool.default.coreSize=50
Hystrix isol ...
Posted by codeDV on Thu, 28 Nov 2019 06:09:25 -0800
Hand made wheel: realize a simple dependency injection - service registration optimization
Hand made wheel: to realize a simple dependency injection (2) -- service registration optimization
Intro
The previous version of dependency injection framework is basically available, but it still feels inflexible, and the registration service and resolution service are a bit awkward in the same place, and the separation of responsibilities is ...
Posted by tomlei on Thu, 28 Nov 2019 03:57:59 -0800
Go GUI controls and signals
control
Control Brief
Control is the encapsulation of data and methods. Control has its own properties and methods. Property refers to the characteristics of the control. Method refers to some simple and visible functions of the control. For example, the button is a control. The button is square, with a picture inside. This is the appearance pr ...
Posted by weekender on Wed, 27 Nov 2019 13:33:41 -0800
Go pit filling: using Private warehouse as module dependency
This article is published synchronously in Personal blog.
The development of Golang can be described as changing with each passing day, but this is not a commendatory term, but it is said that there are many imperfections in its performance and function. With the development of small versions, the same function will also have destructive chang ...
Posted by djrichwz on Tue, 26 Nov 2019 21:21:14 -0800
RxJava2 usage and source reading
What is RxJava?According to RxJava's description on GitHub:RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java
It roughly means:RxJava - A java library that runs on a JVM and implements asynchronous operations based on observer mode.
The role of RxJava: ...
Posted by Smackie on Tue, 26 Nov 2019 20:15:07 -0800