1 Commits
main ... esw

Author SHA1 Message Date
5e8724d028 Add ESW as service
All checks were successful
Run Tox Check / tox-py312 (pull_request) Successful in 15s
Run Tox Check / tox-pep8 (pull_request) Successful in 16s
Updates Opensearch filters / update-opensearch-filters (pull_request) Successful in 10s
2025-11-12 13:59:29 +00:00
5 changed files with 2 additions and 21 deletions

View File

@ -1,4 +0,0 @@
---
name: eu_de
internal_org: docs
public_org: opentelekomcloud-docs

View File

@ -1,4 +0,0 @@
---
name: swiss
internal_org: docs-swiss
public_org: opentelekomcloud-docs-swiss

View File

@ -6,6 +6,6 @@ title: Alerting
type: alerting
cloud_environments:
- name: eu_de
visibility: public
pdf_visibility: public
visibility: hidden
pdf_visibility: hidden
pdf_enabled: true

View File

@ -17,7 +17,6 @@
# documents/services/service_categories is being merged with
# the content here.
---
cloud_environments: []
documents: []
service_categories: []
services: []

View File

@ -62,20 +62,10 @@ class Services(object):
if other in self._service_data["service_categories"]:
self._service_data["service_categories"].remove(other)
self._service_data["service_categories"].append(other)
# sort cloud environments by <name>
self._service_data["cloud_environments"] = sorted(
self._service_data["cloud_environments"],
key=lambda x: f"{x.get('name')}",
)
def _rewrite_data(self):
otc_metadata.data.rewrite_data("services.yaml", self._service_data)
@property
def all_cloud_environments(self):
"Cloud Environments data listing."
return copy.deepcopy(self._service_data["cloud_environments"])
@property
def all_services(self):
"Service Categories data listing."