Compare commits
	
		
			1 Commits
		
	
	
		
			add-config
			...
			apigw-dev
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 7f9803251b | 
@ -1,5 +1,4 @@
 | 
			
		||||
---
 | 
			
		||||
environment: hidden
 | 
			
		||||
hc_location: devg/apig
 | 
			
		||||
html_location: docs/apig/dev
 | 
			
		||||
link: /api-gateway/dev-guide/
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
---
 | 
			
		||||
environment: public
 | 
			
		||||
environment: internal
 | 
			
		||||
hc_location: usermanual/apm
 | 
			
		||||
html_location: docs/apm/umn
 | 
			
		||||
link: /application-performance-management/umn/
 | 
			
		||||
 | 
			
		||||
@ -1,10 +0,0 @@
 | 
			
		||||
---
 | 
			
		||||
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
 | 
			
		||||
@ -1,10 +0,0 @@
 | 
			
		||||
---
 | 
			
		||||
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
 | 
			
		||||
@ -1,10 +0,0 @@
 | 
			
		||||
---
 | 
			
		||||
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
 | 
			
		||||
@ -1,10 +0,0 @@
 | 
			
		||||
---
 | 
			
		||||
environment: internal
 | 
			
		||||
hc_location: api/rms
 | 
			
		||||
html_location: docs/config/api-ref
 | 
			
		||||
link: /config/api-ref/
 | 
			
		||||
pdf_name: config-api-ref
 | 
			
		||||
rst_location: config/source
 | 
			
		||||
service_type: config
 | 
			
		||||
title: API Reference
 | 
			
		||||
type: api-ref
 | 
			
		||||
@ -1,9 +0,0 @@
 | 
			
		||||
---
 | 
			
		||||
environment: internal
 | 
			
		||||
hc_location: usermanual/rms
 | 
			
		||||
html_location: docs/config/umn
 | 
			
		||||
link: /config/umn/
 | 
			
		||||
rst_location: umn/source
 | 
			
		||||
service_type: config
 | 
			
		||||
title: User Guide
 | 
			
		||||
type: umn
 | 
			
		||||
@ -1,4 +1,5 @@
 | 
			
		||||
---
 | 
			
		||||
environment: internal
 | 
			
		||||
hc_location: devg/dli
 | 
			
		||||
html_location: docs/dli/dev
 | 
			
		||||
link: /data-lake-insight/dev-guide/
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,6 @@
 | 
			
		||||
---
 | 
			
		||||
hc_location: api/er
 | 
			
		||||
environment: internal
 | 
			
		||||
html_location: docs/er/api-ref
 | 
			
		||||
link: /enterprise-router/api-ref/
 | 
			
		||||
pdf_name: er-api-ref
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,6 @@
 | 
			
		||||
---
 | 
			
		||||
hc_location: usermanual/er
 | 
			
		||||
environment: internal
 | 
			
		||||
html_location: docs/er/umn
 | 
			
		||||
link: /enterprise-router/umn/
 | 
			
		||||
pdf_name: er-umn
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
environment: internal
 | 
			
		||||
html_location: docs/hss/api-ref
 | 
			
		||||
link: /host-security-service/api-ref/
 | 
			
		||||
pdf_name: hss-api-ref
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,6 @@
 | 
			
		||||
---
 | 
			
		||||
hc_location: usermanual/hss2.0
 | 
			
		||||
environment: internal
 | 
			
		||||
html_location: docs/hss/umn
 | 
			
		||||
link: /host-security-service/umn/
 | 
			
		||||
pdf_name: hss-umn
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,3 @@
 | 
			
		||||
---
 | 
			
		||||
name: compute
 | 
			
		||||
title: Computing
 | 
			
		||||
title: Compute
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
---
 | 
			
		||||
environment: public
 | 
			
		||||
environment: internal
 | 
			
		||||
repositories:
 | 
			
		||||
- environment: internal
 | 
			
		||||
  repo: docs/application-performance-management
 | 
			
		||||
 | 
			
		||||
@ -1,16 +0,0 @@
 | 
			
		||||
---
 | 
			
		||||
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
 | 
			
		||||
@ -1,16 +0,0 @@
 | 
			
		||||
---
 | 
			
		||||
environment: internal
 | 
			
		||||
repositories:
 | 
			
		||||
- environment: internal
 | 
			
		||||
  repo: docs/config
 | 
			
		||||
  type: gitea
 | 
			
		||||
- environment: public
 | 
			
		||||
  repo: opentelekomcloud-docs/config
 | 
			
		||||
  type: github
 | 
			
		||||
service_category: md
 | 
			
		||||
service_title: Config
 | 
			
		||||
service_type: config
 | 
			
		||||
service_uri: config
 | 
			
		||||
teams:
 | 
			
		||||
- name: docs-orchestration-rw
 | 
			
		||||
  permission: write
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
---
 | 
			
		||||
environment: public
 | 
			
		||||
environment: internal
 | 
			
		||||
repositories:
 | 
			
		||||
- environment: internal
 | 
			
		||||
  repo: docs/enterprise-router
 | 
			
		||||
 | 
			
		||||
@ -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:
 | 
			
		||||
- environment: internal
 | 
			
		||||
  repo: docs/host-security-service
 | 
			
		||||
 | 
			
		||||
@ -87,13 +87,10 @@ class Services(object):
 | 
			
		||||
            res.append(copy.deepcopy(cat))
 | 
			
		||||
        return res
 | 
			
		||||
 | 
			
		||||
    def services_by_category(self, category, environment=None):
 | 
			
		||||
    def services_by_category(self, category):
 | 
			
		||||
        """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
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user