Compare commits
	
		
			16 Commits
		
	
	
		
			aom2_add
			...
			apm-public
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 64dc52394c | |||
| 4b682040fc | |||
| 233afc5d06 | |||
| f217cafb1b | |||
| 663cfbed75 | |||
| c7487fc72e | |||
| 482da3c6a3 | |||
| 43bbbe9e58 | |||
| fdd17acc16 | |||
| 59a2ba8137 | |||
| 2275b9ddfd | |||
| ac79a500b4 | |||
| 90a9117b8d | |||
| 61f2419fab | |||
| 516716bf33 | |||
| a3b9946169 | 
							
								
								
									
										10
									
								
								otc_metadata/data/documents/apig-dev.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								otc_metadata/data/documents/apig-dev.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,10 @@
 | 
				
			|||||||
 | 
					---
 | 
				
			||||||
 | 
					environment: hidden
 | 
				
			||||||
 | 
					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
 | 
				
			||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
environment: internal
 | 
					environment: public
 | 
				
			||||||
hc_location: usermanual/apm
 | 
					hc_location: usermanual/apm
 | 
				
			||||||
html_location: docs/apm/umn
 | 
					html_location: docs/apm/umn
 | 
				
			||||||
link: /application-performance-management/umn/
 | 
					link: /application-performance-management/umn/
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										10
									
								
								otc_metadata/data/documents/asm-api-ref.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								otc_metadata/data/documents/asm-api-ref.yaml
									
									
									
									
									
										Normal 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
 | 
				
			||||||
							
								
								
									
										10
									
								
								otc_metadata/data/documents/asm-best-practice.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								otc_metadata/data/documents/asm-best-practice.yaml
									
									
									
									
									
										Normal 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
 | 
				
			||||||
							
								
								
									
										10
									
								
								otc_metadata/data/documents/asm-umn.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								otc_metadata/data/documents/asm-umn.yaml
									
									
									
									
									
										Normal 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
 | 
				
			||||||
							
								
								
									
										10
									
								
								otc_metadata/data/documents/cfw-api-ref.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								otc_metadata/data/documents/cfw-api-ref.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,10 @@
 | 
				
			|||||||
 | 
					---
 | 
				
			||||||
 | 
					environment: internal
 | 
				
			||||||
 | 
					hc_location: api/cfw
 | 
				
			||||||
 | 
					html_location: docs/cfw/api-ref
 | 
				
			||||||
 | 
					link: /cloud-firewall/api-ref/
 | 
				
			||||||
 | 
					pdf_name: cfw-api-ref
 | 
				
			||||||
 | 
					rst_location: api-ref/source
 | 
				
			||||||
 | 
					service_type: cfw
 | 
				
			||||||
 | 
					title: API Reference
 | 
				
			||||||
 | 
					type: api-ref
 | 
				
			||||||
							
								
								
									
										10
									
								
								otc_metadata/data/documents/cfw-umn.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								otc_metadata/data/documents/cfw-umn.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,10 @@
 | 
				
			|||||||
 | 
					---
 | 
				
			||||||
 | 
					environment: internal
 | 
				
			||||||
 | 
					hc_location: usermanual/cfw
 | 
				
			||||||
 | 
					html_location: docs/cfw/umn
 | 
				
			||||||
 | 
					link: /cloud-firewall/umn/
 | 
				
			||||||
 | 
					pdf_name: cfw-umn
 | 
				
			||||||
 | 
					rst_location: umn/source
 | 
				
			||||||
 | 
					service_type: cfw
 | 
				
			||||||
 | 
					title: User Guide
 | 
				
			||||||
 | 
					type: umn
 | 
				
			||||||
@ -1,6 +1,6 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
hc_location: api/ddm
 | 
					hc_location: api/ddm
 | 
				
			||||||
environment: internal
 | 
					environment: public
 | 
				
			||||||
html_location: docs/ddm/api-ref
 | 
					html_location: docs/ddm/api-ref
 | 
				
			||||||
