diff --git a/config.py b/config.py index f527ab6e..e9132d28 100644 --- a/config.py +++ b/config.py @@ -13,7 +13,7 @@ DIR_TEMPLATE = "templates" PROVIDERS = ( "base", "onprem", "aws", "azure", "digitalocean", "gcp", "ibm", "firebase", "k8s", "alibabacloud", "oci", - "programming", "saas", "elastic", "generic", "openstack", "outscale") + "programming", "saas", "elastic", "generic", "openstack", "outscale","splunk") ######################### # Resource Processing # @@ -38,6 +38,7 @@ FILE_PREFIXES = { "alibabacloud": (), "oci": ("OCI-icon-",), "programming": (), + "splunk": (), "saas": (), "elastic": (), "outscale": (), @@ -420,6 +421,17 @@ ALIASES = { "Typescript": "TypeScript" }, }, + "splunk": { + "framework": { + "Fastapi": "FastAPI" + }, + "language": { + "Javascript": "JavaScript", + "Nodejs": "NodeJS", + "Php": "PHP", + "Typescript": "TypeScript" + }, + }, "saas": { "logging": { "Datadog": "DataDog", diff --git a/diagrams/__init__.py b/diagrams/__init__.py index 1fb33db7..6a14ba44 100644 --- a/diagrams/__init__.py +++ b/diagrams/__init__.py @@ -281,7 +281,7 @@ class Node: _icon_dir = None _icon = None - _height = 1.9 + _height = 2.3 def __init__(self, label: str = "", **attrs: Dict): """Node represents a system component. diff --git a/diagrams/programming/framework.py b/diagrams/programming/framework.py index 64fd6397..fa268a08 100644 --- a/diagrams/programming/framework.py +++ b/diagrams/programming/framework.py @@ -20,6 +20,10 @@ class Django(_Framework): _icon = "django.png" + +class Splunk(_Framework): + _icon = "django.png" + class Ember(_Framework): _icon = "ember.png" diff --git a/diagrams/splunk/__init__.py b/diagrams/splunk/__init__.py new file mode 100644 index 00000000..dbc32e69 --- /dev/null +++ b/diagrams/splunk/__init__.py @@ -0,0 +1,12 @@ +""" +splunk provides a set of splunk languages and frameworks. +""" + +from diagrams import Node + + +class _Splunk(Node): + _provider = "splunk" + _icon_dir = "resources/splunk" + + fontcolor = "#ffffff" diff --git a/diagrams/splunk/cluster.py b/diagrams/splunk/cluster.py new file mode 100644 index 00000000..8432d2cb --- /dev/null +++ b/diagrams/splunk/cluster.py @@ -0,0 +1,98 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _Splunk + + +class _Cluster(_Splunk): + _type = "cluster" + _icon_dir = "resources/splunk/cluster" + +class app(_Cluster): + _icon = "app.png" + +class Deployer(_Cluster): + _icon = "deployer.png" + +class es(_Cluster): + _icon = "es.png" + +class forwarder(_Cluster): + _icon = "forwarder.png" + +class hec(_Cluster): + _icon = "hec.png" + +class license_master(_Cluster): + _icon = "license-master.png" + +class master_cluster_node(_Cluster): + _icon = "master-cluster-node.png" + +class router(_Cluster): + _icon = "router.png" + +class sh_cluster(_Cluster): + _icon = "sh-cluster.png" + +class systems_linux(_Cluster): + _icon = "systems-linux.png" + +class bucket(_Cluster): + _icon = "bucket.png" + +class deployment_server(_Cluster): + _icon = "deployment-server.png" + +class es_server(_Cluster): + _icon = "es-server.png" + +class heavy_forwader(_Cluster): + _icon = "heavy-forwader.png" + +class indexer(_Cluster): + _icon = "indexer.png" + +class license_server(_Cluster): + _icon = "license-server.png" + +class people(_Cluster): + _icon = "people.png" + +class search_head(_Cluster): + _icon = "search-head.png" + +class splunk_cloud(_Cluster): + _icon = "splunk-cloud.png" + +class systems(_Cluster): + _icon = "systems.png" + +class datastores(_Cluster): + _icon = "datastores.png" + +class desktop(_Cluster): + _icon = "desktop.png" + +class firewall(_Cluster): + _icon = "firewall.png" + +class heavy_forwarders(_Cluster): + _icon = "heavy-forwarders.png" + +class laptop(_Cluster): + _icon = "laptop.png" + +class log_file(_Cluster): + _icon = "log-file.png" + +class person(_Cluster): + _icon = "person.png" + +class search(_Cluster): + _icon = "search.png" + +class splunk_instance(_Cluster): + _icon = "splunk-instance.png" + +class systems_windows(_Cluster): + _icon = "systems-windows.png" \ No newline at end of file diff --git a/resources/splunk/cluster/app.png b/resources/splunk/cluster/app.png new file mode 100644 index 00000000..1466cdec Binary files /dev/null and b/resources/splunk/cluster/app.png differ diff --git a/resources/splunk/cluster/bucket.png b/resources/splunk/cluster/bucket.png new file mode 100644 index 00000000..a380efea Binary files /dev/null and b/resources/splunk/cluster/bucket.png differ diff --git a/resources/splunk/cluster/datastores.png b/resources/splunk/cluster/datastores.png new file mode 100644 index 00000000..66506735 Binary files /dev/null and b/resources/splunk/cluster/datastores.png differ diff --git a/resources/splunk/cluster/deployer.png b/resources/splunk/cluster/deployer.png new file mode 100644 index 00000000..dcdedb43 Binary files /dev/null and b/resources/splunk/cluster/deployer.png differ diff --git a/resources/splunk/cluster/deployment-server.png b/resources/splunk/cluster/deployment-server.png new file mode 100644 index 00000000..3e8c9fa2 Binary files /dev/null and b/resources/splunk/cluster/deployment-server.png differ diff --git a/resources/splunk/cluster/desktop.png b/resources/splunk/cluster/desktop.png new file mode 100644 index 00000000..df00f382 Binary files /dev/null and b/resources/splunk/cluster/desktop.png differ diff --git a/resources/splunk/cluster/es-server.png b/resources/splunk/cluster/es-server.png new file mode 100644 index 00000000..784f734a Binary files /dev/null and b/resources/splunk/cluster/es-server.png differ diff --git a/resources/splunk/cluster/es.png b/resources/splunk/cluster/es.png new file mode 100644 index 00000000..2b96b6a0 Binary files /dev/null and b/resources/splunk/cluster/es.png differ diff --git a/resources/splunk/cluster/firewall.png b/resources/splunk/cluster/firewall.png new file mode 100644 index 00000000..026c2aec Binary files /dev/null and b/resources/splunk/cluster/firewall.png differ diff --git a/resources/splunk/cluster/forwarder.png b/resources/splunk/cluster/forwarder.png new file mode 100644 index 00000000..2af7b916 Binary files /dev/null and b/resources/splunk/cluster/forwarder.png differ diff --git a/resources/splunk/cluster/heavy-forwader.png b/resources/splunk/cluster/heavy-forwader.png new file mode 100644 index 00000000..8f9b5569 Binary files /dev/null and b/resources/splunk/cluster/heavy-forwader.png differ diff --git a/resources/splunk/cluster/heavy-forwarders.png b/resources/splunk/cluster/heavy-forwarders.png new file mode 100644 index 00000000..216dc7c8 Binary files /dev/null and b/resources/splunk/cluster/heavy-forwarders.png differ diff --git a/resources/splunk/cluster/hec.png b/resources/splunk/cluster/hec.png new file mode 100644 index 00000000..65421c3c Binary files /dev/null and b/resources/splunk/cluster/hec.png differ diff --git a/resources/splunk/cluster/indexer.png b/resources/splunk/cluster/indexer.png new file mode 100644 index 00000000..be049f92 Binary files /dev/null and b/resources/splunk/cluster/indexer.png differ diff --git a/resources/splunk/cluster/laptop.png b/resources/splunk/cluster/laptop.png new file mode 100644 index 00000000..5b9db48e Binary files /dev/null and b/resources/splunk/cluster/laptop.png differ diff --git a/resources/splunk/cluster/license-master.png b/resources/splunk/cluster/license-master.png new file mode 100644 index 00000000..105304c2 Binary files /dev/null and b/resources/splunk/cluster/license-master.png differ diff --git a/resources/splunk/cluster/license-server.png b/resources/splunk/cluster/license-server.png new file mode 100644 index 00000000..93c85fb3 Binary files /dev/null and b/resources/splunk/cluster/license-server.png differ diff --git a/resources/splunk/cluster/log-file.png b/resources/splunk/cluster/log-file.png new file mode 100644 index 00000000..7eb79700 Binary files /dev/null and b/resources/splunk/cluster/log-file.png differ diff --git a/resources/splunk/cluster/master-cluster-node.png b/resources/splunk/cluster/master-cluster-node.png new file mode 100644 index 00000000..b5859d17 Binary files /dev/null and b/resources/splunk/cluster/master-cluster-node.png differ diff --git a/resources/splunk/cluster/people.png b/resources/splunk/cluster/people.png new file mode 100644 index 00000000..5f7fc5f4 Binary files /dev/null and b/resources/splunk/cluster/people.png differ diff --git a/resources/splunk/cluster/person.png b/resources/splunk/cluster/person.png new file mode 100644 index 00000000..f9c14358 Binary files /dev/null and b/resources/splunk/cluster/person.png differ diff --git a/resources/splunk/cluster/router.png b/resources/splunk/cluster/router.png new file mode 100644 index 00000000..1b551d8c Binary files /dev/null and b/resources/splunk/cluster/router.png differ diff --git a/resources/splunk/cluster/search-head.png b/resources/splunk/cluster/search-head.png new file mode 100644 index 00000000..c84aeb3c Binary files /dev/null and b/resources/splunk/cluster/search-head.png differ diff --git a/resources/splunk/cluster/search.png b/resources/splunk/cluster/search.png new file mode 100644 index 00000000..d2ae2d31 Binary files /dev/null and b/resources/splunk/cluster/search.png differ diff --git a/resources/splunk/cluster/sh-cluster.png b/resources/splunk/cluster/sh-cluster.png new file mode 100644 index 00000000..2a470abb Binary files /dev/null and b/resources/splunk/cluster/sh-cluster.png differ diff --git a/resources/splunk/cluster/splunk-cloud.png b/resources/splunk/cluster/splunk-cloud.png new file mode 100644 index 00000000..57490bfc Binary files /dev/null and b/resources/splunk/cluster/splunk-cloud.png differ diff --git a/resources/splunk/cluster/splunk-instance.png b/resources/splunk/cluster/splunk-instance.png new file mode 100644 index 00000000..218c0cf8 Binary files /dev/null and b/resources/splunk/cluster/splunk-instance.png differ diff --git a/resources/splunk/cluster/systems-linux.png b/resources/splunk/cluster/systems-linux.png new file mode 100644 index 00000000..249803ab Binary files /dev/null and b/resources/splunk/cluster/systems-linux.png differ diff --git a/resources/splunk/cluster/systems-windows.png b/resources/splunk/cluster/systems-windows.png new file mode 100644 index 00000000..808cd069 Binary files /dev/null and b/resources/splunk/cluster/systems-windows.png differ diff --git a/resources/splunk/cluster/systems.png b/resources/splunk/cluster/systems.png new file mode 100644 index 00000000..d2169e25 Binary files /dev/null and b/resources/splunk/cluster/systems.png differ diff --git a/scripts/resource.py b/scripts/resource.py index d2b0f4c8..a104cac9 100644 --- a/scripts/resource.py +++ b/scripts/resource.py @@ -115,6 +115,9 @@ def cleaner_programming(f): return f.lower() +def cleaner_splunk(f): + return f.lower() + def cleaner_generic(f): return f.lower() @@ -147,6 +150,7 @@ cleaners = { "alibabacloud": cleaner_alibabacloud, "oci": cleaner_oci, "programming": cleaner_programming, + "splunk": cleaner_splunk, "saas": cleaner_saas, "elastic": cleaner_elastic, "outscale": cleaner_outscale, diff --git a/website/i18n/en.json b/website/i18n/en.json index 22d11218..0c2e30f2 100644 --- a/website/i18n/en.json +++ b/website/i18n/en.json @@ -71,6 +71,9 @@ "nodes/programming": { "title": "Programming" }, + "nodes/splunk": { + "title": "splunk" + }, "nodes/saas": { "title": "Saas" } diff --git a/website/sidebars.json b/website/sidebars.json index 995e9bdb..9209f643 100644 --- a/website/sidebars.json +++ b/website/sidebars.json @@ -26,6 +26,7 @@ "nodes/outscale", "nodes/generic", "nodes/programming", + "nodes/splunk", "nodes/saas", "nodes/custom" ]