Compare commits

..

5 Commits

Author SHA1 Message Date
4175a39dd2 APIG Dev-Guide to internal
All checks were successful
gl/check check status: success (4175a39dd2d8a01d97849f720bbad61717d8f02e)
gl/gate gate status: success (4175a39dd2d8a01d97849f720bbad61717d8f02e)
2024-06-03 12:54:45 +00:00
f217cafb1b Add environment filter to services_by_category
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2024-05-29 10:59:13 +00:00
663cfbed75 hss api &um public
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Belejkanic, Lukas <lukas.belejkanic@t-systems.com>
Co-committed-by: Belejkanic, Lukas <lukas.belejkanic@t-systems.com>
2024-05-29 10:15:18 +00:00
c7487fc72e Rename service GaussDB noSQL to GeminiDB
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Boka, Ladislav <ladislav.boka@t-systems.com>
Co-committed-by: Boka, Ladislav <ladislav.boka@t-systems.com>
2024-05-28 12:01:38 +00:00
482da3c6a3 Change Compute title to Computing
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2024-05-28 09:30:47 +00:00
8 changed files with 42 additions and 4 deletions

View File

@ -1,4 +1,5 @@
--- ---
environment: hidden
hc_location: devg/apig hc_location: devg/apig
html_location: docs/apig/dev html_location: docs/apig/dev
link: /api-gateway/dev-guide/ link: /api-gateway/dev-guide/

View File

@ -0,0 +1,10 @@
---
hc_location: api/nosql
environment: internal
html_location: docs/geminidb/api-ref
link: /geminidb/api-ref/
pdf_name: geminidb-api-ref
rst_location: api-ref/source
service_type: geminidb
title: API Reference
type: api-ref

View File

@ -0,0 +1,10 @@
---
environment: internal
hc_location: usermanual/nosql
html_location: docs/geminidb/umn
link: /geminidb/umn/
pdf_name: geminidb-umn
rst_location: umn/source
service_type: geminidb
title: User Guide
type: umn

View File

@ -1,6 +1,5 @@
--- ---
hc_location: api/hss2.0 hc_location: api/hss2.0
environment: internal
html_location: docs/hss/api-ref html_location: docs/hss/api-ref
link: /host-security-service/api-ref/ link: /host-security-service/api-ref/
pdf_name: hss-api-ref pdf_name: hss-api-ref

View File

@ -1,6 +1,5 @@
--- ---
hc_location: usermanual/hss2.0 hc_location: usermanual/hss2.0
environment: internal
html_location: docs/hss/umn html_location: docs/hss/umn
link: /host-security-service/umn/ link: /host-security-service/umn/
pdf_name: hss-umn pdf_name: hss-umn

View File

@ -0,0 +1,16 @@
---
environment: internal
repositories:
- environment: internal
repo: docs/geminidb
type: gitea
- environment: public
repo: opentelekomcloud-docs/geminidb
type: github
service_category: database
service_title: GeminiDB
service_type: geminidb
service_uri: geminidb
teams:
- name: docs-database-rw
permission: write

View File

@ -1,5 +1,5 @@
--- ---
environment: internal environment: public
repositories: repositories:
- environment: internal - environment: internal
repo: docs/host-security-service repo: docs/host-security-service

View File

@ -87,10 +87,13 @@ class Services(object):
res.append(copy.deepcopy(cat)) res.append(copy.deepcopy(cat))
return res return res
def services_by_category(self, category): def services_by_category(self, category, environment=None):
"""List services matching category""" """List services matching category"""
res = [] res = []
for srv in self.all_services: for srv in self.all_services:
if environment:
if "environment" in srv and srv["environment"] != environment:
continue
if srv["service_category"] == category: if srv["service_category"] == category:
res.append(copy.deepcopy(srv)) res.append(copy.deepcopy(srv))
return res return res