Remember the scenario of using delay queue in one work

1 scenario The company is engaged in the traffic management of the Internet of things related businesses recently connected with the mobile remote traffic card. The specific business involves card downtime and card recovery. After the user recharge, the background calls the remote card recovery interface for recovery, but the actual test is don ...

Posted by Hikari on Thu, 07 May 2020 10:23:25 +0200

Charles grabs the package and turns it into interface automation test case

We can get the json file to be parsed and convert it to json for saving by using Charles to grab the package and transfer the interface automation test case. So let's read it. First of all, let's look at the last document,    {   "config": {   "name": "testcase description",   "variables": {}   },   "teststeps": [   ...

Posted by saami123 on Wed, 06 May 2020 16:46:24 +0200

Android Jetpack Architecture - Paging custom pull-up loading more

Jetpack series Android Jetpack architecture component - Lifecycle usage Android Jetpack architecture component - LiveData usage The use and principle of ViewModel, an architecture component of Android Jetpack Android Jetpack architecture component - Paging introduction and Practice Android Jetpack architecture component - Roo ...

Posted by ganlal on Wed, 06 May 2020 06:04:28 +0200

koa2 implements jwt login

1.jwt Introduction Introduction is partly reproduced from Ruan Yifeng's Introduction to JSON Web Token Tutorial 0.session login 1. Users send user names and passwords to the server. 2. After the server is authenticated, save relevant data in the current session, such as user role, login time and so on. 3. The server returns a session_id to the ...

Posted by mattcooper on Tue, 05 May 2020 19:51:50 +0200

Step by step to complete Kubernetes binary deployment -- etcd cluster building (single node)

Completing Kubernetes binary deployment step by step (I) -- etcd cluster building (single node) Preface The basic theory and core components of Kubernetes are briefly introduced. The first step of deploying Kubernetes cluster with single node and binary system is to build etcd cluster experiment flow. List of cluster planning (the next article ...

Posted by RestlessThoughts on Tue, 05 May 2020 17:14:40 +0200

java websocket message push

1. maven introduces dependency <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.3</version> </dependency> <dependency> <groupId>javax.websocket</groupId> <artifactId>javax.websocket-api</art ...

Posted by studio805 on Tue, 05 May 2020 15:34:33 +0200

ES[7.6.x] dynamic mapping of learning notes

In general, we use es to build an index by creating an index, defining the fields in the index and the mapped types, and then importing data into the index. Dynamic mapping is a very important concept in ES. You can directly import a piece of data into the document. At the same time, index, field and field type will be created automatically wit ...

Posted by madan koshti on Tue, 05 May 2020 05:24:33 +0200

redux source code interpretation (2)

(1) A simple version of redux is written in. The tests are all directly based on the command line output. Obviously, this is unscientific So you need to write tests, so. I chose jest. The introduction on the Internet is as follows . Configure simple test environment according to official documents npm install --save-dev jest Add th ...

Posted by holowugz on Sun, 03 May 2020 19:17:48 +0200

App learning note 1-tabBar and carousel

Today, I started to learn small programs. I started to write apps in my own order. I didn't follow official wechat documents. Some of the controls are a combination of official and online code shared by other students. Basic overview In this part, look at the official website to find out about the composition of the architecture page of the app ...

Posted by samip1983 on Sun, 03 May 2020 15:31:30 +0200

Baidu Encyclopedia crawler

WebMagic configuration: http://www.cnblogs.com/justcooooode/p/7913365.html Crawling target Recently, we need to analyze some domain concepts, choose to use Baidu Encyclopedia to crawl corresponding terms, and get information and knowledge from them. I divide the query results into two categories, one is included in the encyclopedia, the othe ...

Posted by kryles on Sat, 02 May 2020 22:45:32 +0200