Skip to content

Commit

Permalink
ADM-678[docs]:fix path and error handler (#848)
Browse files Browse the repository at this point in the history
* ADM-678:[docs]feat: add docs for spike BuildKite

---------

Co-authored-by: Andrea <Andrea2000728>
  • Loading branch information
Andrea2000728 authored and Zxx-Ivy committed Dec 27, 2023
1 parent d68c114 commit 7ced1aa
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ request: {
token:"your_token",
startTime: "xxx",
endTime:"xxx",
}
}
}
responses:{
"pipelineList":
"pipelineList":
[{
"id": "xxx",
"name": "xxx",
Expand Down Expand Up @@ -55,7 +55,7 @@ participant BuildKite
BuildKite -> BuildKiteFeignClient: [1] 200 scopes[xxx,xxx,...]
BuildKiteFeignClient -> BuildKiteService: [1] 200 scopes[xxx,xxx,...]
BuildKiteService -> BuildKiteFeignClient: [2] token
BuildKiteFeignClient -> BuildKite: [2] v2/organizations
BuildKite -> BuildKiteFeignClient: [2] BuildKiteOrganizationsInfoList{name,slug}
BuildKiteFeignClient -> BuildKiteService: [2] BuildKiteOrganizationsInfoList{name,slug}
Expand Down Expand Up @@ -163,7 +163,7 @@ end
@enduml
```

### 2. getBuildKiteInfo
### 2. getBuildKiteInfo
The api should be called when entering the Metrics page. Only after two parts of data(The api and previous getPipelineSteps api) are obtained can the loading disappear.
- Api Design
```
Expand All @@ -174,10 +174,10 @@ request: {
token:"your_token",
startTime: "xxx",
endTime:"xxx",
}
}
}
responses:{
"pipelineList":
"pipelineList":
[{
"id": "xxx",
"name": "xxx",
Expand Down

0 comments on commit 7ced1aa

Please sign in to comment.