Browse Source

refactor(pvd/elastic): add an upper word and some aliases

pull/640/head
MinJae Kwon 1 year ago
parent
commit
487e52db05
4 changed files with 11 additions and 7 deletions
  1. +3
    -1
      config.py
  2. +3
    -1
      diagrams/elastic/elasticsearch.py
  3. +1
    -1
      diagrams/onprem/registry.py
  4. +4
    -4
      docs/nodes/elastic.md

+ 3
- 1
config.py View File

@@ -83,7 +83,7 @@ UPPER_WORDS = {
"sa", "sc", "sts", "svc", "sa", "sc", "sts", "svc",
), ),
"oci": ("oci", "ocid", "oke", "ocir", "ddos", "waf", "bm", "vm", "cdn", "vpn", "dns", "nat", "dms", "api", "id"), "oci": ("oci", "ocid", "oke", "ocir", "ddos", "waf", "bm", "vm", "cdn", "vpn", "dns", "nat", "dms", "api", "id"),
"elastic": ("apm", "siem", "ece", "eck"),
"elastic": ("apm", "siem", "ece", "eck", "sql"),
"generic": ("vpn", "ios", "xen", "sql", "lxc"), "generic": ("vpn", "ios", "xen", "sql", "lxc"),
"outscale": ("osc",), "outscale": ("osc",),
"openstack": ("rpm", "loci", "nfv", "ec2api"), "openstack": ("rpm", "loci", "nfv", "ec2api"),
@@ -446,7 +446,9 @@ ALIASES = {
}, },
"elastic": { "elastic": {
"elasticsearch": { "elasticsearch": {
"Elasticsearch": "ElasticSearch",
"Logstash": "LogStash", "Logstash": "LogStash",
"MachineLearning": "ML",
} }
}, },
"outscale": { "outscale": {


+ 3
- 1
diagrams/elastic/elasticsearch.py View File

@@ -56,7 +56,7 @@ class SecuritySettings(_Elasticsearch):
_icon = "security-settings.png" _icon = "security-settings.png"




class Sql(_Elasticsearch):
class SQL(_Elasticsearch):
_icon = "sql.png" _icon = "sql.png"




@@ -66,4 +66,6 @@ class Stack(_Elasticsearch):


# Aliases # Aliases


ElasticSearch = Elasticsearch
LogStash = Logstash LogStash = Logstash
ML = MachineLearning

+ 1
- 1
diagrams/onprem/registry.py View File

@@ -12,7 +12,7 @@ class Harbor(_Registry):
_icon = "harbor.png" _icon = "harbor.png"




class JFrog(_Registry):
class Jfrog(_Registry):
_icon = "jfrog.png" _icon = "jfrog.png"






+ 4
- 4
docs/nodes/elastic.md View File

@@ -57,7 +57,7 @@ Node classes list of elastic provider.
**diagrams.elastic.elasticsearch.Beats** **diagrams.elastic.elasticsearch.Beats**


<img width="30" src="/img/resources/elastic/elasticsearch/elasticsearch.png" alt="Elasticsearch" style="float: left; padding-right: 5px;" > <img width="30" src="/img/resources/elastic/elasticsearch/elasticsearch.png" alt="Elasticsearch" style="float: left; padding-right: 5px;" >
**diagrams.elastic.elasticsearch.Elasticsearch**
**diagrams.elastic.elasticsearch.Elasticsearch**, **ElasticSearch** (alias)


<img width="30" src="/img/resources/elastic/elasticsearch/kibana.png" alt="Kibana" style="float: left; padding-right: 5px;" > <img width="30" src="/img/resources/elastic/elasticsearch/kibana.png" alt="Kibana" style="float: left; padding-right: 5px;" >
**diagrams.elastic.elasticsearch.Kibana** **diagrams.elastic.elasticsearch.Kibana**
@@ -69,7 +69,7 @@ Node classes list of elastic provider.
**diagrams.elastic.elasticsearch.Logstash**, **LogStash** (alias) **diagrams.elastic.elasticsearch.Logstash**, **LogStash** (alias)


<img width="30" src="/img/resources/elastic/elasticsearch/machine-learning.png" alt="MachineLearning" style="float: left; padding-right: 5px;" > <img width="30" src="/img/resources/elastic/elasticsearch/machine-learning.png" alt="MachineLearning" style="float: left; padding-right: 5px;" >
**diagrams.elastic.elasticsearch.MachineLearning**
**diagrams.elastic.elasticsearch.MachineLearning**, **ML** (alias)


<img width="30" src="/img/resources/elastic/elasticsearch/map-services.png" alt="MapServices" style="float: left; padding-right: 5px;" > <img width="30" src="/img/resources/elastic/elasticsearch/map-services.png" alt="MapServices" style="float: left; padding-right: 5px;" >
**diagrams.elastic.elasticsearch.MapServices** **diagrams.elastic.elasticsearch.MapServices**
@@ -86,8 +86,8 @@ Node classes list of elastic provider.
<img width="30" src="/img/resources/elastic/elasticsearch/security-settings.png" alt="SecuritySettings" style="float: left; padding-right: 5px;" > <img width="30" src="/img/resources/elastic/elasticsearch/security-settings.png" alt="SecuritySettings" style="float: left; padding-right: 5px;" >
**diagrams.elastic.elasticsearch.SecuritySettings** **diagrams.elastic.elasticsearch.SecuritySettings**


<img width="30" src="/img/resources/elastic/elasticsearch/sql.png" alt="Sql" style="float: left; padding-right: 5px;" >
**diagrams.elastic.elasticsearch.Sql**
<img width="30" src="/img/resources/elastic/elasticsearch/sql.png" alt="SQL" style="float: left; padding-right: 5px;" >
**diagrams.elastic.elasticsearch.SQL**


<img width="30" src="/img/resources/elastic/elasticsearch/stack.png" alt="Stack" style="float: left; padding-right: 5px;" > <img width="30" src="/img/resources/elastic/elasticsearch/stack.png" alt="Stack" style="float: left; padding-right: 5px;" >
**diagrams.elastic.elasticsearch.Stack** **diagrams.elastic.elasticsearch.Stack**


Loading…
Cancel
Save