Site replication status (#1834)

Site replication status UI
Site replication status ui-test
Address review comment by Alex
Add functional test for API
Add integration tests for status API
This commit is contained in:
Prakash Senthil Vel
2022-04-14 07:21:43 +00:00
committed by GitHub
parent 4541b4de03
commit d1d3d91fc1
29 changed files with 2365 additions and 110 deletions

View File

@@ -2504,6 +2504,52 @@ paths:
tags:
- AdminAPI
/admin/site-replication/status:
get:
summary: Display overall site replication status
operationId: GetSiteReplicationStatus
parameters:
- name: buckets
description: Include Bucket stats
in: query
type: boolean
default: true
- name: groups
description: Include Group stats
in: query
type: boolean
default: true
- name: policies
description: Include Policies stats
in: query
type: boolean
default: true
- name: users
description: Include Policies stats
in: query
type: boolean
default: true
- name: entityType
description: Entity Type to lookup
in: query
type: string
required: false
- name: entityValue
description: Entity Value to lookup
in: query
type: string
required: false
responses:
200:
description: A successful response.
schema:
$ref: "#/definitions/siteReplicationStatusResponse"
default:
description: Generic error response.
schema:
$ref: "#/definitions/error"
tags:
- AdminAPI
/admin/tiers:
get:
@@ -3923,6 +3969,32 @@ definitions:
serviceAccountAccessKey:
type: string
siteReplicationStatusResponse:
type: object
properties:
enabled:
type: boolean
maxBuckets:
type: integer
maxUsers:
type: integer
maxGroups:
type: integer
maxPolicies:
type: integer
sites:
type: object
statsSummary:
type: object
bucketStats:
type: object
policyStats:
type: object
userStats:
type: object
groupStats:
type: object
updateUser:
type: object
required: