This is an automated email from the ASF dual-hosted git repository.

urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 6f573e69224f Docs sync done from apache/pulsar (#5e16ecf)
6f573e69224f is described below

commit 6f573e69224f0466e81ac6086dfd6ab265d355aa
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Oct 26 01:30:06 2023 +0000

    Docs sync done from apache/pulsar (#5e16ecf)
---
 static/swagger/master/swagger.json    | 52 +++++++++++++++++++++++++++--------
 static/swagger/master/v2/swagger.json | 52 +++++++++++++++++++++++++++--------
 2 files changed, 80 insertions(+), 24 deletions(-)

diff --git a/static/swagger/master/swagger.json 
b/static/swagger/master/swagger.json
index 3ef28bb30885..29b81d25ee59 100644
--- a/static/swagger/master/swagger.json
+++ b/static/swagger/master/swagger.json
@@ -398,15 +398,6 @@
                     "description": "listenerName when client would like to 
connect to cluster",
                     "type": "string"
                 },
-                "migrated": {
-                    "description": "flag to check if cluster is migrated to 
different cluster",
-                    "example": false,
-                    "type": "boolean"
-                },
-                "migratedClusterUrl": {
-                    "$ref": "#/definitions/ClusterUrl",
-                    "description": "url of cluster where current cluster is 
migrated"
-                },
                 "peerClusterNames": {
                     "description": "A set of peer cluster names",
                     "items": {
@@ -3077,9 +3068,6 @@
                 "inactive_topic_policies": {
                     "$ref": "#/definitions/InactiveTopicPolicies"
                 },
-                "isMigrated": {
-                    "type": "boolean"
-                },
                 "is_allow_auto_update_schema": {
                     "type": "boolean"
                 },
@@ -3122,6 +3110,9 @@
                     "format": "int32",
                     "type": "integer"
                 },
+                "migrated": {
+                    "type": "boolean"
+                },
                 "offload_deletion_lag_ms": {
                     "format": "int64",
                     "type": "integer"
@@ -5804,6 +5795,43 @@
             }
         },
         "/clusters/{cluster}/migrate": {
+            "get": {
+                "description": "This operation requires Pulsar superuser 
privileges.",
+                "operationId": "ClustersBase_getClusterMigration",
+                "parameters": [
+                    {
+                        "description": "The cluster name",
+                        "in": "path",
+                        "name": "cluster",
+                        "required": true,
+                        "type": "string"
+                    }
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "responses": {
+                    "200": {
+                        "description": "Return the cluster data.",
+                        "schema": {
+                            "$ref": "#/definitions/ClusterData"
+                        }
+                    },
+                    "403": {
+                        "description": "Don't have admin permission."
+                    },
+                    "404": {
+                        "description": "Cluster doesn't exist."
+                    },
+                    "500": {
+                        "description": "Internal server error."
+                    }
+                },
+                "summary": "Get the cluster migration configuration for the 
specified cluster.",
+                "tags": [
+                    "clusters"
+                ]
+            },
             "post": {
                 "description": "This operation requires Pulsar superuser 
privileges.",
                 "operationId": "ClustersBase_updateClusterMigration",
diff --git a/static/swagger/master/v2/swagger.json 
b/static/swagger/master/v2/swagger.json
index 3ef28bb30885..29b81d25ee59 100644
--- a/static/swagger/master/v2/swagger.json
+++ b/static/swagger/master/v2/swagger.json
@@ -398,15 +398,6 @@
                     "description": "listenerName when client would like to 
connect to cluster",
                     "type": "string"
                 },
-                "migrated": {
-                    "description": "flag to check if cluster is migrated to 
different cluster",
-                    "example": false,
-                    "type": "boolean"
-                },
-                "migratedClusterUrl": {
-                    "$ref": "#/definitions/ClusterUrl",
-                    "description": "url of cluster where current cluster is 
migrated"
-                },
                 "peerClusterNames": {
                     "description": "A set of peer cluster names",
                     "items": {
@@ -3077,9 +3068,6 @@
                 "inactive_topic_policies": {
                     "$ref": "#/definitions/InactiveTopicPolicies"
                 },
-                "isMigrated": {
-                    "type": "boolean"
-                },
                 "is_allow_auto_update_schema": {
                     "type": "boolean"
                 },
@@ -3122,6 +3110,9 @@
                     "format": "int32",
                     "type": "integer"
                 },
+                "migrated": {
+                    "type": "boolean"
+                },
                 "offload_deletion_lag_ms": {
                     "format": "int64",
                     "type": "integer"
@@ -5804,6 +5795,43 @@
             }
         },
         "/clusters/{cluster}/migrate": {
+            "get": {
+                "description": "This operation requires Pulsar superuser 
privileges.",
+                "operationId": "ClustersBase_getClusterMigration",
+                "parameters": [
+                    {
+                        "description": "The cluster name",
+                        "in": "path",
+                        "name": "cluster",
+                        "required": true,
+                        "type": "string"
+                    }
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "responses": {
+                    "200": {
+                        "description": "Return the cluster data.",
+                        "schema": {
+                            "$ref": "#/definitions/ClusterData"
+                        }
+                    },
+                    "403": {
+                        "description": "Don't have admin permission."
+                    },
+                    "404": {
+                        "description": "Cluster doesn't exist."
+                    },
+                    "500": {
+                        "description": "Internal server error."
+                    }
+                },
+                "summary": "Get the cluster migration configuration for the 
specified cluster.",
+                "tags": [
+                    "clusters"
+                ]
+            },
             "post": {
                 "description": "This operation requires Pulsar superuser 
privileges.",
                 "operationId": "ClustersBase_updateClusterMigration",

Reply via email to