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
Dijkstra of the shortest path of graph -- pseudo code, complete implementation code (adjacency matrix, adjacency table), examples and problem points
1 Dijkstra (single source shortest path problem)
1.1 minimum distance
1.1.1 pseudo code
//Figure G is generally set as a global variable; Array d is the shortest path length from the source point to each point, and s is the starting point
Dijkstra(G, d[], s){
Initialization
for (n cycles)
...
Posted by tisa on Sat, 15 Feb 2020 19:36:13 -0800
linux command line setting network connection (server setup)
I installed cent os7 on my old DELL computer as a normal development server, and the notebook usually has WIFI and wired network card, so set this notebook as a server with dual network card. See more( www.omob.cc)
When I install cent os7, I will minimize the installation. However, during the installation process, during the g ...
Posted by Jonah Bron on Sat, 15 Feb 2020 07:21:08 -0800
Django REST framework quick start
start
We will create a simple API to allow administrator users to view and edit users and groups in the system.
Project settings
Create a new django project named: < tutorial >, and then create a new app named: < QuickStart >.
# Create the project directory
mkdir tutorial
cd tutorial
# Create a virtual environment to isolate our p ...
Posted by skymanj on Sat, 15 Feb 2020 00:42:00 -0800
On the bug of GZIPInputStream
http://cin-ie.iteye.com/blog/859822
As for the bug of GZIPInputStream, this problem has not been solved in the latest version of jdk. Note when using gzip:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4691425
Problem Description:
When using GZIPInputStream to read the gizp file, us ...
Posted by roomyz on Thu, 13 Feb 2020 06:58:13 -0800
Data structure experiment
Linear table and its application
Experiment content:
1. [problem description] a demonstration program is designed to implement the addition operation of any length integer.
2. [basic requirements] realize the storage of long integers by using bidirectional circular list, each node contains one int ...
Posted by ericburnard on Tue, 11 Feb 2020 23:51:45 -0800
ArcGIS api for javascript accesses server's security services by registering token with IdentityManager
Available environment: A stand-alone server environment that is not federated with a portal.Enprise Environment Access Security Services see two other articleshttps://blog.csdn.net/qq_40376439/article/details/104227280https://blog.csdn.net/qq_40376439/article/details/104217511Scenario for use: When we p ...
Posted by manyamile on Tue, 11 Feb 2020 18:08:44 -0800
ESP8266 Transceiver and Receiver Test Successful
**ESP8266 Module Test**
ESP8266-01s Packaging Diagram:
ESP8266 and Single Chip Connection:
ESP: Single-chip computer
UTXD RXD
GND GND
CH_PD(EN) (works for high level modules).
GPIO2 must be connected to a high level (internal has been r ...
Posted by cdinca on Mon, 10 Feb 2020 18:22:35 -0800
A case study of machine learning in Boston area
The goal of regression problem prediction is continuous variable
data description
# Import Boston house price data reader from sklearn.datasets
from sklearn.datasets import load_boston
# Read the house price data from and store it in the variable boston
boston = load_boston
# Output data description ...
Posted by archbeta on Mon, 10 Feb 2020 07:53:24 -0800
spring boot requests rest Service
The spring boot environment is not built much, and the code is direct
To configure
Add the following configuration to the startup class
@Autowired
private RestTemplateBuilder builder;
// Use RestTemplateBuilder to instantiate the RestTemplate object. spring has injected RestTemplateBuilder by default
@Bean
publi ...
Posted by Apenvolkje on Sun, 09 Feb 2020 07:19:40 -0800