Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nodes for Firebase #167

Merged
merged 4 commits into from
May 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -233,6 +235,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