From 56fb9c0cb20386065718d4201a82a3fa18dffce2 Mon Sep 17 00:00:00 2001 From: Elan Hasson <234704+ElanHasson@users.noreply.github.com> Date: Wed, 24 Jul 2024 12:26:59 -0400 Subject: [PATCH] APPS-9133 - Add support for OPENSEARCH in app_database_spec.yml (#896) --- .../apps/models/app_database_spec.yml | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/specification/resources/apps/models/app_database_spec.yml b/specification/resources/apps/models/app_database_spec.yml index 123ae15e..6b7deba0 100755 --- a/specification/resources/apps/models/app_database_spec.yml +++ b/specification/resources/apps/models/app_database_spec.yml @@ -1,7 +1,8 @@ type: object properties: cluster_name: - description: The name of the underlying DigitalOcean DBaaS cluster. This is required + description: + The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if cluster_name is not set, a new cluster will be provisioned. type: string @@ -21,22 +22,24 @@ properties: type: string default: UNSET enum: - - UNSET - - MYSQL - - PG - - REDIS - - MONGODB - - KAFKA + - UNSET + - MYSQL + - PG + - REDIS + - MONGODB + - KAFKA + - OPENSEARCH description: |- - MYSQL: MySQL - PG: PostgreSQL - REDIS: Redis - MONGODB: MongoDB - KAFKA: Kafka + - OPENSEARCH: OpenSearch example: PG name: - description: The name. Must be unique across all components within the same app. + description: The database's name. The name must be unique across all components within the same app and cannot use capital letters. maxLength: 32 minLength: 2 pattern: ^[a-z][a-z0-9-]{0,30}[a-z0-9]$ @@ -54,4 +57,4 @@ properties: example: "12" required: -- name + - name