Skip to content

Commit

Permalink
Chore/config consolidation (#6647)
Browse files Browse the repository at this point in the history
  • Loading branch information
guy-har authored Oct 1, 2023
1 parent 3a16e7c commit 2cbbc4a
Show file tree
Hide file tree
Showing 30 changed files with 1,684 additions and 574 deletions.
29 changes: 26 additions & 3 deletions api/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,13 @@ components:
type: boolean
import_validity_regex:
type: string

Config:
type: object
properties:
version_config:
$ref: "#/components/schemas/VersionConfig"
storage_config:
$ref: "#/components/schemas/StorageConfig"
VersionConfig:
type: object
properties:
Expand Down Expand Up @@ -4271,12 +4277,28 @@ paths:
responses:
204:
description: NoContent
/config/version:
/config:
get:
tags:
- config
operationId: getConfig
description: retrieve lakeFS configuration
responses:
200:
description: lakeFS configuration
content:
application/json:
schema:
$ref: "#/components/schemas/Config"
401:
$ref: "#/components/responses/Unauthorized"
/config/version:
get:
tags:
- internal
operationId: getLakeFSVersion
description: get version of lakeFS server
deprecated: true
responses:
200:
description: lakeFS version
Expand All @@ -4289,9 +4311,10 @@ paths:
/config/storage:
get:
tags:
- config
- internal
operationId: getStorageConfig
description: retrieve lakeFS storage configuration
deprecated: true
responses:
200:
description: lakeFS storage configuration
Expand Down
6 changes: 4 additions & 2 deletions clients/java/README.md

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

48 changes: 46 additions & 2 deletions clients/java/api/openapi.yaml

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

14 changes: 14 additions & 0 deletions clients/java/docs/Config.md

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

122 changes: 17 additions & 105 deletions clients/java/docs/ConfigApi.md

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

Loading

0 comments on commit 2cbbc4a

Please sign in to comment.