3 Commits

Author SHA1 Message Date
13e8b5be2f fix uri
All checks were successful
Run Tox Check / tox-py312 (pull_request) Successful in 15s
Run Tox Check / tox-pep8 (pull_request) Successful in 15s
Updates Opensearch filters / update-opensearch-filters (pull_request) Successful in 10s
2025-08-13 12:02:46 +00:00
40c62b4609 fix pep8
All checks were successful
Run Tox Check / tox-py312 (pull_request) Successful in 17s
Run Tox Check / tox-pep8 (pull_request) Successful in 15s
2025-08-13 11:59:11 +00:00
e6c62e9655 collect output statistics
Some checks failed
Run Tox Check / tox-py312 (pull_request) Successful in 20s
Run Tox Check / tox-pep8 (pull_request) Failing after 15s
2025-08-13 11:54:33 +00:00
4 changed files with 0 additions and 15 deletions

View File

@ -1,2 +0,0 @@
---
name: eu_de

View File

@ -1,2 +0,0 @@
---
name: swiss

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."