Processing of Activiti6 with 6 Parallel Gateway under Springboot
Explain
If parallel approval is required in the process, we can use parallel gateway to process, such as the following flow chart:
The xml information is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:b ...
Posted by cainscripter on Wed, 09 Oct 2019 14:38:40 +0200
render does not take effect when Larave develops Dingo to handle custom Exception s [Solution]
1. The way to use Dingo Api to customize Exception is
First, define Exception classes, such as AppExceptions ApiException
namespace App\Exceptions;
use Exception;
use Throwable;
class ApiException extends Exception
{
public function __construct(string $message = "", int $code = 1, Throwable $previous = null)
{
parent::__constr ...
Posted by quintin on Tue, 08 Oct 2019 17:53:00 +0200
Tab Learning
Implementing tab comment switching(1)The data structure of ratings in data.json is as follows:
Explain:Tab there are three states all / recommended / Tucao.Distinguished by the value of selectTypeselectType=2 - "All" is the selected stateselectType=0 - "Recommendation" is the selected stateselectType=1--- "Tucao" i ...
Posted by MrJW on Tue, 08 Oct 2019 11:35:24 +0200
Summary of JavaScript Implementation of Top Ten Sorting Algorithms
It took weeks of intermittent practice and imitation to implement the top ten sorting algorithms using JavaScript code.
There are dynamic and static picture demonstrations of each algorithm. When you see the picture, you can implement it according to the idea of the picture first.
The text link in github, Click to see
Two-year front-end l ...
Posted by onepixel on Tue, 08 Oct 2019 07:45:15 +0200
python draws beautiful maps
Import packages to create a world map
import folium
import pandas as pd
# define the world map
world_map = folium.Map()
# display world map
world_map
2. input latitude and longitude, scale, here we take (37.7749 degrees N, 122.4194 degree W) as an example.
//If you are interested in python, I have a ...
Posted by trulyafrican on Mon, 07 Oct 2019 19:44:30 +0200
"F5 Connects NetOps/SecOps and DevOps" - - "5" Application Services 3 Extension
This paper mainly introduces the use of the third declarative component, Application Services 3 Extension (hereinafter referred to as AS3).
AS3 provides a declarative way to configure the L4-L7 configuration of F5 BIGIP, including the configuration of LTM, DNS, AFM, ASM and other modules. It supports the configuration of multi-tenant and multi ...
Posted by mickfitz on Mon, 07 Oct 2019 12:26:09 +0200
Dynamic Analysis of Json
Recently, we need to dynamically parse JSON in our project, but there are many ways to parse json. How to reasonably parse JSON is the problem we need to consider? such as Newtonsoft.Json.Linq JToken, JObject and so on are provided below, and JsonConvert is provided under Newtonsoft.Json.
JObject
Used to manipulate json objects
...
Posted by XxDeadmanxX on Sun, 06 Oct 2019 14:33:25 +0200
go json data forwarding
case
For example, there is a GET interface that allows batch access to user information (1)
> curl 'http://localhost:8080/user/1,2,3'
[
{
"user_id":1,
"other_suff":...
},
{
"user_id":2,
"other_suff":...
},
{
"user_id":3,
"other_suff":...
}
]
At the same time, we need to ...
Posted by sampledformat on Sun, 06 Oct 2019 05:29:57 +0200
Using Gulp on Windows
Take Windows 10 as an example
premise
NodeJS has been installed and configured.
install
cmd enters the Windows command line window, enters the test directory, C: Develop gulptest, and executes under the test directory if no creation is required.
C:\Develop>mkdir gulptest
C:\Develop>cd gulp ...
Posted by blackhawk08 on Sat, 05 Oct 2019 16:37:35 +0200
Play Spring Boot 2 Integration JWT Part I
Preface
This article takes you to understand what JWT is, as well as the introduction of JWT definition and first pass concept, and gives you a simple Demo to learn how to integrate SpringBoot with SpringBoot 2.
Before introducing, here we will discuss how to learn a new technology, which I personally summarize as RSA.
R: Read to read official ...
Posted by luddeb on Sat, 05 Oct 2019 04:10:42 +0200