-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdeltaspec.json
78 lines (78 loc) · 3.22 KB
/
deltaspec.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"systemName": "train-ticket",
"version": "0.0.1",
"services": [
{
"action": "MODIFY",
"id": "ms1111111",
"msName": "ts-service1",
"msPath": "train-ticket-microservices/ts-service1",
"startCommit": "abcdef123456789abcdef123456789",
"endCommit": "bbbbb44444444aaaaaaaa66666666",
"endpoints": [
{
"action": "MODIFY",
"id": "endpoint1111111",
"api": "/api/v1/service1/routes",
"file": "train-ticket-microservices/ts-service1/src/main/java/com/cloudhubs/trainticket/service1/controller/RouteController.java",
"type": "@RequestMapping",
"httpMethod": "GET",
"methodName": "getRoutes",
"arguments": "[@RequestBody RouteInfo info, @RequestHeader HttpHeaders headers]",
"return": "java.util.List<com.cloudhubs.trainticket.service1.entity.Route>"
},
{
"action": "ADD",
"id": "endpoint2222222",
"api": "/api/v1/service1/routes/{id}",
"file": "train-ticket-microservices/ts-service1/src/main/java/com/cloudhubs/trainticket/service1/controller/RouteController.java",
"type": "@RequestMapping",
"httpMethod": "GET",
"methodName": "getRouteById",
"arguments": "[@RequestBody RouteInfo info, @RequestHeader HttpHeaders headers]",
"return": "com.cloudhubs.trainticket.service1.entity.Route"
},
{
"action": "REMOVE",
"id": "endpoint333333"
}
],
"dependencies": {
"restDependencies": [
{
"action": "ADD",
"id": "ms2222222",
"msName": "ts-service2",
"calls": [
{
"action": "ADD",
"id": "endpoint4444444",
"sourceFile": "train-ticket-microservices/ts-service1/src/main/java/com/cloudhubs/trainticket/service1/service/impl/Service1Impl.java",
"sourceMethod": "methodNameWhereCallTookPlaceFrom"
}
]
},
{
"action": "REMOVE",
"id": "ms3333333"
}
],
"dtoDependencies": [
{
"action": "MODIFY",
"id": "ms4444444",
"msName": "ts-service4",
"sharedObjects": [
{
"action": "REMOVE",
"id": "dto1234567"
}
]
}
],
"entityDependencies": [],
"constraintDependencies": []
}
}
]
}