spring integrates cxf to develop rest style web service interface (client & Server)
The previous article recorded how to integrate cxf to develop web service client and server in spring. In fact, compared with the native development method, there have been many optimizations. rest style development, as a very popular development specification, can help us more concise and efficient pu ...
Posted by tenaki on Sun, 15 Mar 2020 00:02:09 -0700
Compiling js file Babel loader string loader in gulp
js files of ES6 and above can't be executed on some browsers with lower versions, so when the project development is completed, we need to compile js files to translate the syntax of ES6 + into ES5. Here we use gulp's Web pack stream plug-in to package js files. To solve the problem of js translation, w ...
Posted by soapsuds on Sat, 14 Mar 2020 21:47:26 -0700
Spring Security + JWT, realize the right control of separating and adapting the restful API before and after
Preface
Spring security adopts the form based authentication form by default, which is related to the forms such as login authorization and authentication from the user with session identification. At present, many applications are developed based on the restful API style of SpringBoot, which can not ...
Posted by brandonr on Fri, 13 Mar 2020 04:00:05 -0700
Troubleshooting process of excessive consumption of a file handle
Background:
With the business iteration, some projects are reconstructed with nodejs and deployed to k8s environment. In order to facilitate analysis, the last version of the code increases the function of output log.
Phenomenon:
Half a day after the launch, it was found that there was an alarm of too many open files in the R & D feedback ...
Posted by scottreid1974 on Thu, 12 Mar 2020 20:15:05 -0700
Fabrc 2.0 External Chain Code Development Tutorial
A new feature introduced in Hyperledger Fabric 2.0 is the ability to use external chain code launchers, which are ideal for using kubenetes or dowcker swarm to manage node and chain code containers in a unified manner.In this article, we will learn how to deploy chain codes in a K8s cluster using an external chain code launcher.
1. Prerequisite ...
Posted by Whetto on Thu, 12 Mar 2020 19:14:19 -0700
0312 java interface test rest-assured
background
java programmers generally write that back-end services are JavaWeb-type projects, mainly including Http interface and dubbo interface, Http interface generally uses the resting style, so how to quickly test the resting interface on a third-party testing framework?
The rest-assured framework is a good tool.Like a soldier's triangula ...
Posted by bugsuperstar37 on Thu, 12 Mar 2020 10:05:16 -0700
C core creates the first API project
1. Install VS 2019, SQL Server 2019 (Optional)
2. Open VS and select new ASP.NET Core Web Application project
3. Fill in project name, solution name, modify storage path, etc.
4. Select the version of. NET Core. By default, we select 3.1 and API.
This is the default directory structure after ...
Posted by toysrfive on Thu, 12 Mar 2020 03:59:10 -0700
Go language - package static files
For the developers of Go language, while enjoying the convenience of the language, we are also keen on the final compilation of a single executable.
However, Go did not compile our static resource file when compiling into binary file. If we are developing web application, we need to find a way to compil ...
Posted by burfo on Thu, 12 Mar 2020 02:21:59 -0700
express learning notes (generate project, route, route handler, use mysql, ejs template)
Generation project
Sir, a package.json
cnpm init
Node? Modules folder, which contains the modules provided by node.js
cnpm install
Install Express scaffolding
cnpm i express-generator
Install express
**cnpm install express --save**
Create an Express application named myapp, use ejs template engine ...
Posted by mrwutang on Wed, 11 Mar 2020 22:31:25 -0700
Prepare for CKA's daily problem - day 4: Master kubectl command to create resource object and analyze from source code
This activity is held on WeChat official account (my small bowl soup), and there is book delivery activity. You can't take part in the book delivery activity if you take part in the question answering here!
Yesterday's examination questions
Create a deployment with a single command and expose the Service. The deployment and Service names are ...
Posted by sprint10s on Wed, 11 Mar 2020 02:21:26 -0700