Compare commits
1 Commits
apig-devgu
...
sgode-patc
Author | SHA1 | Date | |
---|---|---|---|
ba719fcf7c |
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
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/
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
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
|
|
@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
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
|
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
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
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
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
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
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
|
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
environment: public
|
environment: internal
|
||||||
repositories:
|
repositories:
|
||||||
- environment: internal
|
- environment: internal
|
||||||
repo: docs/host-security-service
|
repo: docs/host-security-service
|
||||||
|
@ -87,13 +87,10 @@ class Services(object):
|
|||||||
res.append(copy.deepcopy(cat))
|
res.append(copy.deepcopy(cat))
|
||||||
return res
|
return res
|
||||||
|
|
||||||
def services_by_category(self, category, environment=None):
|
def services_by_category(self, category):
|
||||||
"""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
|
||||||
|
Reference in New Issue
Block a user