Skip to content

Commit

Permalink
Add StorageConfigList to config response (#8537)
Browse files Browse the repository at this point in the history
* Add StorageConfigList to config response

* lint

* Add unit test

* Add version config basic test

* CR Fixes
  • Loading branch information
N-o-Z authored Jan 22, 2025
1 parent 6fd5061 commit 08411e4
Show file tree
Hide file tree
Showing 23 changed files with 453 additions and 109 deletions.
16 changes: 16 additions & 0 deletions api/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1253,6 +1253,20 @@ components:
type: string
pre_sign_multipart_upload:
type: boolean
blockstore_id:
type: string
blockstore_description:
type: string
blockstore_extras:
type: object
description: blockstore specific properties
additionalProperties:
type: string

StorageConfigList:
type: array
items:
$ref: "#/components/schemas/StorageConfig"

Config:
type: object
Expand All @@ -1261,6 +1275,8 @@ components:
$ref: "#/components/schemas/VersionConfig"
storage_config:
$ref: "#/components/schemas/StorageConfig"
storage_config_list:
$ref: "#/components/schemas/StorageConfigList"
VersionConfig:
type: object
properties:
Expand Down
52 changes: 52 additions & 0 deletions clients/java/api/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions clients/java/docs/Config.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions clients/java/docs/StorageConfig.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 54 additions & 2 deletions clients/java/src/main/java/io/lakefs/clients/sdk/model/Config.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 08411e4

Please sign in to comment.