Skip to content
Closed
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
2 changes: 1 addition & 1 deletion services/opensearch/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0e64886dd0847341800d7191ed193b75413be998
542331e6ed58183bbfb5837bace9e39fbba2a8f0
6 changes: 5 additions & 1 deletion services/opensearch/src/stackit/opensearch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand All @@ -30,6 +30,7 @@
"ApiException",
"Backup",
"CreateBackupResponseItem",
"CreateCredentialsPayload",
"CreateInstancePayload",
"CreateInstanceResponse",
"Credentials",
Expand Down Expand Up @@ -76,6 +77,9 @@
from stackit.opensearch.models.create_backup_response_item import (
CreateBackupResponseItem as CreateBackupResponseItem,
)
from stackit.opensearch.models.create_credentials_payload import (
CreateCredentialsPayload as CreateCredentialsPayload,
)
from stackit.opensearch.models.create_instance_payload import (
CreateInstancePayload as CreateInstancePayload,
)
Expand Down
897 changes: 661 additions & 236 deletions services/opensearch/src/stackit/opensearch/api/default_api.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion services/opensearch/src/stackit/opensearch/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
9 changes: 4 additions & 5 deletions services/opensearch/src/stackit/opensearch/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down Expand Up @@ -53,7 +53,7 @@ def __init__(
)
"""Constructor
"""
self._base_path = "https://opensearch.api.eu01.stackit.cloud"
self._base_path = "https://opensearch.api.stackit.cloud"
"""Default Base url
"""
self.server_index = 0 if server_index is None else server_index
Expand All @@ -77,13 +77,12 @@ def get_host_settings(self) -> List[HostSetting]:
"""
return [
{
"url": "https://opensearch.api.{region}stackit.cloud",
"url": "https://opensearch.api.stackit.cloud",
"description": "No description provided",
"variables": {
"region": {
"description": "No description provided",
"default_value": "eu01.",
"enum_values": ["eu01."],
"default_value": "global",
}
},
}
Expand Down
2 changes: 1 addition & 1 deletion services/opensearch/src/stackit/opensearch/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand All @@ -17,6 +17,9 @@
from stackit.opensearch.models.create_backup_response_item import (
CreateBackupResponseItem,
)
from stackit.opensearch.models.create_credentials_payload import (
CreateCredentialsPayload,
)
from stackit.opensearch.models.create_instance_payload import CreateInstancePayload
from stackit.opensearch.models.create_instance_response import CreateInstanceResponse
from stackit.opensearch.models.credentials import Credentials
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# coding: utf-8

"""
STACKIT Opensearch API

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
""" # noqa: E501

from __future__ import annotations

import json
import pprint
from typing import Any, ClassVar, Dict, List, Optional, Set

from pydantic import BaseModel, ConfigDict
from pydantic_core import to_jsonable_python
from typing_extensions import Self


class CreateCredentialsPayload(BaseModel):
"""
CreateCredentialsPayload
""" # noqa: E501

parameters: Optional[Dict[str, Any]] = None
__properties: ClassVar[List[str]] = ["parameters"]

model_config = ConfigDict(
validate_by_name=True,
validate_by_alias=True,
validate_assignment=True,
protected_namespaces=(),
)

def to_str(self) -> str:
"""Returns the string representation of the model using alias"""
return pprint.pformat(self.model_dump(by_alias=True))

def to_json(self) -> str:
"""Returns the JSON representation of the model using alias"""
return json.dumps(to_jsonable_python(self.to_dict()))

@classmethod
def from_json(cls, json_str: str) -> Optional[Self]:
"""Create an instance of CreateCredentialsPayload from a JSON string"""
return cls.from_dict(json.loads(json_str))

def to_dict(self) -> Dict[str, Any]:
"""Return the dictionary representation of the model using alias.

This has the following differences from calling pydantic's
`self.model_dump(by_alias=True)`:

* `None` is only added to the output dict for nullable fields that
were set at model initialization. Other fields with value `None`
are ignored.
"""
excluded_fields: Set[str] = set([])

_dict = self.model_dump(
by_alias=True,
exclude=excluded_fields,
exclude_none=True,
)
return _dict

@classmethod
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"""Create an instance of CreateCredentialsPayload from a dict"""
if obj is None:
return None

if not isinstance(obj, dict):
return cls.model_validate(obj)

_obj = cls.model_validate({"parameters": obj.get("parameters")})
return _obj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down Expand Up @@ -70,9 +70,15 @@ class InstanceParameters(BaseModel):
)
syslog: Optional[List[StrictStr]] = None
tls_ciphers: Optional[List[StrictStr]] = Field(
default=None, description="Only Java format is supported.", alias="tls-ciphers"
default=None,
description="This property is deprecated and will be removed in a future release.",
alias="tls-ciphers",
)
tls_protocols: Optional[List[StrictStr]] = Field(
default=None,
description="This property is deprecated and will be removed in a future release.",
alias="tls-protocols",
)
tls_protocols: Optional[List[StrictStr]] = Field(default=None, alias="tls-protocols")
__properties: ClassVar[List[str]] = [
"enable_monitoring",
"graphite",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Loading
Loading