link: /distributed-database-middleware/api-ref/
 | 
					link: /distributed-database-middleware/api-ref/
 | 
				
			||||||
pdf_name: ddm-api-ref
 | 
					pdf_name: ddm-api-ref
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,6 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
hc_location: usermanual/ddm
 | 
					hc_location: usermanual/ddm
 | 
				
			||||||
environment: internal
 | 
					environment: public
 | 
				
			||||||
html_location: docs/ddm/umn
 | 
					html_location: docs/ddm/umn
 | 
				
			||||||
link: /distributed-database-middleware/umn/
 | 
					link: /distributed-database-middleware/umn/
 | 
				
			||||||
pdf_name: ddm-umn
 | 
					pdf_name: ddm-umn
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,4 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
environment: internal
 | 
					 | 
				
			||||||
hc_location: devg/dli
 | 
					hc_location: devg/dli
 | 
				
			||||||
html_location: docs/dli/dev
 | 
					html_location: docs/dli/dev
 | 
				
			||||||
link: /data-lake-insight/dev-guide/
 | 
					link: /data-lake-insight/dev-guide/
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,5 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
hc_location: api/er
 | 
					hc_location: api/er
 | 
				
			||||||
environment: internal
 | 
					 | 
				
			||||||
html_location: docs/er/api-ref
 | 
					html_location: docs/er/api-ref
 | 
				
			||||||
link: /enterprise-router/api-ref/
 | 
					link: /enterprise-router/api-ref/
 | 
				
			||||||
pdf_name: er-api-ref
 | 
					pdf_name: er-api-ref
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,5 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
hc_location: usermanual/er
 | 
					hc_location: usermanual/er
 | 
				
			||||||
environment: internal
 | 
					 | 
				
			||||||
html_location: docs/er/umn
 | 
					html_location: docs/er/umn
 | 
				
			||||||
link: /enterprise-router/umn/
 | 
					link: /enterprise-router/umn/
 | 
				
			||||||
pdf_name: er-umn
 | 
					pdf_name: er-umn
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										10
									
								
								otc_metadata/data/documents/geminidb-api-ref.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								otc_metadata/data/documents/geminidb-api-ref.yaml
									
									
									
									
									
										Normal 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
 | 
				
			||||||
							
								
								
									
										10
									
								
								otc_metadata/data/documents/geminidb-umn.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								otc_metadata/data/documents/geminidb-umn.yaml
									
									
									
									
									
										Normal 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
 | 
				
			||||||
@ -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
 | 
				
			||||||
 | 
				
			|||||||
@ -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
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
hc_location: api/ma
 | 
					hc_location: api/modelarts
 | 
				
			||||||
html_location: docs/modelarts/api-ref
 | 
					html_location: docs/modelarts/api-ref
 | 
				
			||||||
link: /modelarts/api-ref/
 | 
					link: /modelarts/api-ref/
 | 
				
			||||||
pdf_name: ma-api-ref
 | 
					pdf_name: ma-api-ref
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
hc_location: sdk/ma
 | 
					hc_location: sdk/modelarts
 | 
				
			||||||
html_location: docs/modelarts/sdk-ref
 | 
					html_location: docs/modelarts/sdk-ref
 | 
				
			||||||
link: /modelarts/sdk-ref/
 | 
					link: /modelarts/sdk-ref/
 | 
				
			||||||
pdf_name: ma-sdk-ref
 | 
					pdf_name: ma-sdk-ref
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
hc_location: usermanual/ma
 | 
					hc_location: usermanual/modelarts
 | 
				
			||||||
html_location: docs/modelarts/umn
 | 
					html_location: docs/modelarts/umn
 | 
				
			||||||
link: /modelarts/umn/
 | 
					link: /modelarts/umn/
 | 
				
			||||||
pdf_name: ma-umn
 | 
					pdf_name: ma-umn
 | 
				
			||||||
 | 
				
			|||||||
@ -1,3 +1,3 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
name: compute
 | 
					name: compute
 | 
				
			||||||
