Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
- **Improvement:** `list_record_sets`/`list_zones` docs clarify that records/zones in the `DELETE_SUCCEEDED` state are excluded by default; pass `state[eq]=DELETE_SUCCEEDED` to retrieve them
- **Improvement:** `Label.key`/`CreateLabelPayload.key` now accepts up to 314 characters (previously 63), supporting prefixed label keys (e.g. `example.com/environment`)
- **Breaking Change:** `PartialUpdateZonePayload.extensions` type changed from `ZoneExtensions` to `DomainExtensions`, now also exposing `observability_extension.state`
- `dremio`:
- [v0.2.0](services/dremio/CHANGELOG.md#v020)
- **Feature:** Add `acl` field to models `CreateDremioInstancePayload`, `DremioResponse`, and `UpdateDremioInstancePayload`
- **Breaking Change:** `DremioResponse` now requires an `acl` field; constructing an instance without it will raise a validation error
- `iaas`:
- [v1.7.0](services/iaas/CHANGELOG.md#v170)
- **Docs:** Update documentation for `labels` field constraints across models.
Expand Down
5 changes: 5 additions & 0 deletions services/dremio/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## v0.2.0

- **Feature:** Add `acl` field to models `CreateDremioInstancePayload`, `DremioResponse`, and `UpdateDremioInstancePayload`
- **Breaking Change:** `DremioResponse` now requires an `acl` field; constructing an instance without it will raise a validation error

## v0.1.0

- **New**: STACKIT Dremio module can be used to manage STACKIT Dremio instances and users.
2 changes: 1 addition & 1 deletion services/dremio/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
da4701b7dbe20e984aef89711bb9ba716e19fcba
7f06203ae1280163695cd27b7f353dca0d2d04b8
2 changes: 1 addition & 1 deletion services/dremio/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "stackit-dremio"
version = "v0.1.0"
version = "v0.2.0"
description = "STACKIT Dremio API"
authors = [{name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud"}]
requires-python = ">=3.10,<4.0"
Expand Down
15 changes: 15 additions & 0 deletions services/dremio/src/stackit/dremio/api/default_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def create_dremio_instance(
"400": "Error",
"401": "Error",
"409": None,
"422": None,
"500": None,
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -188,6 +189,7 @@ def create_dremio_instance_with_http_info(
"400": "Error",
"401": "Error",
"409": None,
"422": None,
"500": None,
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -260,6 +262,7 @@ def create_dremio_instance_without_preload_content(
"400": "Error",
"401": "Error",
"409": None,
"422": None,
"500": None,
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -396,6 +399,7 @@ def create_dremio_user(
"400": "Error",
"401": "Error",
"409": None,
"422": None,
"500": None,
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -472,6 +476,7 @@ def create_dremio_user_with_http_info(
"400": "Error",
"401": "Error",
"409": None,
"422": None,
"500": None,
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -548,6 +553,7 @@ def create_dremio_user_without_preload_content(
"400": "Error",
"401": "Error",
"409": None,
"422": None,
"500": None,
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -684,6 +690,7 @@ def delete_dremio_instance(
"401": "Error",
"404": None,
"409": None,
"422": None,
"500": None,
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -757,6 +764,7 @@ def delete_dremio_instance_with_http_info(
"401": "Error",
"404": None,
"409": None,
"422": None,
"500": None,
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -830,6 +838,7 @@ def delete_dremio_instance_without_preload_content(
"401": "Error",
"404": None,
"409": None,
"422": None,
"500": None,
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -959,6 +968,7 @@ def delete_dremio_user(
"401": "Error",
"404": None,
"409": None,
"422": None,
"500": None,
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -1036,6 +1046,7 @@ def delete_dremio_user_with_http_info(
"401": "Error",
"404": None,
"409": None,
"422": None,
"500": None,
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -1113,6 +1124,7 @@ def delete_dremio_user_without_preload_content(
"401": "Error",
"404": None,
"409": None,
"422": None,
"500": None,
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -2415,6 +2427,7 @@ def update_dremio_instance(
"401": "Error",
"404": None,
"409": None,
"422": None,
"500": None,
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -2492,6 +2505,7 @@ def update_dremio_instance_with_http_info(
"401": "Error",
"404": None,
"409": None,
"422": None,
"500": None,
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -2569,6 +2583,7 @@ def update_dremio_instance_without_preload_content(
"401": "Error",
"404": None,
"409": None,
"422": None,
"500": None,
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import re # noqa: F401
from typing import Any, ClassVar, Dict, List, Optional, Set

from pydantic import BaseModel, ConfigDict, Field, field_validator
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from pydantic_core import to_jsonable_python
from typing_extensions import Annotated, Self

Expand All @@ -30,6 +30,10 @@ class CreateDremioInstancePayload(BaseModel):
CreateDremioInstancePayload
""" # noqa: E501

acl: Optional[List[StrictStr]] = Field(
default=None,
description="The Access Control List (ACL) defining the IPv4 or IPv6 CIDR ranges allowed to connect to the Dremio instance. An empty list allows access from any address. Omitting this field on creation allows access from any address. Omitting it on update preserves the current list. Updates replace the entire list and take effect asynchronously.",
)
authentication: Optional[Authentication] = None
description: Optional[Annotated[str, Field(strict=True, max_length=1024)]] = Field(
default=None,
Expand All @@ -38,7 +42,7 @@ class CreateDremioInstancePayload(BaseModel):
display_name: Annotated[str, Field(min_length=1, strict=True, max_length=32)] = Field(
description="The display name is a short name chosen by the user to identify the resource.", alias="displayName"
)
__properties: ClassVar[List[str]] = ["authentication", "description", "displayName"]
__properties: ClassVar[List[str]] = ["acl", "authentication", "description", "displayName"]

@field_validator("display_name")
def display_name_validate_regular_expression(cls, value):
Expand Down Expand Up @@ -103,6 +107,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:

_obj = cls.model_validate(
{
"acl": obj.get("acl"),
"authentication": (
Authentication.from_dict(obj["authentication"]) if obj.get("authentication") is not None else None
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ class DremioResponse(BaseModel):
DremioResponse
""" # noqa: E501

acl: List[StrictStr] = Field(
description="The Access Control List (ACL) defining the IPv4 or IPv6 CIDR ranges allowed to connect to the Dremio instance. An empty list allows access from any address. Omitting this field on creation allows access from any address. Omitting it on update preserves the current list. Updates replace the entire list and take effect asynchronously."
)
authentication: Authentication
create_time: datetime = Field(description="The point in time the resource was created.")
description: Optional[Annotated[str, Field(strict=True, max_length=1024)]] = Field(
Expand All @@ -51,6 +54,7 @@ class DremioResponse(BaseModel):
id: UUID = Field(description="A auto generated unique id which identifies the resource.")
state: StrictStr = Field(description="The current state of the resource.")
__properties: ClassVar[List[str]] = [
"acl",
"authentication",
"create_time",
"description",
Expand Down Expand Up @@ -152,6 +156,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:

_obj = cls.model_validate(
{
"acl": obj.get("acl"),
"authentication": (
Authentication.from_dict(obj["authentication"]) if obj.get("authentication") is not None else None
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import re # noqa: F401
from typing import Any, ClassVar, Dict, List, Optional, Set

from pydantic import BaseModel, ConfigDict, Field, field_validator
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from pydantic_core import to_jsonable_python
from typing_extensions import Annotated, Self

Expand All @@ -30,6 +30,10 @@ class UpdateDremioInstancePayload(BaseModel):
UpdateDremioInstancePayload
""" # noqa: E501

acl: Optional[List[StrictStr]] = Field(
default=None,
description="The Access Control List (ACL) defining the IPv4 or IPv6 CIDR ranges allowed to connect to the Dremio instance. An empty list allows access from any address. Omitting this field on creation allows access from any address. Omitting it on update preserves the current list. Updates replace the entire list and take effect asynchronously.",
)
authentication: Optional[Authentication] = None
description: Optional[Annotated[str, Field(strict=True, max_length=1024)]] = Field(
default=None,
Expand All @@ -40,7 +44,7 @@ class UpdateDremioInstancePayload(BaseModel):
description="The display name is a short name chosen by the user to identify the resource.",
alias="displayName",
)
__properties: ClassVar[List[str]] = ["authentication", "description", "displayName"]
__properties: ClassVar[List[str]] = ["acl", "authentication", "description", "displayName"]

@field_validator("display_name")
def display_name_validate_regular_expression(cls, value):
Expand Down Expand Up @@ -108,6 +112,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:

_obj = cls.model_validate(
{
"acl": obj.get("acl"),
"authentication": (
Authentication.from_dict(obj["authentication"]) if obj.get("authentication") is not None else None
),
Expand Down
2 changes: 1 addition & 1 deletion services/dremio/uv.lock

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

Loading