-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathir-spec.json
54 lines (54 loc) · 2.06 KB
/
ir-spec.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
{
"systemName": "train-ticket",
"version": "0.0.1",
"services": [
{
"id": "ts-service1",
"msName": "ts-service1",
"msPath": "train-ticket-microservices/ts-service1",
"commitId": "abcdef123456789abcdef123456789",
"endpoints": [
{
"id": "GET:ts-service1.getRoutes#123",
"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>"
},
...
],
"dependencies": {
"restDependencies": [
{
"id": "ms2222222",
"msName": "ts-service2",
"calls": [
{
"id": "endpoint222222",
"sourceFile": "train-ticket-microservices/ts-service1/src/main/java/com/cloudhubs/trainticket/service1/service/impl/Service1Impl.java",
"sourceMethod": "methodNameWhereCallTookPlaceFrom"
},
...
]
}
...
],
"dtoDependencies": [
{
"id": "ms3333333",
"msName": "ts-service3",
"sharedObjects": [...]
},
...
],
"entityDependencies": [...],
"constraintDepenencies": [...],
...
}
},
...
]
}