Skip to content

Commit

Permalink
Update cloud.host to specify a cloud storage service name.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsweger committed Feb 29, 2024
1 parent 0267862 commit 5c86e48
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions v2.0.1/admin-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -646,14 +646,19 @@
"enabled": {"type": "boolean"},
"host": {
"type": "object",
"required": ["name", "storage"],
"required": ["name", "storage_servce", "storage_location"],
"properties": {
"name": {
"description": "Name of the cloud storage provider.",
"type": "string",
"enum": ["aws"]
},
"storage": {
"storage_service": {
"description": "Name of the cloud service used as backend storage",
"type": "string",
"enum": ["s3"]
},
"storage_location": {
"description": "Cloud storage location, excluding prefix (for example, AWS S3 bucket name).",
"type": "string"
}
Expand All @@ -673,7 +678,8 @@
"enabled": true,
"host": {
"name": "aws",
"storage": "hub-s3-bucket-name"
"storage_service": "s3",
"storage_location": "hub-s3-bucket-name"
}
}
]
Expand Down

0 comments on commit 5c86e48

Please sign in to comment.