Skip to content

Commit

Permalink
Add nodes for Firebase (#167)
Browse files Browse the repository at this point in the history
* Add nodes for Firebase

* Fix sort

* Fix position of configuration to keep order consistency

* Fix class names
  • Loading branch information
zoeponta authored May 25, 2020
1 parent c17bf1e commit f8ba6a8
Show file tree
Hide file tree
Showing 33 changed files with 344 additions and 138 deletions.
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
9 changes: 8 additions & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
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 #
Expand All @@ -29,6 +29,7 @@
"aws": ("Amazon-", "AWS-"),
"azure": ("Azure-",),
"gcp": ("Cloud-",),
"firebase": ("Cloud-",),
"k8s": (),
"alibabacloud": (),
"oci": ("OCI-",),
Expand All @@ -51,6 +52,7 @@
"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",
Expand Down Expand Up @@ -234,6 +236,11 @@
"Storage": "GCS",
},
},
"firebase": {
"grow": {
"Messaging": "FCM"
}
},
"k8s": {
"clusterconfig": {
"Limits": "LimitRange",
Expand Down
15 changes: 15 additions & 0 deletions diagrams/firebase/base.py
Original file line number Diff line number Diff line change
@@ -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 changes: 39 additions & 0 deletions diagrams/firebase/develop.py
Original file line number Diff line number Diff line change
@@ -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 changes: 15 additions & 0 deletions diagrams/firebase/extentions.py
Original file line number Diff line number Diff line change
@@ -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 changes: 45 additions & 0 deletions diagrams/firebase/grow.py
Original file line number Diff line number Diff line change
@@ -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 changes: 31 additions & 0 deletions diagrams/firebase/quality.py
Original file line number Diff line number Diff line change
@@ -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
Loading

0 comments on commit f8ba6a8

Please sign in to comment.