Deprecated Site Replication in UI (#3469)

* Deprecated Sire Replication in UI

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>

* fix-workflow-issue

---------

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2024-11-11 14:26:19 -06:00
committed by GitHub
parent 18e50975d4
commit 4e5dcf0fc3
53 changed files with 15 additions and 6455 deletions

View File

@@ -313,187 +313,6 @@ func init() {
}
}
},
"/admin/site-replication": {
"get": {
"tags": [
"SiteReplication"
],
"summary": "Get list of Replication Sites",
"operationId": "GetSiteReplicationInfo",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/siteReplicationInfoResponse"
}
},
"default": {
"description": "Generic error response.",
"schema": {
"$ref": "#/definitions/ApiError"
}
}
}
},
"put": {
"tags": [
"SiteReplication"
],
"summary": "Edit a Replication Site",
"operationId": "SiteReplicationEdit",
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/peerInfo"
}
}
],
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/peerSiteEditResponse"
}
},
"default": {
"description": "Generic error response.",
"schema": {
"$ref": "#/definitions/ApiError"
}
}
}
},
"post": {
"tags": [
"SiteReplication"
],
"summary": "Add a Replication Site",
"operationId": "SiteReplicationInfoAdd",
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/siteReplicationAddRequest"
}
}
],
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/siteReplicationAddResponse"
}
},
"default": {
"description": "Generic error response.",
"schema": {
"$ref": "#/definitions/ApiError"
}
}
}
},
"delete": {
"tags": [
"SiteReplication"
],
"summary": "Remove a Replication Site",
"operationId": "SiteReplicationRemove",
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/peerInfoRemove"
}
}
],
"responses": {
"204": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/peerSiteRemoveResponse"
}
},
"default": {
"description": "Generic error response.",
"schema": {
"$ref": "#/definitions/ApiError"
}
}
}
}
},
"/admin/site-replication/status": {
"get": {
"tags": [
"SiteReplication"
],
"summary": "Display overall site replication status",
"operationId": "GetSiteReplicationStatus",
"parameters": [
{
"type": "boolean",
"default": true,
"description": "Include Bucket stats",
"name": "buckets",
"in": "query"
},
{
"type": "boolean",
"default": true,
"description": "Include Group stats",
"name": "groups",
"in": "query"
},
{
"type": "boolean",
"default": true,
"description": "Include Policies stats",
"name": "policies",
"in": "query"
},
{
"type": "boolean",
"default": true,
"description": "Include Policies stats",
"name": "users",
"in": "query"
},
{
"type": "string",
"description": "Entity Type to lookup",
"name": "entityType",
"in": "query"
},
{
"type": "string",
"description": "Entity Value to lookup",
"name": "entityValue",
"in": "query"
}
],
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/siteReplicationStatusResponse"
}
},
"default": {
"description": "Generic error response.",
"schema": {
"$ref": "#/definitions/ApiError"
}
}
}
}
},
"/admin/tiers": {
"get": {
"tags": [
@@ -8635,187 +8454,6 @@ func init() {
}
}
},
"/admin/site-replication": {
"get": {
"tags": [
"SiteReplication"
],
"summary": "Get list of Replication Sites",
"operationId": "GetSiteReplicationInfo",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/siteReplicationInfoResponse"
}
},
"default": {
"description": "Generic error response.",
"schema": {
"$ref": "#/definitions/ApiError"
}
}
}
},
"put": {
"tags": [
"SiteReplication"
],
"summary": "Edit a Replication Site",
"operationId": "SiteReplicationEdit",
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/peerInfo"
}
}
],
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/peerSiteEditResponse"
}
},
"default": {
"description": "Generic error response.",
"schema": {
"$ref": "#/definitions/ApiError"
}
}
}
},
"post": {
"tags": [
"SiteReplication"
],
"summary": "Add a Replication Site",
"operationId": "SiteReplicationInfoAdd",
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/siteReplicationAddRequest"
}
}
],
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/siteReplicationAddResponse"
}
},
"default": {
"description": "Generic error response.",
"schema": {
"$ref": "#/definitions/ApiError"
}
}
}
},
"delete": {
"tags": [
"SiteReplication"
],
"summary": "Remove a Replication Site",
"operationId": "SiteReplicationRemove",
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/peerInfoRemove"
}
}
],
"responses": {
"204": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/peerSiteRemoveResponse"
}
},
"default": {
"description": "Generic error response.",
"schema": {
"$ref": "#/definitions/ApiError"
}
}
}
}
},
"/admin/site-replication/status": {
"get": {
"tags": [
"SiteReplication"
],
"summary": "Display overall site replication status",
"operationId": "GetSiteReplicationStatus",
"parameters": [
{
"type": "boolean",
"default": true,
"description": "Include Bucket stats",
"name": "buckets",
"in": "query"
},
{
"type": "boolean",
"default": true,
"description": "Include Group stats",
"name": "groups",
"in": "query"
},
{
"type": "boolean",
"default": true,
"description": "Include Policies stats",
"name": "policies",
"in": "query"
},
{
"type": "boolean",
"default": true,
"description": "Include Policies stats",
"name": "users",
"in": "query"
},
{
"type": "string",
"description": "Entity Type to lookup",
"name": "entityType",
"in": "query"
},
{
"type": "string",
"description": "Entity Value to lookup",
"name": "entityValue",
"in": "query"
}
],
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/siteReplicationStatusResponse"
}
},
"default": {
"description": "Generic error response.",
"schema": {
"$ref": "#/definitions/ApiError"
}
}
}
}
},
"/admin/tiers": {
"get": {
"tags": [