Skip to content

Commit f838327

Browse files
authored
Update OpenAPI spec to 2.8.0 (#75)
This change updates the OpenAPI spec used for schema generation, which adds the read-only status attribute for the backup resource `database_product_version`. This also shifts the range of Control Plane versions used in the CircleCI test jobs.
1 parent 794add7 commit f838327

File tree

10 files changed

+4059
-1342
lines changed

10 files changed

+4059
-1342
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,13 @@ workflows:
175175
name: Functional tests (Minikube)
176176
test-driver: minikube
177177
- functional_tests:
178-
name: Functional tests (KWOK, 2.5.0)
178+
name: Functional tests (KWOK, 2.6.1)
179179
test-driver: kwok
180-
nuodb-cp-version: 2.5.0
180+
nuodb-cp-version: 2.6.1
181181
- functional_tests:
182-
name: Functional tests (Minikube, 2.6.1)
182+
name: Functional tests (Minikube, 2.7.0)
183183
test-driver: minikube
184-
nuodb-cp-version: 2.6.1
184+
nuodb-cp-version: 2.7.0
185185
- functional_tests:
186186
name: Functional tests (External DBaaS)
187187
test-driver: external

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ KUBECTL_VERSION ?= 1.31.1
1414
KWOKCTL_VERSION ?= 0.6.0
1515
HELM_VERSION ?= 3.16.1
1616
MINIKUBE_VERSION ?= 1.34.0
17-
NUODB_CP_VERSION ?= 2.7.0
17+
NUODB_CP_VERSION ?= 2.8.0
1818

1919
GOTESTSUM := bin/gotestsum
2020
TFPLUGINDOCS := bin/tfplugindocs

deploy/k8s/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44
cd "$(dirname "$0")"
55
./check.sh
66

7-
: ${NUODB_CP_VERSION:="2.7.0"}
7+
: ${NUODB_CP_VERSION:="2.8.0"}
88
: ${NUODB_CP_REPO:="https://nuodb.github.io/nuodb-cp-releases/charts"}
99

1010
: ${CERT_MANAGER_VERSION:="1.15.3"}

deploy/kwok/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export KUBECONFIG
1414
: ${PROVISIONER_IMAGE:="ghcr.io/adriansuarez/noop-provisioner:latest"}
1515

1616
: ${NUODB_CP_REPO:="https://nuodb.github.io/nuodb-cp-releases/charts"}
17-
: ${NUODB_CP_VERSION:="2.7.0"}
17+
: ${NUODB_CP_VERSION:="2.8.0"}
1818
: ${NUODB_CP_IMAGE:="ghcr.io/nuodb/nuodb-cp-images:$NUODB_CP_VERSION"}
1919
: ${NUODB_CP_USER:="system/admin"}
2020
: ${NUODB_CP_PASSWORD:="changeIt"}

docs/data-sources/backup.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Read-Only:
5656
- `backup_plugin` (String) The plugin used to manage the backup
5757
- `created_by_policy` (String) The fully-qualified name of the backup policy that the backup was created by
5858
- `creation_time` (String) The time that the backup was taken
59+
- `database_product_version` (String) The product version of the database that the backup belongs to
5960
- `message` (String) Message summarizing the state of the backup
6061
- `ready_to_use` (Boolean) Whether the backup is ready to be used to restore a database
6162
- `retained_as` (List of String) The matching retention cycles by this backup

docs/resources/backup.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ Read-Only:
6767
- `backup_plugin` (String) The plugin used to manage the backup
6868
- `created_by_policy` (String) The fully-qualified name of the backup policy that the backup was created by
6969
- `creation_time` (String) The time that the backup was taken
70+
- `database_product_version` (String) The product version of the database that the backup belongs to
7071
- `message` (String) Message summarizing the state of the backup
7172
- `ready_to_use` (Boolean) Whether the backup is ready to be used to restore a database
7273
- `retained_as` (List of String) The matching retention cycles by this backup

openapi.yaml

Lines changed: 3578 additions & 1176 deletions
Large diffs are not rendered by default.

openapi/client.go

Lines changed: 208 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)