Skip to content

Commit

Permalink
feat(provider): IBM add alias and upper words
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-tessier committed Nov 12, 2022
1 parent 9fc6cbb commit fff5837
Show file tree
Hide file tree
Showing 8 changed files with 82 additions and 38 deletions.
31 changes: 29 additions & 2 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"outscale": ("osc",),
"openstack": ("rpm", "loci", "nfv", "ec2api"),
"pve": ("pve"),
"ibm": ("ibm"),
"ibm": ("ibm", "sql", "api", "cdn", "dns", "vpn", "vpc"),
}

TITLE_WORDS = {
Expand Down Expand Up @@ -434,7 +434,34 @@
"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": {
Expand Down
5 changes: 4 additions & 1 deletion diagrams/ibm/compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 13 additions & 1 deletion diagrams/ibm/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion diagrams/ibm/devtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Alloy(_Devtools):
_icon = "alloy.png"


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


Expand Down
2 changes: 1 addition & 1 deletion diagrams/ibm/integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class _Integration(_IBM):
_icon_dir = "resources/ibm/integration"


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


Expand Down
14 changes: 7 additions & 7 deletions diagrams/ibm/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class _Network(_IBM):
_icon_dir = "resources/ibm/network"


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


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


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


class Firewall(_Network):
_icon = "firewall.png"


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


Expand Down Expand Up @@ -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"


Expand Down
2 changes: 2 additions & 0 deletions diagrams/ibm/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,5 @@ class Twilio(_Security):


# Aliases

OpenBSD = OpenBsd
50 changes: 25 additions & 25 deletions docs/nodes/ibm.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ Node classes list of ibm provider.
- **diagrams.ibm.compute.DedicatedHost**
- **diagrams.ibm.compute.Dizzion**
- **diagrams.ibm.compute.Functions**
- **diagrams.ibm.compute.HpVirtualServers**
- **diagrams.ibm.compute.HpVirtualServers**, **HPVirtualServers** (alias)
- **diagrams.ibm.compute.Hsm**
- **diagrams.ibm.compute.PowerSystems**
- **diagrams.ibm.compute.Satellite**
- **diagrams.ibm.compute.Skytap**
- **diagrams.ibm.compute.VirtualServer**
- **diagrams.ibm.compute.Vmware**
- **diagrams.ibm.compute.VpcVirtualServer**
- **diagrams.ibm.compute.Vmware**, **VMware** (alias)
- **diagrams.ibm.compute.VPCVirtualServer**

## ibm.container

Expand All @@ -49,31 +49,31 @@ Node classes list of ibm provider.
- **diagrams.ibm.database.Cloudant**
- **diagrams.ibm.database.ComposeEnterprise**
- **diagrams.ibm.database.ComposeJanusgraph**
- **diagrams.ibm.database.ComposeMysql**
- **diagrams.ibm.database.ComposeRethinkdb**
- **diagrams.ibm.database.ComposeScylladb**
- **diagrams.ibm.database.ComposeMysql**, **ComposeMySQL** (alias)
- **diagrams.ibm.database.ComposeRethinkdb**, **ComposeRethinkDB** (alias)
- **diagrams.ibm.database.ComposeScylladb**, **ComposeScyllaDB** (alias)
- **diagrams.ibm.database.Datastax**
- **diagrams.ibm.database.Db2Warehouse**
- **diagrams.ibm.database.Db2**
- **diagrams.ibm.database.Edb**
- **diagrams.ibm.database.Elasticsearch**
- **diagrams.ibm.database.Db2Warehouse**, **DB2Warehouse** (alias)
- **diagrams.ibm.database.Db2**, **DB2** (alias)
- **diagrams.ibm.database.Edb**, **EDB** (alias)
- **diagrams.ibm.database.Elasticsearch**, **ElasticSearch** (alias)
- **diagrams.ibm.database.Etcd**
- **diagrams.ibm.database.HyperProtectDbaas**
- **diagrams.ibm.database.HyperProtectDbaas**, **HyperProtectDBaaS** (alias)
- **diagrams.ibm.database.Influx**
- **diagrams.ibm.database.Informix**
- **diagrams.ibm.database.Match**
- **diagrams.ibm.database.Mongodb**
- **diagrams.ibm.database.Mongodb**, **MongoDB** (alias)
- **diagrams.ibm.database.Portworx**
- **diagrams.ibm.database.Postgresql**
- **diagrams.ibm.database.Rabbitmq**
- **diagrams.ibm.database.Postgresql**, **PostgreSQL** (alias)
- **diagrams.ibm.database.Rabbitmq**, **RabbitMQ** (alias)
- **diagrams.ibm.database.Redis**
- **diagrams.ibm.database.SqlQuery**
- **diagrams.ibm.database.SQLQuery**

## ibm.devtools

- **diagrams.ibm.devtools.Accern**
- **diagrams.ibm.devtools.Alloy**
- **diagrams.ibm.devtools.ApiGateway**
- **diagrams.ibm.devtools.APIGateway**
- **diagrams.ibm.devtools.AppConfiguration**
- **diagrams.ibm.devtools.Bondevalue**
- **diagrams.ibm.devtools.ContinuousDelivery**
Expand Down Expand Up @@ -111,7 +111,7 @@ Node classes list of ibm provider.

## ibm.integration

- **diagrams.ibm.integration.ApiConnect**
- **diagrams.ibm.integration.APIConnect**
- **diagrams.ibm.integration.AppConnect**
- **diagrams.ibm.integration.EventStreams**
- **diagrams.ibm.integration.Lift**
Expand Down Expand Up @@ -172,23 +172,23 @@ Node classes list of ibm provider.

## ibm.network

- **diagrams.ibm.network.Cdn**
- **diagrams.ibm.network.CDN**
- **diagrams.ibm.network.Cis**
- **diagrams.ibm.network.DirectLinkConnect**
- **diagrams.ibm.network.DirectLink**
- **diagrams.ibm.network.Dns**
- **diagrams.ibm.network.DNS**
- **diagrams.ibm.network.Firewall**
- **diagrams.ibm.network.IpsecVpn**
- **diagrams.ibm.network.IpsecVPN**
- **diagrams.ibm.network.Lbaas**
- **diagrams.ibm.network.LocalLoadBalancing**
- **diagrams.ibm.network.Subnets**
- **diagrams.ibm.network.Transit**
- **diagrams.ibm.network.VirtualRouterAppliance**
- **diagrams.ibm.network.Vlan**
- **diagrams.ibm.network.VpcEndpoints**
- **diagrams.ibm.network.VpcFlowlogs**
- **diagrams.ibm.network.Vpc**
- **diagrams.ibm.network.Vpn**
- **diagrams.ibm.network.VPCEndpoints**
- **diagrams.ibm.network.VPCFlowlogs**
- **diagrams.ibm.network.VPC**
- **diagrams.ibm.network.VPN**

## ibm.security

Expand All @@ -201,7 +201,7 @@ Node classes list of ibm provider.
- **diagrams.ibm.security.Hsm**
- **diagrams.ibm.security.KeyProtect**
- **diagrams.ibm.security.Neuvector**
- **diagrams.ibm.security.OpenBsd**
- **diagrams.ibm.security.OpenBsd**, **OpenBSD** (alias)
- **diagrams.ibm.security.Raxak**
- **diagrams.ibm.security.SecretsManager**
- **diagrams.ibm.security.SslCertificates**
Expand Down

0 comments on commit fff5837

Please sign in to comment.