Skip to content

Commit

Permalink
tag version v0.23.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BeryJu committed Jan 12, 2025
1 parent b3784fe commit 805b098
Show file tree
Hide file tree
Showing 121 changed files with 851 additions and 123 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
PWD = $(shell pwd)
UID = $(shell id -u)
GID = $(shell id -g)
VERSION = "0.22.0"
VERSION = "0.23.0"
LD_FLAGS = -X beryju.io/gravity/pkg/extconfig.Version=${VERSION}
GO_FLAGS = -ldflags "${LD_FLAGS}" -v
SCHEMA_FILE = schema.yml
Expand Down Expand Up @@ -152,7 +152,7 @@ gen-client-ts-publish: gen-client-ts
npm version ${VERSION} || true
git add package*.json

gen: gen-build gen-clean gen-client-go gen-client-ts-publish gen-tag
release: gen-build gen-clean gen-client-go gen-client-ts-publish gen-tag

lint: web-lint
golangci-lint run -v --timeout 5000s
Expand Down
4 changes: 4 additions & 0 deletions api/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ docs/DnsAPIRoleConfigInput.md
docs/DnsAPIRoleConfigOutput.md
docs/DnsAPIZone.md
docs/DnsAPIZonesGetOutput.md
docs/DnsAPIZonesImportInput.md
docs/DnsAPIZonesImportOutput.md
docs/DnsAPIZonesPutInput.md
docs/DnsRoleConfig.md
docs/ExtconfigExtConfigDirs.md
Expand Down Expand Up @@ -187,6 +189,8 @@ model_dns_api_role_config_input.go
model_dns_api_role_config_output.go
model_dns_api_zone.go
model_dns_api_zones_get_output.go
model_dns_api_zones_import_input.go
model_dns_api_zones_import_output.go
model_dns_api_zones_put_input.go
model_dns_role_config.go
model_extconfig_ext_config_dirs.go
Expand Down
5 changes: 4 additions & 1 deletion api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 0.22.0
- API version: 0.23.0
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen

Expand Down Expand Up @@ -125,6 +125,7 @@ Class | Method | HTTP request | Description
*RolesDnsApi* | [**DnsGetRecords**](docs/RolesDnsApi.md#dnsgetrecords) | **Get** /api/v1/dns/zones/records | DNS Records
*RolesDnsApi* | [**DnsGetRoleConfig**](docs/RolesDnsApi.md#dnsgetroleconfig) | **Get** /api/v1/roles/dns | DNS role config
*RolesDnsApi* | [**DnsGetZones**](docs/RolesDnsApi.md#dnsgetzones) | **Get** /api/v1/dns/zones | DNS Zones
*RolesDnsApi* | [**DnsImportZones**](docs/RolesDnsApi.md#dnsimportzones) | **Post** /api/v1/dns/zones/import | DNS Zones
*RolesDnsApi* | [**DnsPutRecords**](docs/RolesDnsApi.md#dnsputrecords) | **Post** /api/v1/dns/zones/records | DNS Records
*RolesDnsApi* | [**DnsPutRoleConfig**](docs/RolesDnsApi.md#dnsputroleconfig) | **Post** /api/v1/roles/dns | DNS role config
*RolesDnsApi* | [**DnsPutZones**](docs/RolesDnsApi.md#dnsputzones) | **Post** /api/v1/dns/zones | DNS Zones
Expand Down Expand Up @@ -210,6 +211,8 @@ Class | Method | HTTP request | Description
- [DnsAPIRoleConfigOutput](docs/DnsAPIRoleConfigOutput.md)
- [DnsAPIZone](docs/DnsAPIZone.md)
- [DnsAPIZonesGetOutput](docs/DnsAPIZonesGetOutput.md)
- [DnsAPIZonesImportInput](docs/DnsAPIZonesImportInput.md)
- [DnsAPIZonesImportOutput](docs/DnsAPIZonesImportOutput.md)
- [DnsAPIZonesPutInput](docs/DnsAPIZonesPutInput.md)
- [DnsRoleConfig](docs/DnsRoleConfig.md)
- [ExtconfigExtConfigDirs](docs/ExtconfigExtConfigDirs.md)
Expand Down
68 changes: 67 additions & 1 deletion api/api/openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.3
info:
title: gravity
version: 0.22.0
version: 0.23.0
servers:
- url: /
paths:
Expand Down Expand Up @@ -928,6 +928,44 @@ paths:
summary: DNS Zones
tags:
- roles/dns
/api/v1/dns/zones/import:
post:
operationId: dns.import_zones
parameters:
- explode: true
in: query
name: zone
required: false
schema:
type: string
style: form
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DnsAPIZonesImportInput'
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/DnsAPIZonesImportOutput'
description: OK
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/RestErrResponse'
description: Bad Request
"500":
content:
application/json:
schema:
$ref: '#/components/schemas/RestErrResponse'
description: Internal Server Error
summary: DNS Zones
tags:
- roles/dns
/api/v1/dns/zones/records:
delete:
operationId: dns.delete_records
Expand Down Expand Up @@ -1645,6 +1683,15 @@ paths:
schema:
type: string
style: form
- explode: true
in: query
name: extraKeys
required: false
schema:
items:
type: string
type: array
style: form
- explode: true
in: query
name: node
Expand Down Expand Up @@ -3049,6 +3096,25 @@ components:
required:
- zones
type: object
DnsAPIZonesImportInput:
example:
payload: payload
type: bind
properties:
payload:
type: string
type:
enum:
- bind
type: string
type: object
DnsAPIZonesImportOutput:
example:
successful: true
properties:
successful:
type: boolean
type: object
DnsAPIZonesPutInput:
example:
handlerConfigs:
Expand Down
2 changes: 1 addition & 1 deletion api/api_cluster.go

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

2 changes: 1 addition & 1 deletion api/api_cluster_instances.go

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

2 changes: 1 addition & 1 deletion api/api_roles_api.go

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

2 changes: 1 addition & 1 deletion api/api_roles_backup.go

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

2 changes: 1 addition & 1 deletion api/api_roles_dhcp.go

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

2 changes: 1 addition & 1 deletion api/api_roles_discovery.go

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

138 changes: 137 additions & 1 deletion api/api_roles_dns.go

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

2 changes: 1 addition & 1 deletion api/api_roles_etcd.go

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

2 changes: 1 addition & 1 deletion api/api_roles_monitoring.go

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

2 changes: 1 addition & 1 deletion api/api_roles_tftp.go

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

Loading

0 comments on commit 805b098

Please sign in to comment.