Compare commits

...

7 Commits

Author SHA1 Message Date
ed955c066f Add environment filter to services_by_category
All checks were successful
gl/check check status: success (ed955c066ff6de1c6d84975028e67a59cbb5ff00)
gl/gate gate status: success (ed955c066ff6de1c6d84975028e67a59cbb5ff00)
2024-05-29 08:02:00 +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
43bbbe9e58 New service ASM
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Co-committed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
2024-05-17 10:39:06 +00:00
fdd17acc16 update metadata for er service
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Drobnak, David <david.drobnak@t-systems.com>
Co-committed-by: Drobnak, David <david.drobnak@t-systems.com>
2024-05-17 10:28:23 +00:00
59a2ba8137 Update 'otc_metadata/data/documents/dli-dev.yaml'
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Nagy, Zsolt <z.nagy@t-systems.com>
Co-committed-by: Nagy, Zsolt <z.nagy@t-systems.com>
2024-05-15 08:45:45 +00:00
2275b9ddfd adding dev guide for apig and fixing modelarts
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2024-05-15 07:58:34 +00:00
17 changed files with 100 additions and 9 deletions

View File

@ -0,0 +1,9 @@
---
hc_location: devg/apig
html_location: docs/apig/dev
link: /api-gateway/dev-guide/
pdf_name: apig-dev-guide
rst_location: dev_guide/source
service_type: apig
title: Developer Guide
type: dev

View File

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

View File

@ -0,0 +1,10 @@
---
hc_location: bestpractice/asm
environment: internal
html_location: docs/asm/best-practice
link: /application-service-mesh/best-practice/
pdf_name: asm-best-practice
rst_location: doc/best-practice/source
service_type: asm
title: Best Practice
type: best-practice

View File

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

View File

@ -1,5 +1,4 @@
---
environment: internal
hc_location: devg/dli
html_location: docs/dli/dev
link: /data-lake-insight/dev-guide/

View File

@ -1,6 +1,5 @@
---
hc_location: api/er
environment: internal
html_location: docs/er/api-ref
link: /enterprise-router/api-ref/
pdf_name: er-api-ref

View File

@ -1,6 +1,5 @@
---
hc_location: usermanual/er
environment: internal
html_location: docs/er/umn
link: /enterprise-router/umn/
pdf_name: er-umn

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,5 +1,5 @@
---
hc_location: api/ma
hc_location: api/modelarts
html_location: docs/modelarts/api-ref
link: /modelarts/api-ref/
pdf_name: ma-api-ref

View File

@ -1,5 +1,5 @@
---
hc_location: sdk/ma
hc_location: sdk/modelarts
html_location: docs/modelarts/sdk-ref
link: /modelarts/sdk-ref/
pdf_name: ma-sdk-ref

View File

@ -1,5 +1,5 @@
---
hc_location: usermanual/ma
hc_location: usermanual/modelarts
html_location: docs/modelarts/umn
link: /modelarts/umn/
pdf_name: ma-umn

View File

@ -1,3 +1,3 @@
---
name: compute
title: Compute
title: Computing

View File

@ -0,0 +1,16 @@
---
environment: internal
repositories:
- environment: internal
repo: docs/application-service-mesh
type: gitea
- environment: public
repo: opentelekomcloud-docs/application-service-mesh
type: github
service_category: container
service_title: Application Service Mesh
service_type: asm
service_uri: application-service-mesh
teams:
- name: docs-container-rw
permission: write

View File

@ -1,5 +1,5 @@
---
environment: internal
environment: public
repositories:
- environment: internal
repo: docs/enterprise-router

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

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