pull/1040/merge
JOO HWAN SEOK 8 months ago committed by GitHub
commit 45f12f7088
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -20,6 +20,7 @@ providers=(
"generic"
"openstack"
"outscale"
"snowflake"
)
if ! [ -x "$(command -v round)" ]; then

@ -29,6 +29,7 @@ PROVIDERS = (
"generic",
"openstack",
"outscale",
"snowflake",
)
#########################
@ -59,6 +60,7 @@ FILE_PREFIXES = {
"outscale": (),
"generic": (),
"openstack": (),
"snowflake": (),
}
#########################
@ -87,8 +89,9 @@ UPPER_WORDS = {
"generic": ("vpn", "ios", "xen", "sql", "lxc"),
"outscale": ("osc",),
"openstack": ("rpm", "loci", "nfv", "ec2api"),
"pve": ("pve"),
"ibm": ("ibm"),
"pve": ("pve",),
"ibm": ("ibm",),
"snowflake": ("sn",),
}
TITLE_WORDS = {
@ -110,6 +113,9 @@ TITLE_WORDS = {
"ibm": {
"ibm": "IBMCloud"
},
"snowflake": {
"snowflake": "Snowflake"
}
}
# TODO: check if the classname exists
@ -473,4 +479,5 @@ ALIASES = {
"Tripleo": "TripleO",
}
},
"snowflake": {},
}

@ -0,0 +1,12 @@
"""
Saas provides a set of general saas services.
"""
from diagrams import Node
class _Snowflake(Node):
_provider = "snowflake"
_icon_dir = "resources/snowflake"
fontcolor = "#ffffff"

@ -0,0 +1,43 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _Snowflake
class _Bugworkload(_Snowflake):
_type = "bugworkload"
_icon_dir = "resources/snowflake/bugworkload"
class AiMl(_Bugworkload):
_icon = "ai-ml.png"
class Applications(_Bugworkload):
_icon = "applications.png"
class Collaboration(_Bugworkload):
_icon = "collaboration.png"
class Cybersecurity(_Bugworkload):
_icon = "cybersecurity.png"
class DataEngineering(_Bugworkload):
_icon = "data-engineering.png"
class DataLake(_Bugworkload):
_icon = "data-lake.png"
class DataWarehouse(_Bugworkload):
_icon = "data-warehouse.png"
class Unistore(_Bugworkload):
_icon = "unistore.png"
# Aliases

@ -0,0 +1,43 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _Snowflake
class _Workload(_Snowflake):
_type = "workload"
_icon_dir = "resources/snowflake/workload"
class AiMl(_Workload):
_icon = "ai-ml.png"
class Applications(_Workload):
_icon = "applications.png"
class Collaboration(_Workload):
_icon = "collaboration.png"
class Cybersecurity(_Workload):
_icon = "cybersecurity.png"
class DataEngineering(_Workload):
_icon = "data-engineering.png"
class DataLake(_Workload):
_icon = "data-lake.png"
class DataWarehouse(_Workload):
_icon = "data-warehouse.png"
class Unistore(_Workload):
_icon = "unistore.png"
# Aliases

