summaryrefslogtreecommitdiff
path: root/api-ref
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2020-04-07 10:52:16 +1200
committerLingxian Kong <anlin.kong@gmail.com>2020-05-27 10:31:50 +1200
commitaa1d4d224674f44d9cd882eddb2537907adf5382 (patch)
treeb9baf26bfb4b15497696d020fea41364bd0576c8 /api-ref
parent523d66e8fd5d29be8dbae9aa79c5348d3dce8c64 (diff)
downloadtrove-aa1d4d224674f44d9cd882eddb2537907adf5382.tar.gz
Datastore containerization
Significant changes: * Using docker image to install datastore. * Datastore image is common to different datastores. * Using backup docker image to do backup and restore. * Support MariaDB replication * Set most of the functional jobs as non-voting as nested virtualization is not supported in CI. Change-Id: Ia9c97a63a961eebc336b70d28dc77638144c1834
Diffstat (limited to 'api-ref')
-rwxr-xr-xapi-ref/source/parameters.yaml10
-rw-r--r--api-ref/source/samples/instance-patch-detach-replica-request.json3
2 files changed, 6 insertions, 7 deletions
diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml
index c6279686..b7835923 100755
--- a/api-ref/source/parameters.yaml
+++ b/api-ref/source/parameters.yaml
@@ -688,10 +688,9 @@ replica_count:
type: integer
replica_of:
description: |
- ID or name of an existing instance to replicate
- from.
+ ID or name of an existing instance to replicate from.
in: body
- required: false
+ required: true
type: string
restore_point:
description: |
@@ -735,9 +734,10 @@ shard_id:
type: string
slave_of:
description: |
- To detach a replica, set ``slave_of`` to null.
+ To detach a replica, set ``slave_of`` to null. Deprecated in favor of
+ ``replica_of``
in: body
- required: true
+ required: false
type: string
tenant_id:
description: |
diff --git a/api-ref/source/samples/instance-patch-detach-replica-request.json b/api-ref/source/samples/instance-patch-detach-replica-request.json
index f61219c8..b45d75c7 100644
--- a/api-ref/source/samples/instance-patch-detach-replica-request.json
+++ b/api-ref/source/samples/instance-patch-detach-replica-request.json
@@ -1,6 +1,5 @@
{
"instance": {
- "replica_of": null,
- "slave_of": null
+ "replica_of": null
}
}