From 3b8a47766f846bc5d26f9a889e48a43ff4524310 Mon Sep 17 00:00:00 2001 From: mingrammer Date: Mon, 13 Jul 2020 22:37:59 +0900 Subject: [PATCH] feat(node): add generic.database.SQL --- config.py | 2 +- diagrams/generic/database.py | 15 +++++++++++++++ docs/nodes/generic.md | 4 ++++ resources/generic/database/sql.png | Bin 0 -> 3197 bytes 4 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 diagrams/generic/database.py create mode 100644 resources/generic/database/sql.png diff --git a/config.py b/config.py index f7f3173..81d206d 100644 --- a/config.py +++ b/config.py @@ -65,7 +65,7 @@ UPPER_WORDS = { ), "oci": ("oci", "ocid", "oke", "ocir", "ddos", "waf", "bm", "vm", "cdn", "vpn", "dns", "nat", "dms", "api", "id"), "elastic": ("apm", "siem", "ece", "eck"), - "generic": ("vpn", "ios", "xen"), + "generic": ("vpn", "ios", "xen", "sql"), "openstack": ("rpm", "loci", "nfv", "ec2api"), } diff --git a/diagrams/generic/database.py b/diagrams/generic/database.py new file mode 100644 index 0000000..eb54d4e --- /dev/null +++ b/diagrams/generic/database.py @@ -0,0 +1,15 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _Generic + + +class _Database(_Generic): + _type = "database" + _icon_dir = "resources/generic/database" + + +class SQL(_Database): + _icon = "sql.png" + + +# Aliases diff --git a/docs/nodes/generic.md b/docs/nodes/generic.md index ce9a5f2..785e141 100644 --- a/docs/nodes/generic.md +++ b/docs/nodes/generic.md @@ -13,6 +13,10 @@ Node classes list of generic provider. - **diagrams.generic.compute.Rack** +## generic.database + +- **diagrams.generic.database.SQL** + ## generic.device - **diagrams.generic.device.Mobile** diff --git a/resources/generic/database/sql.png b/resources/generic/database/sql.png new file mode 100644 index 0000000000000000000000000000000000000000..19bae99bc5087ccf1540861fe256259a35ba6f0f GIT binary patch literal 3197 zcmeHKYdBPE8(uRa?J3DuV`nE3TVEKJ(ZQCPNapZ~sEu*zup=pQs5H|sQDaLvGrPlQ zDkD)75;@J7i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