@ -0,0 +1,60 @@
---
id: snowflake
title: Snowflake
---
Node classes list of the snowflake provider.
## snowflake.bugworkload
<img width="30" src="/img/resources/snowflake/bugworkload/ai-ml.png" alt="AiMl" style="float: left; padding-right: 5px;" >
**diagrams.snowflake.bugworkload.AiMl**
<img width="30" src="/img/resources/snowflake/bugworkload/applications.png" alt="Applications" style="float: left; padding-right: 5px;" >
**diagrams.snowflake.bugworkload.Applications**
<img width="30" src="/img/resources/snowflake/bugworkload/collaboration.png" alt="Collaboration" style="float: left; padding-right: 5px;" >
**diagrams.snowflake.bugworkload.Collaboration**
<img width="30" src="/img/resources/snowflake/bugworkload/cybersecurity.png" alt="Cybersecurity" style="float: left; padding-right: 5px;" >
**diagrams.snowflake.bugworkload.Cybersecurity**
<img width="30" src="/img/resources/snowflake/bugworkload/data-engineering.png" alt="DataEngineering" style="float: left; padding-right: 5px;" >
**diagrams.snowflake.bugworkload.DataEngineering**
<img width="30" src="/img/resources/snowflake/bugworkload/data-lake.png" alt="DataLake" style="float: left; padding-right: 5px;" >
**diagrams.snowflake.bugworkload.DataLake**
<img width="30" src="/img/resources/snowflake/bugworkload/data-warehouse.png" alt="DataWarehouse" style="float: left; padding-right: 5px;" >
**diagrams.snowflake.bugworkload.DataWarehouse**
<img width="30" src="/img/resources/snowflake/bugworkload/unistore.png" alt="Unistore" style="float: left; padding-right: 5px;" >
**diagrams.snowflake.bugworkload.Unistore**
## snowflake.workload
<img width="30" src="/img/resources/snowflake/workload/ai-ml.png" alt="AiMl" style="float: left; padding-right: 5px;" >
**diagrams.snowflake.workload.AiMl**
<img width="30" src="/img/resources/snowflake/workload/applications.png" alt="Applications" style="float: left; padding-right: 5px;" >
**diagrams.snowflake.workload.Applications**
<img width="30" src="/img/resources/snowflake/workload/collaboration.png" alt="Collaboration" style="float: left; padding-right: 5px;" >
**diagrams.snowflake.workload.Collaboration**
<img width="30" src="/img/resources/snowflake/workload/cybersecurity.png" alt="Cybersecurity" style="float: left; padding-right: 5px;" >
**diagrams.snowflake.workload.Cybersecurity**
<img width="30" src="/img/resources/snowflake/workload/data-engineering.png" alt="DataEngineering" style="float: left; padding-right: 5px;" >
**diagrams.snowflake.workload.DataEngineering**
<img width="30" src="/img/resources/snowflake/workload/data-lake.png" alt="DataLake" style="float: left; padding-right: 5px;" >
**diagrams.snowflake.workload.DataLake**
<img width="30" src="/img/resources/snowflake/workload/data-warehouse.png" alt="DataWarehouse" style="float: left; padding-right: 5px;" >
**diagrams.snowflake.workload.DataWarehouse**
<img width="30" src="/img/resources/snowflake/workload/unistore.png" alt="Unistore" style="float: left; padding-right: 5px;" >
**diagrams.snowflake.workload.Unistore**

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

@ -70,6 +70,8 @@ def gen_apidoc(pvd: str, typ_paths: dict) -> str:
def make_module(pvd: str, typ: str, classes: str) -> None:
"""Create a module file"""
mod_path = os.path.join(app_root_dir(pvd), f"{typ}.py")
os.makedirs(os.path.dirname(mod_path), exist_ok=True)
with open(mod_path, "w+") as f:
f.write(classes)

@ -137,6 +137,10 @@ def cleaner_openstack(f):
return f.lower()
def cleaner_snowflake(f):
return f.lower()
cleaners = {
"onprem": cleaner_onprem,
"aws": cleaner_aws,
@ -154,6 +158,7 @@ cleaners = {
"outscale": cleaner_outscale,
"generic": cleaner_generic,
"openstack": cleaner_openstack,
"snowflake": cleaner_snowflake,
}

@ -76,6 +76,9 @@
},
"nodes/saas": {
"title": "Saas"
},
"nodes/snowflake": {
"title": "Snowflake"
}
},
"links": {

@ -24,6 +24,7 @@
"nodes/digitalocean",
"nodes/elastic",
"nodes/outscale",
"nodes/snowflake",
"nodes/generic",
"nodes/programming",
"nodes/saas",

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Loading…
Cancel
Save