Ver código fonte

feat(provider): IBM add alias and upper words

pull/655/head
tessier 2 anos atrás
pai
commit
b433427ca4
7 arquivos alterados com 57 adições e 13 exclusões
  1. +29
    -2
      config.py
  2. +4
    -1
      diagrams/ibm/compute.py
  3. +13
    -1
      diagrams/ibm/database.py
  4. +1
    -1
      diagrams/ibm/devtools.py
  5. +1
    -1
      diagrams/ibm/integration.py
  6. +7
    -7
      diagrams/ibm/network.py
  7. +2
    -0
      diagrams/ibm/security.py

+ 29
- 2
config.py Ver arquivo

@@ -88,7 +88,7 @@ UPPER_WORDS = {
"outscale": ("osc",),
"openstack": ("rpm", "loci", "nfv", "ec2api"),
"pve": ("pve"),
"ibm": ("ibm"),
"ibm": ("ibm", "sql", "api", "cdn", "dns", "vpn", "vpc"),
}

TITLE_WORDS = {
@@ -452,7 +452,34 @@ ALIASES = {
"outscale": {
"Osc": "OSC",
},
"ibm": {},
"ibm": {
"compute": {
"HpVirtualServers": "HPVirtualServers",
"Vmware": "VMware",
},
"data": {
"TmsDataInterface": "TMSDataInterface"
},
"database": {
"ComposeMysql": "ComposeMySQL",
"ComposeRethinkdb": "ComposeRethinkDB",
"ComposeScylladb": "ComposeScyllaDB",
"Db2Warehouse": "DB2Warehouse",
"Db2": "DB2",
"Edb": "EDB",
"Elasticsearch": "ElasticSearch",
"HyperProtectDbaas": "HyperProtectDBaaS",
"Mongodb": "MongoDB",
"Postgresql": "PostgreSQL",
"Rabbitmq": "RabbitMQ",
},
"devops": {
"Devops": "DevOps"
},
"security": {
"OpenBsd": "OpenBSD"
}
},
"generic": {},
"openstack": {
"user": {


+ 4
- 1
diagrams/ibm/compute.py Ver arquivo

@@ -68,8 +68,11 @@ class Vmware(_Compute):
_icon = "vmware.png"


class VpcVirtualServer(_Compute):
class VPCVirtualServer(_Compute):
_icon = "vpc-virtual-server.png"


# Aliases

HPVirtualServers = HpVirtualServers
VMware = Vmware

+ 13
- 1
diagrams/ibm/database.py Ver arquivo

@@ -92,8 +92,20 @@ class Redis(_Database):
_icon = "redis.png"


class SqlQuery(_Database):
class SQLQuery(_Database):
_icon = "sql-query.png"


# Aliases

ComposeMySQL = ComposeMysql
ComposeRethinkDB = ComposeRethinkdb
ComposeScyllaDB = ComposeScylladb
DB2Warehouse = Db2Warehouse
DB2 = Db2
EDB = Edb
ElasticSearch = Elasticsearch
HyperProtectDBaaS = HyperProtectDbaas
MongoDB = Mongodb
PostgreSQL = Postgresql
RabbitMQ = Rabbitmq

+ 1
- 1
diagrams/ibm/devtools.py Ver arquivo

@@ -16,7 +16,7 @@ class Alloy(_Devtools):
_icon = "alloy.png"


class ApiGateway(_Devtools):
class APIGateway(_Devtools):
_icon = "api-gateway.png"




+ 1
- 1
diagrams/ibm/integration.py Ver arquivo

@@ -8,7 +8,7 @@ class _Integration(_IBM):
_icon_dir = "resources/ibm/integration"


class ApiConnect(_Integration):
class APIConnect(_Integration):
_icon = "api-connect.png"




+ 7
- 7
diagrams/ibm/network.py Ver arquivo

@@ -8,7 +8,7 @@ class _Network(_IBM):
_icon_dir = "resources/ibm/network"


class Cdn(_Network):
class CDN(_Network):
_icon = "cdn.png"


@@ -24,7 +24,7 @@ class DirectLink(_Network):
_icon = "direct-link.png"


class Dns(_Network):
class DNS(_Network):
_icon = "dns.png"


@@ -32,7 +32,7 @@ class Firewall(_Network):
_icon = "firewall.png"


class IpsecVpn(_Network):
class IpsecVPN(_Network):
_icon = "ipsec-vpn.png"


@@ -60,19 +60,19 @@ class Vlan(_Network):
_icon = "vlan.png"


class VpcEndpoints(_Network):
class VPCEndpoints(_Network):
_icon = "vpc-endpoints.png"


class VpcFlowlogs(_Network):
class VPCFlowlogs(_Network):
_icon = "vpc-flowlogs.png"


class Vpc(_Network):
class VPC(_Network):
_icon = "vpc.png"


class Vpn(_Network):
class VPN(_Network):
_icon = "vpn.png"




+ 2
- 0
diagrams/ibm/security.py Ver arquivo

@@ -65,3 +65,5 @@ class Twilio(_Security):


# Aliases

OpenBSD = OpenBsd

Carregando…
Cancelar
Salvar