浏览代码

Add nodes for Firebase (#167)

* Add nodes for Firebase

* Fix sort

* Fix position of configuration to keep order consistency

* Fix class names
pull/173/head
Taro Kawazoe 4 年前
committed by GitHub
父节点
当前提交
f8ba6a8659
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 33 个文件被更改,包括 344 次插入138 次删除
  1. +1
    -1
      autogen.sh
  2. +8
    -1
      config.py
  3. +15
    -0
      diagrams/firebase/base.py
  4. +39
    -0
      diagrams/firebase/develop.py
  5. +15
    -0
      diagrams/firebase/extentions.py
  6. +45
    -0
      diagrams/firebase/grow.py
  7. +31
    -0
      diagrams/firebase/quality.py
  8. +135
    -135
      docs/nodes/azure.md
  9. +43
    -0
      docs/nodes/firebase.md
  10. +0
    -0
      resources/firebase/base/firebase.png
  11. +0
    -0
      resources/firebase/develop/authentication.png
  12. +0
    -0
      resources/firebase/develop/firestore.png
  13. +0
    -0
      resources/firebase/develop/functions.png
  14. +0
    -0
      resources/firebase/develop/hosting.png
  15. +0
    -0
      resources/firebase/develop/ml-kit.png
  16. +0
    -0
      resources/firebase/develop/realtime-database.png
  17. +0
    -0
      resources/firebase/develop/storage.png
  18. +0
    -0
      resources/firebase/extentions/extensions.png
  19. +0
    -0
      resources/firebase/grow/ab-testing.png
  20. +0
    -0
      resources/firebase/grow/app-indexing.png
  21. +0
    -0
      resources/firebase/grow/dynamic-links.png
  22. +0
    -0
      resources/firebase/grow/in-app-messaging.png
  23. +0
    -0
      resources/firebase/grow/invites.png
  24. +0
    -0
      resources/firebase/grow/messaging.png
  25. +0
    -0
      resources/firebase/grow/predictions.png
  26. +0
    -0
      resources/firebase/grow/remote-config.png
  27. +0
    -0
      resources/firebase/quality/app-distribution.png
  28. +0
    -0
      resources/firebase/quality/crash-reporting.png
  29. +0
    -0
      resources/firebase/quality/crashlytics.png
  30. +0
    -0
      resources/firebase/quality/performance-monitoring.png
  31. +0
    -0
      resources/firebase/quality/test-lab.png
  32. +1
    -1
      scripts/generate.py
  33. +11
    -0
      scripts/resource.py

+ 1
- 1
autogen.sh 查看文件

@@ -4,7 +4,7 @@ set -e
app_root_dir="diagrams"

# NOTE: azure icon set is not latest version
providers=("onprem" "aws" "azure" "gcp" "k8s" "alibabacloud" "oci" "programming")
providers=("onprem" "aws" "azure" "gcp" "firebase" "k8s" "alibabacloud" "oci" "programming")

if ! [ -x "$(command -v round)" ]; then
echo 'round is not installed'


+ 8
- 1
config.py 查看文件

@@ -11,7 +11,7 @@ DIR_APP_ROOT = "diagrams"
DIR_RESOURCE = "resources"
DIR_TEMPLATE = "templates"

PROVIDERS = ("base", "onprem", "aws", "azure", "gcp", "k8s", "alibabacloud", "oci", "programming")
PROVIDERS = ("base", "onprem", "aws", "azure", "gcp", "firebase", "k8s", "alibabacloud", "oci", "programming")

#########################
# Resource Processing #
@@ -29,6 +29,7 @@ FILE_PREFIXES = {
"aws": ("Amazon-", "AWS-"),
"azure": ("Azure-",),
"gcp": ("Cloud-",),
"firebase": ("Cloud-",),
"k8s": (),
"alibabacloud": (),
"oci": ("OCI-",),
@@ -51,6 +52,7 @@ UPPER_WORDS = {
"aws": ("aws", "api", "ebs", "ec2", "efs", "emr", "rds", "ml", "mq", "nat", "vpc", "waf", "sdk"),
"azure": ("ad", "b2c", "ai", "api", "cdn", "ddos", "dns", "fxt", "hana", "hd", "id", "sap", "sql", "vm"),
"gcp": ("gcp", "ai", "api", "cdn", "dns", "gke", "gpu", "iap", "ml", "nat", "os", "sdk", "sql", "tpu", "vpn"),
"firebase": ("ab", "fcm", "ml"),
"k8s": (
"api", "cm", "ccm", "crb", "crd", "ds", "etcd", "hpa", "k8s", "ns", "psp", "pv", "pvc", "rb", "rs",
"sa", "sc", "sts", "svc",
@@ -234,6 +236,11 @@ ALIASES = {
"Storage": "GCS",
},
},
"firebase": {
"grow": {
"Messaging": "FCM"
}
},
"k8s": {
"clusterconfig": {
"Limits": "LimitRange",


+ 15
- 0
diagrams/firebase/base.py 查看文件

@@ -0,0 +1,15 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.

from . import _Firebase


class _Base(_Firebase):
_type = "base"
_icon_dir = "resources/firebase/base"


class Firebase(_Base):
_icon = "firebase.png"


# Aliases

+ 39
- 0
diagrams/firebase/develop.py 查看文件

@@ -0,0 +1,39 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.

from . import _Firebase


class _Develop(_Firebase):
_type = "develop"
_icon_dir = "resources/firebase/develop"


class Authentication(_Develop):
_icon = "authentication.png"


class Firestore(_Develop):
_icon = "firestore.png"


class Functions(_Develop):
_icon = "functions.png"


class Hosting(_Develop):
_icon = "hosting.png"


class MLKit(_Develop):
_icon = "ml-kit.png"


class RealtimeDatabase(_Develop):
_icon = "realtime-database.png"


class Storage(_Develop):
_icon = "storage.png"


# Aliases

+ 15
- 0
diagrams/firebase/extentions.py 查看文件

@@ -0,0 +1,15 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.

from . import _Firebase


class _Extentions(_Firebase):
_type = "extentions"
_icon_dir = "resources/firebase/extentions"


class Extensions(_Extentions):
_icon = "extensions.png"


# Aliases

+ 45
- 0
diagrams/firebase/grow.py 查看文件

@@ -0,0 +1,45 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.

from . import _Firebase


class _Grow(_Firebase):
_type = "grow"
_icon_dir = "resources/firebase/grow"


class ABTesting(_Grow):
_icon = "ab-testing.png"


class AppIndexing(_Grow):
_icon = "app-indexing.png"


class DynamicLinks(_Grow):
_icon = "dynamic-links.png"


class InAppMessaging(_Grow):
_icon = "in-app-messaging.png"


class Invites(_Grow):
_icon = "invites.png"


class Messaging(_Grow):
_icon = "messaging.png"


class Predictions(_Grow):
_icon = "predictions.png"


class RemoteConfig(_Grow):
_icon = "remote-config.png"


# Aliases

FCM = Messaging

+ 31
- 0
diagrams/firebase/quality.py 查看文件

@@ -0,0 +1,31 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.

from . import _Firebase


class _Quality(_Firebase):
_type = "quality"
_icon_dir = "resources/firebase/quality"


class AppDistribution(_Quality):
_icon = "app-distribution.png"


class CrashReporting(_Quality):
_icon = "crash-reporting.png"


class Crashlytics(_Quality):
_icon = "crashlytics.png"


class PerformanceMonitoring(_Quality):
_icon = "performance-monitoring.png"


class TestLab(_Quality):
_icon = "test-lab.png"


# Aliases

+ 135
- 135
docs/nodes/azure.md 查看文件

@@ -5,46 +5,42 @@ title: Azure

Node classes list of azure provider.

## azure.mobile

- **diagrams.azure.mobile.AppServiceMobile**
- **diagrams.azure.mobile.MobileEngagement**
- **diagrams.azure.mobile.NotificationHubs**

## azure.identity
## azure.analytics

- **diagrams.azure.identity.AccessReview**
- **diagrams.azure.identity.ActiveDirectoryConnectHealth**
- **diagrams.azure.identity.ActiveDirectory**
- **diagrams.azure.identity.ADB2C**
- **diagrams.azure.identity.ADDomainServices**
- **diagrams.azure.identity.ADIdentityProtection**
- **diagrams.azure.identity.ADPrivilegedIdentityManagement**
- **diagrams.azure.identity.AppRegistrations**
- **diagrams.azure.identity.ConditionalAccess**
- **diagrams.azure.identity.EnterpriseApplications**
- **diagrams.azure.identity.IdentityGovernance**
- **diagrams.azure.identity.InformationProtection**
- **diagrams.azure.identity.ManagedIdentities**
- **diagrams.azure.analytics.AnalysisServices**
- **diagrams.azure.analytics.DataExplorerClusters**
- **diagrams.azure.analytics.DataFactories**
- **diagrams.azure.analytics.DataLakeAnalytics**
- **diagrams.azure.analytics.DataLakeStoreGen1**
- **diagrams.azure.analytics.Databricks**
- **diagrams.azure.analytics.EventHubClusters**
- **diagrams.azure.analytics.EventHubs**
- **diagrams.azure.analytics.Hdinsightclusters**
- **diagrams.azure.analytics.LogAnalyticsWorkspaces**
- **diagrams.azure.analytics.StreamAnalyticsJobs**

## azure.storage
## azure.compute

- **diagrams.azure.storage.ArchiveStorage**
- **diagrams.azure.storage.Azurefxtedgefiler**
- **diagrams.azure.storage.BlobStorage**
- **diagrams.azure.storage.DataBoxEdgeDataBoxGateway**
- **diagrams.azure.storage.DataBox**
- **diagrams.azure.storage.DataLakeStorage**
- **diagrams.azure.storage.GeneralStorage**
- **diagrams.azure.storage.NetappFiles**
- **diagrams.azure.storage.QueuesStorage**
- **diagrams.azure.storage.StorageAccountsClassic**
- **diagrams.azure.storage.StorageAccounts**
- **diagrams.azure.storage.StorageExplorer**
- **diagrams.azure.storage.StorageSyncServices**
- **diagrams.azure.storage.StorsimpleDataManagers**
- **diagrams.azure.storage.StorsimpleDeviceManagers**
- **diagrams.azure.storage.TableStorage**
- **diagrams.azure.compute.AvailabilitySets**
- **diagrams.azure.compute.BatchAccounts**
- **diagrams.azure.compute.CitrixVirtualDesktopsEssentials**
- **diagrams.azure.compute.CloudServicesClassic**
- **diagrams.azure.compute.CloudServices**
- **diagrams.azure.compute.CloudsimpleVirtualMachines**
- **diagrams.azure.compute.ContainerInstances**
- **diagrams.azure.compute.ContainerRegistries**, **ACR** (alias)
- **diagrams.azure.compute.DiskSnapshots**
- **diagrams.azure.compute.Disks**
- **diagrams.azure.compute.FunctionApps**
- **diagrams.azure.compute.KubernetesServices**, **AKS** (alias)
- **diagrams.azure.compute.MeshApplications**
- **diagrams.azure.compute.SAPHANAOnAzure**
- **diagrams.azure.compute.ServiceFabricClusters**
- **diagrams.azure.compute.VMClassic**
- **diagrams.azure.compute.VMImages**
- **diagrams.azure.compute.VMLinux**
- **diagrams.azure.compute.VMWindows**
- **diagrams.azure.compute.VM**

## azure.database

@@ -77,31 +73,50 @@ Node classes list of azure provider.
- **diagrams.azure.devops.Repos**
- **diagrams.azure.devops.TestPlans**

## azure.web
## azure.general

- **diagrams.azure.web.APIConnections**
- **diagrams.azure.web.AppServiceCertificates**
- **diagrams.azure.web.AppServiceDomains**
- **diagrams.azure.web.AppServiceEnvironments**
- **diagrams.azure.web.AppServicePlans**
- **diagrams.azure.web.AppServices**
- **diagrams.azure.web.MediaServices**
- **diagrams.azure.web.NotificationHubNamespaces**
- **diagrams.azure.web.Search**
- **diagrams.azure.web.Signalr**
- **diagrams.azure.general.Allresources**
- **diagrams.azure.general.Azurehome**
- **diagrams.azure.general.Developertools**
- **diagrams.azure.general.Helpsupport**
- **diagrams.azure.general.Information**
- **diagrams.azure.general.Managementgroups**
- **diagrams.azure.general.Marketplace**
- **diagrams.azure.general.Quickstartcenter**
- **diagrams.azure.general.Recent**
- **diagrams.azure.general.Reservations**
- **diagrams.azure.general.Resource**
- **diagrams.azure.general.Resourcegroups**
- **diagrams.azure.general.Servicehealth**
- **diagrams.azure.general.Shareddashboard**
- **diagrams.azure.general.Subscriptions**
- **diagrams.azure.general.Support**
- **diagrams.azure.general.Supportrequests**
- **diagrams.azure.general.Tag**
- **diagrams.azure.general.Tags**
- **diagrams.azure.general.Templates**
- **diagrams.azure.general.Twousericon**
- **diagrams.azure.general.Userhealthicon**
- **diagrams.azure.general.Usericon**
- **diagrams.azure.general.Userprivacy**
- **diagrams.azure.general.Userresource**
- **diagrams.azure.general.Whatsnew**

## azure.iot
## azure.identity

- **diagrams.azure.iot.DeviceProvisioningServices**
- **diagrams.azure.iot.DigitalTwins**
- **diagrams.azure.iot.IotCentralApplications**
- **diagrams.azure.iot.IotHubSecurity**
- **diagrams.azure.iot.IotHub**
- **diagrams.azure.iot.Maps**
- **diagrams.azure.iot.Sphere**
- **diagrams.azure.iot.TimeSeriesInsightsEnvironments**
- **diagrams.azure.iot.TimeSeriesInsightsEventsSources**
- **diagrams.azure.iot.Windows10IotCoreServices**
- **diagrams.azure.identity.AccessReview**
- **diagrams.azure.identity.ActiveDirectoryConnectHealth**
- **diagrams.azure.identity.ActiveDirectory**
- **diagrams.azure.identity.ADB2C**
- **diagrams.azure.identity.ADDomainServices**
- **diagrams.azure.identity.ADIdentityProtection**
- **diagrams.azure.identity.ADPrivilegedIdentityManagement**
- **diagrams.azure.identity.AppRegistrations**
- **diagrams.azure.identity.ConditionalAccess**
- **diagrams.azure.identity.EnterpriseApplications**
- **diagrams.azure.identity.IdentityGovernance**
- **diagrams.azure.identity.InformationProtection**
- **diagrams.azure.identity.ManagedIdentities**

## azure.integration

@@ -123,6 +138,25 @@ Node classes list of azure provider.
- **diagrams.azure.integration.SoftwareAsAService**
- **diagrams.azure.integration.StorsimpleDeviceManagers**

## azure.iot

- **diagrams.azure.iot.DeviceProvisioningServices**
- **diagrams.azure.iot.DigitalTwins**
- **diagrams.azure.iot.IotCentralApplications**
- **diagrams.azure.iot.IotHubSecurity**
- **diagrams.azure.iot.IotHub**
- **diagrams.azure.iot.Maps**
- **diagrams.azure.iot.Sphere**
- **diagrams.azure.iot.TimeSeriesInsightsEnvironments**
- **diagrams.azure.iot.TimeSeriesInsightsEventsSources**
- **diagrams.azure.iot.Windows10IotCoreServices**

## azure.migration

- **diagrams.azure.migration.DatabaseMigrationServices**
- **diagrams.azure.migration.MigrationProjects**
- **diagrams.azure.migration.RecoveryServicesVaults**

## azure.ml

- **diagrams.azure.ml.BatchAI**
@@ -134,83 +168,11 @@ Node classes list of azure provider.
- **diagrams.azure.ml.MachineLearningStudioWebServices**
- **diagrams.azure.ml.MachineLearningStudioWorkspaces**

## azure.migration

- **diagrams.azure.migration.DatabaseMigrationServices**
- **diagrams.azure.migration.MigrationProjects**
- **diagrams.azure.migration.RecoveryServicesVaults**

## azure.analytics

- **diagrams.azure.analytics.AnalysisServices**
- **diagrams.azure.analytics.DataExplorerClusters**
- **diagrams.azure.analytics.DataFactories**
- **diagrams.azure.analytics.DataLakeAnalytics**
- **diagrams.azure.analytics.DataLakeStoreGen1**
- **diagrams.azure.analytics.Databricks**
- **diagrams.azure.analytics.EventHubClusters**
- **diagrams.azure.analytics.EventHubs**
- **diagrams.azure.analytics.Hdinsightclusters**
- **diagrams.azure.analytics.LogAnalyticsWorkspaces**
- **diagrams.azure.analytics.StreamAnalyticsJobs**

## azure.security

- **diagrams.azure.security.KeyVaults**
- **diagrams.azure.security.SecurityCenter**
- **diagrams.azure.security.Sentinel**

## azure.general

- **diagrams.azure.general.Allresources**
- **diagrams.azure.general.Azurehome**
- **diagrams.azure.general.Developertools**
- **diagrams.azure.general.Helpsupport**
- **diagrams.azure.general.Information**
- **diagrams.azure.general.Managementgroups**
- **diagrams.azure.general.Marketplace**
- **diagrams.azure.general.Quickstartcenter**
- **diagrams.azure.general.Recent**
- **diagrams.azure.general.Reservations**
- **diagrams.azure.general.Resource**
- **diagrams.azure.general.Resourcegroups**
- **diagrams.azure.general.Servicehealth**
- **diagrams.azure.general.Shareddashboard**
- **diagrams.azure.general.Subscriptions**
- **diagrams.azure.general.Support**
- **diagrams.azure.general.Supportrequests**
- **diagrams.azure.general.Tag**
- **diagrams.azure.general.Tags**
- **diagrams.azure.general.Templates**
- **diagrams.azure.general.Twousericon**
- **diagrams.azure.general.Userhealthicon**
- **diagrams.azure.general.Usericon**
- **diagrams.azure.general.Userprivacy**
- **diagrams.azure.general.Userresource**
- **diagrams.azure.general.Whatsnew**

## azure.compute
## azure.mobile

- **diagrams.azure.compute.AvailabilitySets**
- **diagrams.azure.compute.BatchAccounts**
- **diagrams.azure.compute.CitrixVirtualDesktopsEssentials**
- **diagrams.azure.compute.CloudServicesClassic**
- **diagrams.azure.compute.CloudServices**
- **diagrams.azure.compute.CloudsimpleVirtualMachines**
- **diagrams.azure.compute.ContainerInstances**
- **diagrams.azure.compute.ContainerRegistries**, **ACR** (alias)
- **diagrams.azure.compute.DiskSnapshots**
- **diagrams.azure.compute.Disks**
- **diagrams.azure.compute.FunctionApps**
- **diagrams.azure.compute.KubernetesServices**, **AKS** (alias)
- **diagrams.azure.compute.MeshApplications**
- **diagrams.azure.compute.SAPHANAOnAzure**
- **diagrams.azure.compute.ServiceFabricClusters**
- **diagrams.azure.compute.VMClassic**
- **diagrams.azure.compute.VMImages**
- **diagrams.azure.compute.VMLinux**
- **diagrams.azure.compute.VMWindows**
- **diagrams.azure.compute.VM**
- **diagrams.azure.mobile.AppServiceMobile**
- **diagrams.azure.mobile.MobileEngagement**
- **diagrams.azure.mobile.NotificationHubs**

## azure.network

@@ -240,3 +202,41 @@ Node classes list of azure provider.
- **diagrams.azure.network.VirtualNetworkGateways**
- **diagrams.azure.network.VirtualNetworks**
- **diagrams.azure.network.VirtualWans**

## azure.security

- **diagrams.azure.security.KeyVaults**
- **diagrams.azure.security.SecurityCenter**
- **diagrams.azure.security.Sentinel**

## azure.storage

- **diagrams.azure.storage.ArchiveStorage**
- **diagrams.azure.storage.Azurefxtedgefiler**
- **diagrams.azure.storage.BlobStorage**
- **diagrams.azure.storage.DataBoxEdgeDataBoxGateway**
- **diagrams.azure.storage.DataBox**
- **diagrams.azure.storage.DataLakeStorage**
- **diagrams.azure.storage.GeneralStorage**
- **diagrams.azure.storage.NetappFiles**
- **diagrams.azure.storage.QueuesStorage**
- **diagrams.azure.storage.StorageAccountsClassic**
- **diagrams.azure.storage.StorageAccounts**
- **diagrams.azure.storage.StorageExplorer**
- **diagrams.azure.storage.StorageSyncServices**
- **diagrams.azure.storage.StorsimpleDataManagers**
- **diagrams.azure.storage.StorsimpleDeviceManagers**
- **diagrams.azure.storage.TableStorage**

## azure.web

- **diagrams.azure.web.APIConnections**
- **diagrams.azure.web.AppServiceCertificates**
- **diagrams.azure.web.AppServiceDomains**
- **diagrams.azure.web.AppServiceEnvironments**
- **diagrams.azure.web.AppServicePlans**
- **diagrams.azure.web.AppServices**
- **diagrams.azure.web.MediaServices**
- **diagrams.azure.web.NotificationHubNamespaces**
- **diagrams.azure.web.Search**
- **diagrams.azure.web.Signalr**

+ 43
- 0
docs/nodes/firebase.md 查看文件

@@ -0,0 +1,43 @@
---
id: firebase
title: Firebase
---

Node classes list of firebase provider.

## firebase.base

- **diagrams.firebase.base.Firebase**

## firebase.develop

- **diagrams.firebase.develop.Authentication**
- **diagrams.firebase.develop.Firestore**
- **diagrams.firebase.develop.Functions**
- **diagrams.firebase.develop.Hosting**
- **diagrams.firebase.develop.MLKit**
- **diagrams.firebase.develop.RealtimeDatabase**
- **diagrams.firebase.develop.Storage**

## firebase.extentions

- **diagrams.firebase.extentions.Extensions**

## firebase.grow

- **diagrams.firebase.grow.ABTesting**
- **diagrams.firebase.grow.AppIndexing**
- **diagrams.firebase.grow.DynamicLinks**
- **diagrams.firebase.grow.InAppMessaging**
- **diagrams.firebase.grow.Invites**
- **diagrams.firebase.grow.Messaging**, **FCM** (alias)
- **diagrams.firebase.grow.Predictions**
- **diagrams.firebase.grow.RemoteConfig**

## firebase.quality

- **diagrams.firebase.quality.AppDistribution**
- **diagrams.firebase.quality.CrashReporting**
- **diagrams.firebase.quality.Crashlytics**
- **diagrams.firebase.quality.PerformanceMonitoring**
- **diagrams.firebase.quality.TestLab**

resources/baas/firebase/firebase.png → resources/firebase/base/firebase.png 查看文件


resources/baas/firebase/authentication.png → resources/firebase/develop/authentication.png 查看文件


resources/baas/firebase/cloud-firestore.png → resources/firebase/develop/firestore.png 查看文件


resources/baas/firebase/cloud-functions.png → resources/firebase/develop/functions.png 查看文件


resources/baas/firebase/hosting.png → resources/firebase/develop/hosting.png 查看文件


resources/baas/firebase/ml-kit.png → resources/firebase/develop/ml-kit.png 查看文件


resources/baas/firebase/realtime-database.png → resources/firebase/develop/realtime-database.png 查看文件


resources/baas/firebase/cloud-storage.png → resources/firebase/develop/storage.png 查看文件


resources/baas/firebase/extensions.png → resources/firebase/extentions/extensions.png 查看文件


resources/baas/firebase/ab-testing.png → resources/firebase/grow/ab-testing.png 查看文件


resources/baas/firebase/app-indexing.png → resources/firebase/grow/app-indexing.png 查看文件


resources/baas/firebase/dynamic-links.png → resources/firebase/grow/dynamic-links.png 查看文件


resources/baas/firebase/in-app-messaging.png → resources/firebase/grow/in-app-messaging.png 查看文件


resources/baas/firebase/invites.png → resources/firebase/grow/invites.png 查看文件


resources/baas/firebase/cloud-messaging.png → resources/firebase/grow/messaging.png 查看文件


resources/baas/firebase/predictions.png → resources/firebase/grow/predictions.png 查看文件


resources/baas/firebase/remote-config.png → resources/firebase/grow/remote-config.png 查看文件


resources/baas/firebase/app-distribution.png → resources/firebase/quality/app-distribution.png 查看文件


resources/baas/firebase/crash-reporting.png → resources/firebase/quality/crash-reporting.png 查看文件


resources/baas/firebase/crashlytics.png → resources/firebase/quality/crashlytics.png 查看文件


resources/baas/firebase/performance-monitoring.png → resources/firebase/quality/performance-monitoring.png 查看文件


resources/baas/firebase/test-lab.png → resources/firebase/quality/test-lab.png 查看文件


+ 1
- 1
scripts/generate.py 查看文件

@@ -50,7 +50,7 @@ def gen_apidoc(pvd: str, typ_paths: dict) -> str:
return name

typ_classes = {}
for typ, paths in typ_paths.items():
for typ, paths in sorted(typ_paths.items()):
typ_classes[typ] = []
for name in map(_gen_class_name, paths):
alias = cfg.ALIASES[pvd].get(typ, {}).get(name)


+ 11
- 0
scripts/resource.py 查看文件

@@ -53,6 +53,16 @@ def cleaner_gcp(f):
return f.lower()


def cleaner_firebase(f):
f = f.replace("_", "-")
f = "-".join(f.split())
for p in cfg.FILE_PREFIXES["firebase"]:
if f.startswith(p):
f = f[len(p) :]
break
return f.lower()


def cleaner_k8s(f):
f = f.replace("-256", "")
for p in cfg.FILE_PREFIXES["k8s"]:
@@ -89,6 +99,7 @@ cleaners = {
"aws": cleaner_aws,
"azure": cleaner_azure,
"gcp": cleaner_gcp,
"firebase": cleaner_firebase,
"k8s": cleaner_k8s,
"alibabacloud": cleaner_alibabacloud,
"oci": cleaner_oci,


正在加载...
取消
保存