编排管理 管理列表
[
{
"flowId": "101",
"flowName": "123hfhhfhfh123",
"usageNum": 0,
"rightNum": 0,
"wrongNum": 0,
"createDate": "2022-04-01T16:00:00.000+00:00",
"creator": "153",
"flowDesc": "1531",
"status": "Designed",
"flowImgPath": null,
"changeDate": "2022-04-01T16:00:00.000+00:00",
"bpmn": "156156156515511551",
"product": {
"productId": "111",
"flowId": "101",
"productName": "1",
"category": "1",
"productprincipal": "1",
"rates": 0.1,
"startMoney": null,
"upMoney": null,
"endType": null,
"resposity": null,
"maxpeople": null,
"maxMoney": null,
"description": null,
"message": null,
"version": 1
}
},
{
"flowId": "123456",
"flowName": "my2",
"usageNum": 0,
"rightNum": 0,
"wrongNum": 0,
"createDate": "2022-03-24T16:00:00.000+00:00",
"creator": "xiaoming",
"flowDesc": "my2",
"status": "Designed",
"flowImgPath": null,
"changeDate": "2022-03-24T16:00:00.000+00:00",
"bpmn": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><bpmn:definitions xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"Definitions_1qk12tk\" targetNamespace=\"http://bpmn.io/schema/bpmn\" exporter=\"Zeebe Modeler\" exporterVersion=\"0.11.0\"> <bpmn:process name=\"my2\" id=\"my2\" isExecutable=\"true\"> <bpmn:startEvent id=\"StartEvent_1\" name=\"start\"> <bpmn:outgoing>Flow_0z1oc8x</bpmn:outgoing> </bpmn:startEvent> <bpmn:exclusiveGateway id=\"Gateway_009osv5\" name=\"data1\"> <bpmn:incoming>Flow_0z1oc8x</bpmn:incoming> <bpmn:outgoing>Flow_0ptk4kk</bpmn:outgoing> </bpmn:exclusiveGateway> <bpmn:sequenceFlow id=\"Flow_0z1oc8x\" sourceRef=\"StartEvent_1\" targetRef=\"Gateway_009osv5\" /> <bpmn:sequenceFlow id=\"Flow_0ptk4kk\" sourceRef=\"Gateway_009osv5\" targetRef=\"Activity_11p2b5m\"> <bpmn:conditionExpression xsi:type=\"bpmn:tFormalExpression\">data>0</bpmn:conditionExpression> </bpmn:sequenceFlow> <bpmn:serviceTask id=\"Activity_11p2b5m\" name=\"task1\"> <bpmn:incoming>Flow_0ptk4kk</bpmn:incoming> <bpmn:outgoing>Flow_048wla5</bpmn:outgoing> </bpmn:serviceTask> <bpmn:exclusiveGateway id=\"Gateway_03mcplc\" name=\"data2\"> <bpmn:incoming>Flow_048wla5</bpmn:incoming> <bpmn:outgoing>Flow_08tgznp</bpmn:outgoing> <bpmn:outgoing>Flow_0p4t627</bpmn:outgoing> </bpmn:exclusiveGateway> <bpmn:sequenceFlow id=\"Flow_048wla5\" sourceRef=\"Activity_11p2b5m\" targetRef=\"Gateway_03mcplc\" /> <bpmn:exclusiveGateway id=\"Gateway_02nccj3\" name=\"data3\"> <bpmn:incoming>Flow_08tgznp</bpmn:incoming> <bpmn:outgoing>Flow_1pqwmwd</bpmn:outgoing> <bpmn:outgoing>Flow_1ru3tlg</bpmn:outgoing> </bpmn:exclusiveGateway> <bpmn:sequenceFlow id=\"Flow_08tgznp\" sourceRef=\"Gateway_03mcplc\" targetRef=\"Gateway_02nccj3\"> </bpmn:sequenceFlow> <bpmn:exclusiveGateway id=\"Gateway_10ftpvl\" name=\"data3_2\"> <bpmn:incoming>Flow_1pqwmwd</bpmn:incoming> <bpmn:outgoing>Flow_0etseek</bpmn:outgoing> </bpmn:exclusiveGateway> <bpmn:sequenceFlow id=\"Flow_1pqwmwd\" sourceRef=\"Gateway_02nccj3\" targetRef=\"Gateway_10ftpvl\" /> <bpmn:endEvent id=\"Event_0eakrhd\" name=\"end3_2\"> <bpmn:incoming>Flow_0etseek</bpmn:incoming> </bpmn:endEvent> <bpmn:sequenceFlow id=\"Flow_0etseek\" sourceRef=\"Gateway_10ftpvl\" targetRef=\"Event_0eakrhd\" /> <bpmn:exclusiveGateway id=\"Gateway_1fi5n88\" name=\"data3_1\"> <bpmn:incoming>Flow_1ru3tlg</bpmn:incoming> <bpmn:outgoing>Flow_04t9y1p</bpmn:outgoing> </bpmn:exclusiveGateway> <bpmn:sequenceFlow id=\"Flow_1ru3tlg\" sourceRef=\"Gateway_02nccj3\" targetRef=\"Gateway_1fi5n88\"> <bpmn:conditionExpression xsi:type=\"bpmn:tFormalExpression\">data%2==0</bpmn:conditionExpression> </bpmn:sequenceFlow> <bpmn:endEvent id=\"Event_1bwxz8u\" name=\"end3_1\"> <bpmn:incoming>Flow_04t9y1p</bpmn:incoming> </bpmn:endEvent> <bpmn:sequenceFlow id=\"Flow_04t9y1p\" sourceRef=\"Gateway_1fi5n88\" targetRef=\"Event_1bwxz8u\" /> <bpmn:endEvent id=\"Event_1d8cgq9\" name=\"end2\"> <bpmn:incoming>Flow_0p4t627</bpmn:incoming> </bpmn:endEvent> <bpmn:sequenceFlow id=\"Flow_0p4t627\" sourceRef=\"Gateway_03mcplc\" targetRef=\"Event_1d8cgq9\"> <bpmn:conditionExpression xsi:type=\"bpmn:tFormalExpression\">=data<10</bpmn:conditionExpression> </bpmn:sequenceFlow> </bpmn:process> <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\"> <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"Process_1c4sivy\"> <bpmndi:BPMNEdge id=\"Flow_0z1oc8x_di\" bpmnElement=\"Flow_0z1oc8x\"> <di:waypoint x=\"188\" y=\"260\" /> <di:waypoint x=\"245\" y=\"260\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_0ptk4kk_di\" bpmnElement=\"Flow_0ptk4kk\"> <di:waypoint x=\"295\" y=\"260\" /> <di:waypoint x=\"360\" y=\"260\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_048wla5_di\" bpmnElement=\"Flow_048wla5\"> <di:waypoint x=\"460\" y=\"260\" /> <di:waypoint x=\"525\" y=\"260\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_08tgznp_di\" bpmnElement=\"Flow_08tgznp\"> <di:waypoint x=\"575\" y=\"260\" /> <di:waypoint x=\"645\" y=\"260\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_1pqwmwd_di\" bpmnElement=\"Flow_1pqwmwd\"> <di:waypoint x=\"695\" y=\"260\" /> <di:waypoint x=\"765\" y=\"260\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_0etseek_di\" bpmnElement=\"Flow_0etseek\"> <di:waypoint x=\"815\" y=\"260\" /> <di:waypoint x=\"892\" y=\"260\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_1ru3tlg_di\" bpmnElement=\"Flow_1ru3tlg\"> <di:waypoint x=\"670\" y=\"235\" /> <di:waypoint x=\"670\" y=\"110\" /> <di:waypoint x=\"765\" y=\"110\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_04t9y1p_di\" bpmnElement=\"Flow_04t9y1p\"> <di:waypoint x=\"815\" y=\"110\" /> <di:waypoint x=\"892\" y=\"110\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id=\"Flow_0p4t627_di\" bpmnElement=\"Flow_0p4t627\"> <di:waypoint x=\"550\" y=\"285\" /> <di:waypoint x=\"550\" y=\"352\" /> </bpmndi:BPMNEdge> <bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\"> <dc:Bounds x=\"152\" y=\"242\" width=\"36\" height=\"36\" /> <bpmndi:BPMNLabel> <dc:Bounds x=\"159\" y=\"285\" width=\"22\" height=\"14\" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Gateway_009osv5_di\" bpmnElement=\"Gateway_009osv5\" isMarkerVisible=\"true\"> <dc:Bounds x=\"245\" y=\"235\" width=\"50\" height=\"50\" /> <bpmndi:BPMNLabel> <dc:Bounds x=\"256\" y=\"292\" width=\"28\" height=\"14\" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Activity_03i556e_di\" bpmnElement=\"Activity_11p2b5m\"> <dc:Bounds x=\"360\" y=\"220\" width=\"100\" height=\"80\" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Gateway_03mcplc_di\" bpmnElement=\"Gateway_03mcplc\" isMarkerVisible=\"true\"> <dc:Bounds x=\"525\" y=\"235\" width=\"50\" height=\"50\" /> <bpmndi:BPMNLabel> <dc:Bounds x=\"536\" y=\"205\" width=\"28\" height=\"14\" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Gateway_02nccj3_di\" bpmnElement=\"Gateway_02nccj3\" isMarkerVisible=\"true\"> <dc:Bounds x=\"645\" y=\"235\" width=\"50\" height=\"50\" /> <bpmndi:BPMNLabel> <dc:Bounds x=\"656\" y=\"292\" width=\"28\" height=\"14\" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Gateway_10ftpvl_di\" bpmnElement=\"Gateway_10ftpvl\" isMarkerVisible=\"true\"> <dc:Bounds x=\"765\" y=\"235\" width=\"50\" height=\"50\" /> <bpmndi:BPMNLabel> <dc:Bounds x=\"770\" y=\"292\" width=\"40\" height=\"14\" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Event_0eakrhd_di\" bpmnElement=\"Event_0eakrhd\"> <dc:Bounds x=\"892\" y=\"242\" width=\"36\" height=\"36\" /> <bpmndi:BPMNLabel> <dc:Bounds x=\"892\" y=\"285\" width=\"37\" height=\"14\" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Gateway_1fi5n88_di\" bpmnElement=\"Gateway_1fi5n88\" isMarkerVisible=\"true\"> <dc:Bounds x=\"765\" y=\"85\" width=\"50\" height=\"50\" /> <bpmndi:BPMNLabel> <dc:Bounds x=\"770\" y=\"142\" width=\"40\" height=\"14\" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Event_1bwxz8u_di\" bpmnElement=\"Event_1bwxz8u\"> <dc:Bounds x=\"892\" y=\"92\" width=\"36\" height=\"36\" /> <bpmndi:BPMNLabel> <dc:Bounds x=\"892\" y=\"135\" width=\"37\" height=\"14\" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape id=\"Event_1d8cgq9_di\" bpmnElement=\"Event_1d8cgq9\"> <dc:Bounds x=\"532\" y=\"352\" width=\"36\" height=\"36\" /> <bpmndi:BPMNLabel> <dc:Bounds x=\"538\" y=\"395\" width=\"25\" height=\"14\" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram></bpmn:definitions>",
"product": {
"productId": "113",
"flowId": "123456",
"productName": "666",
"category": null,
"productprincipal": null,
"rates": 0.5,
"startMoney": null,
"upMoney": null,
"endType": null,
"resposity": null,
"maxpeople": null,
"maxMoney": null,
"description": null,
"message": null,
"version": 2
}
}
]
创建服务流和产品
创建服务流
{
"flowId": "101",
"flowName": "123hfhhfhfh123",
"creator": "153",
"flowDesc": "1531"
}
这边message改成了评价板块的东西
创建产品
{
{
"productId": "111",
"flowId": "101",
"productName": "1",
"category": "1",
"productprincipal": "1",
"rates": 0.1,
"startMoney": null,
"upMoney": null,
"endType": null,
"resposity": null,
"maxpeople": null,
"maxMoney": null,
"description": null,
"message": null,
"version": 1
}
}
修改
修改服务流
{
"flowId": "101",
"flowName": "123hfhhfhfh123",
"creator": "153",
"flowDesc": "1531",
}
修改产品
{
"productId": "111",
"flowId": "101",
"productName": "1",
"category": "1",
"productprincipal": "1",
"rates": 0.1,
"startMoney": null,
"upMoney": null,
"endType": null,
"resposity": null,
"maxpeople": null,
"maxMoney": null,
"description": null,
"message": null
}
你那边没有的属性可以空着 我这边是把整个实体类整出来了
点击编排
给出所有的原子服务信息
[
{
"atomId": 7,
"type": "a",
"name": "work01",
"methodInfo": "com.A21.GuoSai.demo.atom_adjust.jobworkers.Worker01.work01",
"atomDesc": "--a--",
"attributeConnect": "worker01",
"status": null,
"usageNum": null,
"rightNum": null,
"complexity": "Low",
"createdDate": "2022-03-21T04:13:16.000+00:00",
"authorName": "FZ",
"staticVarList": [
{
"flowId": null,
"atomId": 7,
"atomName": "work01",
"s_name": "a1",
"varDesc": "描述a1",
"isInput": true,
"methodInfo": "com.A21.GuoSai.demo.atom_adjust.jobworkers.Worker01.work01",
"value": null,
"typeClass": "java.lang.Integer",
"type": "java.lang.Integer"
},
{
"flowId": null,
"atomId": 7,
"atomName": "work01",
"s_name": "str1",
"varDesc": "描述str1",
"isInput": true,
"methodInfo": "com.A21.GuoSai.demo.atom_adjust.jobworkers.Worker01.work01",
"value": null,
"typeClass": "java.lang.String",
"type": "java.lang.String"
},
{
"flowId": null,
"atomId": 7,
"atomName": "work01",
"s_name": "str2",
"varDesc": "描述str2",
"isInput": true,
"methodInfo": "com.A21.GuoSai.demo.atom_adjust.jobworkers.Worker01.work01",
"value": null,
"typeClass": "java.lang.String",
"type": "java.lang.String"
}
],
"dynamicVarList": null,
"wrongNum": null
},
{
"atomId": 8,
"type": "b",
"name": "work02",
"methodInfo": "com.A21.GuoSai.demo.atom_adjust.jobworkers.Worker02.work01",
"atomDesc": "--b--",
"attributeConnect": "worker02",
"status": null,
"usageNum": null,
"rightNum": null,
"complexity": "Low",
"createdDate": "2022-03-21T04:13:16.000+00:00",
"authorName": "FZ",
"staticVarList": [
{
"flowId": null,
"atomId": 8,
"atomName": "work02",
"s_name": "a1",
"varDesc": "描述a1",
"isInput": true,
"methodInfo": "com.A21.GuoSai.demo.atom_adjust.jobworkers.Worker02.work01",
"value": null,
"typeClass": "java.lang.Integer",
"type": "java.lang.Integer"
},
{
"flowId": null,
"atomId": 8,
"atomName": "work02",
"s_name": "str1",
"varDesc": "描述str1",
"isInput": true,
"methodInfo": "com.A21.GuoSai.demo.atom_adjust.jobworkers.Worker02.work01",
"value": null,
"typeClass": "java.lang.String",
"type": "java.lang.String"
},
{
"flowId": null,
"atomId": 8,
"atomName": "work02",
"s_name": "str2",
"varDesc": "描述str2",
"isInput": true,
"methodInfo": "com.A21.GuoSai.demo.atom_adjust.jobworkers.Worker02.work01",
"value": null,
"typeClass": "java.lang.String",
"type": "java.lang.String"
}
],
"dynamicVarList": null,
"wrongNum": null
}
]
把编排好的bpmn文件保存
{
"flowId": "101",
"bpmn": "156156156515511551"
}
编排管理 预设编排列表
预设编排先空着
服务流发布
这边整个列表和管理列表的一样
查看
{
"Sta": [
{
"varDesc": "描述a1",
"type": "java.lang.Integer",
"value": "20"
},
{
"varDesc": "描述b1",
"type": "java.lang.String",
"value": "strb1"
},
{
"varDesc": "描述a2",
"type": "java.lang.Integer",
"value": "30"
},
{
"varDesc": "描述b2",
"type": "java.lang.String",
"value": "strb2"
},
{
"varDesc": "描述b3",
"type": "java.lang.String",
"value": "strb3"
},
{
"varDesc": "描述b4",
"type": "java.lang.String",
"value": "strb4"
}
],
"Dy": [
"a3",
"a4"
]
}
原子服务列表
和上述一获取所有的原子信息列表一样
个人资产
[
{
"propertyId": 1,
"productId": "111",
"propertyType": "活期存款",
"propertyMess": "哈哈哈",
"totalIncome": 999.9936735135042,
"dayIncome": 1,
"userId": 1,
"getTime": "2022-03-10T06:14:58.000+00:00",
"holdTime": 26,
"changeTime": 26,
"propertyNum": 1000
},
{
"propertyId": 3,
"productId": "111",
"propertyType": "活期存款",
"propertyMess": "呵呵呵",
"totalIncome": 1999.987346951949,
"dayIncome": null,
"userId": 1,
"getTime": "2022-03-09T06:55:22.000+00:00",
"holdTime": 27,
"changeTime": 27,
"propertyNum": 2000
}
]
监控和评价
监控
[
{
"flowId": "101",
"flowName": "123hfhhfhfh123",
"changeDate": "2022-04-02T08:58:45.000+00:00"
},
{
"flowId": "123456",
"flowName": "my2",
"changeDate": "2022-03-25T11:58:54.000+00:00"
},
{
"flowId": "234567",
"flowName": "my3",
"changeDate": "2022-04-01T02:21:17.000+00:00"
},
{
"flowId": "345678",
"flowName": "my3-1",
"changeDate": "2022-04-02T09:39:51.000+00:00"
},
{
"flowId": "my345678",
"flowName": "my345678",
"changeDate": "2022-04-02T11:45:59.000+00:00"
}
]
评价
[
{
"flowId": "101",
"flowName": "123hfhhfhfh123",
"message": null
},
{
"flowId": "123456",
"flowName": "my2",
"message": null
}
]