title: Compute
 | 
					title: Computing
 | 
				
			||||||
 | 
				
			|||||||
@ -12,7 +12,5 @@ service_title: API Gateway (APIG)
 | 
				
			|||||||
service_type: apig
 | 
					service_type: apig
 | 
				
			||||||
service_uri: api-gateway
 | 
					service_uri: api-gateway
 | 
				
			||||||
teams:
 | 
					teams:
 | 
				
			||||||
- name: docs-bigdata-ai-rw
 | 
					 | 
				
			||||||
  permission: write
 | 
					 | 
				
			||||||
- name: docs-orchestration-rw
 | 
					- name: docs-orchestration-rw
 | 
				
			||||||
  permission: write
 | 
					  permission: write
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
environment: internal
 | 
					environment: public
 | 
				
			||||||
repositories:
 | 
					repositories:
 | 
				
			||||||
- environment: internal
 | 
					- environment: internal
 | 
				
			||||||
  repo: docs/application-performance-management
 | 
					  repo: docs/application-performance-management
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										16
									
								
								otc_metadata/data/services/asm.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								otc_metadata/data/services/asm.yaml
									
									
									
									
									
										Normal 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
 | 
				
			||||||
							
								
								
									
										16
									
								
								otc_metadata/data/services/cfw.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								otc_metadata/data/services/cfw.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,16 @@
 | 
				
			|||||||
 | 
					---
 | 
				
			||||||
 | 
					environment: internal
 | 
				
			||||||
 | 
					repositories:
 | 
				
			||||||
 | 
					- environment: internal
 | 
				
			||||||
 | 
					  repo: docs/cloud-firewall
 | 
				
			||||||
 | 
					  type: gitea
 | 
				
			||||||
 | 
					- environment: public
 | 
				
			||||||
 | 
					  repo: opentelekomcloud-docs/cloud-firewall
 | 
				
			||||||
 | 
					  type: github
 | 
				
			||||||
 | 
					service_category: security-services
 | 
				
			||||||
 | 
					service_title: Cloud Firewall
 | 
				
			||||||
 | 
					service_type: cfw
 | 
				
			||||||
 | 
					service_uri: cloud-firewall
 | 
				
			||||||
 | 
					teams:
 | 
				
			||||||
 | 
					- name: docs-security-services-rw
 | 
				
			||||||
 | 
					  permission: write
 | 
				
			||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
environment: internal
 | 
					environment: public
 | 
				
			||||||
repositories:
 | 
					repositories:
 | 
				
			||||||
- environment: internal
 | 
					- environment: internal
 | 
				
			||||||
  repo: docs/distributed-database-middleware
 | 
					  repo: docs/distributed-database-middleware
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
environment: internal
 | 
					environment: public
 | 
				
			||||||
repositories:
 | 
					repositories:
 | 
				
			||||||
- environment: internal
 | 
					- environment: internal
 | 
				
			||||||
  repo: docs/enterprise-router
 | 
					  repo: docs/enterprise-router
 | 
				
			||||||
 | 
				
			|||||||
@ -12,5 +12,5 @@ service_title: FunctionGraph
 | 
				
			|||||||
service_type: fg
 | 
					service_type: fg
 | 
				
			||||||
service_uri: function-graph
 | 
					service_uri: function-graph
 | 
				
			||||||
teams:
 | 
					teams:
 | 
				
			||||||
- name: docs-container-rw
 | 
					- name: docs-orchestration-rw
 | 
				
			||||||
  permission: write
 | 
					  permission: write
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										16
									
								
								otc_metadata/data/services/geminidb.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								otc_metadata/data/services/geminidb.yaml
									
									
									
									
									
										Normal 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
 | 
				
			||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
environment: internal
 | 
					environment: public
 | 
				
			||||||
repositories:
 | 
					repositories:
 | 
				
			||||||
- environment: internal
 | 
					- environment: internal
 | 
				
			||||||
  repo: docs/host-security-service
 | 
					  repo: docs/host-security-service
 | 
				
			||||||
 | 
				
			|||||||
@ -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
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user