Skip to content

Commit

Permalink
APPS-9133 - Add support for OPENSEARCH in app_database_spec.yml (#896)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElanHasson authored Jul 24, 2024
1 parent 447b801 commit 56fb9c0
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions specification/resources/apps/models/app_database_spec.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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]$
Expand All @@ -54,4 +57,4 @@ properties:
example: "12"

required:
- name
- name

0 comments on commit 56fb9c0

Please sign in to comment.