Skip to content

Commit 75dcf6e

Browse files
Generator: Update SDK /services/git (#3436)
* Generate git * chore(git) write changelog, bump version * fix(git) fix changelog --------- Co-authored-by: cgoetz-inovex <carlo.goetz@inovex.de>
1 parent 48f1e3b commit 75dcf6e

31 files changed

+3833
-401
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@
2020
- `edge`: [v0.1.1](services/edge/CHANGELOG.md#v011)
2121
- **Feature:** client now supports UUID and decimal types
2222
- **Bugfix:** timeouts now passed to requests library
23+
- `git`: [v0.8.0](services/git/CHANGELOG.md#v080)
24+
- **Feature:** client now supports UUID and decimal types
25+
- **Bugfix:** timeouts now passed to requests library
26+
- **Feature:** add new methods to manage STACKIT git authentication: `list_authentication`, `create_authentication`, `delete_authentication`, `get_authentication`, `patch_authentication`
27+
- **Feature:** add new methods to manage STACKIT git runners: `delete_runner`, `get_runner`, `create_runner`
28+
- **Feature:** add new methods to manage STACKIT git runner runtimes: `list_runner_runtimes`
29+
- **Feature:** add support for `FeatureToggle`s to `PatchInstancePayload` and `Instance` models
30+
- **Breaking Change:** added field `featureToggle` to model `Instance`
31+
- **Breaking Change:** `list_runner_labels` was removed
32+
- **Breaking Change:** model `UnauthorizedResponse` renamed to `UnauthorizedErrorResponse`
33+
- **Feature:** add new model `AlreadyExistsError`
34+
- **Breaking Change:** model `InstanceFlavor` was removed
2335
- `serviceaccount`:
2436
- [v0.6.1](services/serviceaccount/CHANGELOG.md#v061)
2537
- **Feature:** client now supports UUID and decimal types

services/git/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
## v0.8.0
2+
- **Feature:** client now supports UUID and decimal types
3+
- **Bugfix:** timeouts now passed to requests library
4+
- **Feature:** add new methods to manage STACKIT git authentication: `list_authentication`, `create_authentication`, `delete_authentication`, `get_authentication`, `patch_authentication`
5+
- **Feature:** add new methods to manage STACKIT git runners: `delete_runner`, `get_runner`, `create_runner`
6+
- **Feature:** add new methods to manage STACKIT git runner runtimes: `list_runner_runtimes`
7+
- **Feature:** add support for `FeatureToggle`s to `PatchInstancePayload` and `Instance` models
8+
- **Breaking Change:** added field `featureToggle` to model `Instance`
9+
- **Breaking Change:** `list_runner_labels` was removed
10+
- **Breaking Change:** model `UnauthorizedResponse` renamed to `UnauthorizedErrorResponse`
11+
- **Feature:** add new model `AlreadyExistsError`
12+
- **Breaking Change:** model `InstanceFlavor` was removed
13+
114
## v0.7.0
215
- **Breaking Change:** Replace `patch_operation` by `patch_instance_payload` in `patch_instance` request
316
- **Feature:** Add enums `InstanceFlavor`

services/git/oas_commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0e64886dd0847341800d7191ed193b75413be998

services/git/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "stackit-git"
3-
version = "v0.7.0"
3+
version = "v0.8.0"
44
description = "STACKIT Git API"
55
authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }]
66
requires-python = ">=3.9,<4.0"

services/git/src/stackit/git/__init__.py

Lines changed: 45 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,29 @@
2929
"ApiKeyError",
3030
"ApiAttributeError",
3131
"ApiException",
32+
"AlreadyExistsError",
33+
"Authentication",
34+
"AuthenticationList",
35+
"BadErrorResponse",
36+
"ConflictErrorResponse",
37+
"CreateAuthenticationPayload",
3238
"CreateInstancePayload",
39+
"CreateRunnerPayload",
40+
"FeatureToggle",
3341
"Flavor",
3442
"GenericErrorResponse",
3543
"Instance",
36-
"InstanceFlavor",
3744
"InternalServerErrorResponse",
3845
"ListFlavors",
3946
"ListInstances",
40-
"ListRunnerLabels",
47+
"NotFoundErrorResponse",
48+
"PatchAuthenticationPayload",
4149
"PatchInstancePayload",
4250
"PatchOperation",
43-
"RunnerLabel",
44-
"UnauthorizedResponse",
51+
"Runner",
52+
"RunnerRuntime",
53+
"RunnerRuntimeList",
54+
"UnauthorizedErrorResponse",
4555
]
4656

4757
# import apis into sdk package
@@ -59,26 +69,52 @@
5969
from stackit.git.exceptions import OpenApiException as OpenApiException
6070

6171
# import models into sdk package
72+
from stackit.git.models.already_exists_error import (
73+
AlreadyExistsError as AlreadyExistsError,
74+
)
75+
from stackit.git.models.authentication import Authentication as Authentication
76+
from stackit.git.models.authentication_list import (
77+
AuthenticationList as AuthenticationList,
78+
)
79+
from stackit.git.models.bad_error_response import BadErrorResponse as BadErrorResponse
80+
from stackit.git.models.conflict_error_response import (
81+
ConflictErrorResponse as ConflictErrorResponse,
82+
)
83+
from stackit.git.models.create_authentication_payload import (
84+
CreateAuthenticationPayload as CreateAuthenticationPayload,
85+
)
6286
from stackit.git.models.create_instance_payload import (
6387
CreateInstancePayload as CreateInstancePayload,
6488
)
89+
from stackit.git.models.create_runner_payload import (
90+
CreateRunnerPayload as CreateRunnerPayload,
91+
)
92+
from stackit.git.models.feature_toggle import FeatureToggle as FeatureToggle
6593
from stackit.git.models.flavor import Flavor as Flavor
6694
from stackit.git.models.generic_error_response import (
6795
GenericErrorResponse as GenericErrorResponse,
6896
)
6997
from stackit.git.models.instance import Instance as Instance
70-
from stackit.git.models.instance_flavor import InstanceFlavor as InstanceFlavor
7198
from stackit.git.models.internal_server_error_response import (
7299
InternalServerErrorResponse as InternalServerErrorResponse,
73100
)
74101
from stackit.git.models.list_flavors import ListFlavors as ListFlavors
75102
from stackit.git.models.list_instances import ListInstances as ListInstances
76-
from stackit.git.models.list_runner_labels import ListRunnerLabels as ListRunnerLabels
103+
from stackit.git.models.not_found_error_response import (
104+
NotFoundErrorResponse as NotFoundErrorResponse,
105+
)
106+
from stackit.git.models.patch_authentication_payload import (
107+
PatchAuthenticationPayload as PatchAuthenticationPayload,
108+
)
77109
from stackit.git.models.patch_instance_payload import (
78110
PatchInstancePayload as PatchInstancePayload,
79111
)
80112
from stackit.git.models.patch_operation import PatchOperation as PatchOperation
81-
from stackit.git.models.runner_label import RunnerLabel as RunnerLabel
82-
from stackit.git.models.unauthorized_response import (
83-
UnauthorizedResponse as UnauthorizedResponse,
113+
from stackit.git.models.runner import Runner as Runner
114+
from stackit.git.models.runner_runtime import RunnerRuntime as RunnerRuntime
115+
from stackit.git.models.runner_runtime_list import (
116+
RunnerRuntimeList as RunnerRuntimeList,
117+
)
118+
from stackit.git.models.unauthorized_error_response import (
119+
UnauthorizedErrorResponse as UnauthorizedErrorResponse,
84120
)

0 commit comments

Comments
 (0)