Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/config consolidation #6647

Merged
merged 6 commits into from
Oct 1, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion 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:
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:
- config
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In other PRs we changed the tag to "internal".

operationId: getLakeFSVersion
description: get version of lakeFS server
deprecated: true
responses:
200:
description: lakeFS version
Expand All @@ -4292,6 +4314,7 @@ paths:
- config
operationId: getStorageConfig
description: retrieve lakeFS storage configuration
deprecated: true
responses:
200:
description: lakeFS storage configuration
Expand Down
2 changes: 2 additions & 0 deletions clients/java/README.md

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

44 changes: 44 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.

88 changes: 88 additions & 0 deletions clients/java/docs/ConfigApi.md

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

Loading