Skip to content

Commit

Permalink
feat(provider): update OCI icons (mingrammer#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-tessier committed Jul 23, 2021
1 parent 97f4e85 commit 22a7e63
Show file tree
Hide file tree
Showing 190 changed files with 104 additions and 337 deletions.
4 changes: 2 additions & 2 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ fi
# preprocess the resources
for pvd in "${providers[@]}"; do
# convert the svg to png for azure provider
if [ "$pvd" = "onprem" ] || [ "$pvd" = "azure" ]; then
if [ "$pvd" = "onprem" ] || [ "$pvd" = "azure" ] || [ "$pvd" == "oci" ]; then
echo "converting the svg to png using inkscape for provider '$pvd'"
python -m scripts.resource svg2png "$pvd"
fi
if [ "$pvd" == "oci" ] || [ "$pvd" = "ibm" ]; then
if [ "$pvd" = "ibm" ]; then
echo "converting the svg to png using image magick for provider '$pvd'"
python -m scripts.resource svg2png2 "$pvd"
fi
Expand Down
16 changes: 0 additions & 16 deletions diagrams/ibm/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,19 +93,3 @@ class VpnPolicy(_Network):


# Aliases

ACL = Rules
CIS = InternetServices
DL = DirectLink
FIP = FloatingIp
FloatingIP = FloatingIp
FW = Firewall
LB = LoadBalancer
NLB = LoadBalancer
PublicGateway = Gateway
SecurityGroupRules = Rules
TG = TransitGateway
VPC = Vpc
VPNGateway = VpnGateway
VPNConnection = VpnConnection
VPNPolicy = VpnPolicy
1 change: 0 additions & 1 deletion diagrams/ibm/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,3 @@ class Vpn(_Security):


# Aliases
VPN = Vpn
32 changes: 4 additions & 28 deletions diagrams/oci/compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,64 +8,40 @@ class _Compute(_OCI):
_icon_dir = "resources/oci/compute"


class AutoscaleWhite(_Compute):
_icon = "autoscale-white.png"
class Apex(_Compute):
_icon = "apex.png"


class Autoscale(_Compute):
_icon = "autoscale.png"


class BMWhite(_Compute):
_icon = "bm-white.png"


class BM(_Compute):
_icon = "bm.png"


class ContainerWhite(_Compute):
_icon = "container-white.png"


class Container(_Compute):
_icon = "container.png"


class FunctionsWhite(_Compute):
_icon = "functions-white.png"


class Functions(_Compute):
_icon = "functions.png"


class InstancePoolsWhite(_Compute):
_icon = "instance-pools-white.png"


class InstancePools(_Compute):
_icon = "instance-pools.png"


class OCIRWhite(_Compute):
_icon = "ocir-white.png"


class OCIR(_Compute):
_icon = "ocir.png"


class OKEWhite(_Compute):
_icon = "oke-white.png"


class OKE(_Compute):
_icon = "oke.png"


class VMWhite(_Compute):
_icon = "vm-white.png"
class Red(_Compute):
_icon = "red.png"


class VM(_Compute):
Expand Down
40 changes: 10 additions & 30 deletions diagrams/oci/connectivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,10 @@ class _Connectivity(_OCI):
_icon_dir = "resources/oci/connectivity"


class BackboneWhite(_Connectivity):
_icon = "backbone-white.png"


class Backbone(_Connectivity):
_icon = "backbone.png"


class CDNWhite(_Connectivity):
_icon = "cdn-white.png"


class CDN(_Connectivity):
_icon = "cdn.png"

Expand All @@ -28,52 +20,40 @@ class CustomerDatacenter(_Connectivity):
_icon = "customer-datacenter.png"


class CustomerDatacntrWhite(_Connectivity):
_icon = "customer-datacntr-white.png"


class CustomerPremiseWhite(_Connectivity):
_icon = "customer-premise-white.png"


class CustomerPremise(_Connectivity):
_icon = "customer-premise.png"


class DisconnectedRegionsWhite(_Connectivity):
_icon = "disconnected-regions-white.png"
class Datacenter(_Connectivity):
_icon = "datacenter.png"


class DisconnectedRegions(_Connectivity):
_icon = "disconnected-regions.png"


class DNSWhite(_Connectivity):
_icon = "dns-white.png"


class DNS(_Connectivity):
_icon = "dns.png"


class FastConnectWhite(_Connectivity):
_icon = "fast-connect-white.png"


class FastConnect(_Connectivity):
_icon = "fast-connect.png"


class NATGatewayWhite(_Connectivity):
_icon = "nat-gateway-white.png"
class LocalPeeringGateway(_Connectivity):
_icon = "local-peering-gateway.png"


class NATGateway(_Connectivity):
_icon = "nat-gateway.png"


class VPNWhite(_Connectivity):
_icon = "vpn-white.png"
class RemotePeeringGateway(_Connectivity):
_icon = "remote-peering-gateway.png"


class ServiceConnectorHub(_Connectivity):
_icon = "service-connector-hub.png"


class VPN(_Connectivity):
Expand Down
52 changes: 22 additions & 30 deletions diagrams/oci/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,72 +8,64 @@ class _Database(_OCI):
_icon_dir = "resources/oci/database"


class AutonomousWhite(_Database):
_icon = "autonomous-white.png"
class AutonomousDataWarehouseCs(_Database):
_icon = "autonomous-data-warehouse-cs.png"


class Autonomous(_Database):
_icon = "autonomous.png"
class AutonomousDataWarehouse(_Database):
_icon = "autonomous-data-warehouse.png"


class BigdataServiceWhite(_Database):
_icon = "bigdata-service-white.png"
class AutonomousTransactionProcessing(_Database):
_icon = "autonomous-transaction-processing.png"


class BigdataService(_Database):
_icon = "bigdata-service.png"
class Autonomous(_Database):
_icon = "autonomous.png"


class DatabaseServiceWhite(_Database):
_icon = "database-service-white.png"
class BigdataService(_Database):
_icon = "bigdata-service.png"


class DatabaseService(_Database):
_icon = "database-service.png"


class DataflowApacheWhite(_Database):
_icon = "dataflow-apache-white.png"


class DataflowApache(_Database):
_icon = "dataflow-apache.png"


class DcatWhite(_Database):
_icon = "dcat-white.png"


class Dcat(_Database):
_icon = "dcat.png"


class DisWhite(_Database):
_icon = "dis-white.png"
class Dcs(_Database):
_icon = "dcs.png"


class Dis(_Database):
_icon = "dis.png"


class DMSWhite(_Database):
_icon = "dms-white.png"


class DMS(_Database):
_icon = "dms.png"


class ScienceWhite(_Database):
_icon = "science-white.png"
class Exadata(_Database):
_icon = "exadata.png"


class Science(_Database):
_icon = "science.png"
class Mysql(_Database):
_icon = "mysql.png"


class Nosql(_Database):
_icon = "nosql.png"


class StreamWhite(_Database):
_icon = "stream-white.png"
class Science(_Database):
_icon = "science.png"


class Stream(_Database):
Expand Down
12 changes: 4 additions & 8 deletions diagrams/oci/devops.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,20 @@ class _Devops(_OCI):
_icon_dir = "resources/oci/devops"


class APIGatewayWhite(_Devops):
_icon = "api-gateway-white.png"
class Analytics(_Devops):
_icon = "analytics.png"


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


class APIServiceWhite(_Devops):
_icon = "api-service-white.png"


class APIService(_Devops):
_icon = "api-service.png"


class ResourceMgmtWhite(_Devops):
_icon = "resource-mgmt-white.png"
class MarketPlace(_Devops):
_icon = "market-place.png"


class ResourceMgmt(_Devops):
Expand Down
32 changes: 6 additions & 26 deletions diagrams/oci/governance.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,60 +8,40 @@ class _Governance(_OCI):
_icon_dir = "resources/oci/governance"


class AuditWhite(_Governance):
_icon = "audit-white.png"


class Audit(_Governance):
_icon = "audit.png"


class CompartmentsWhite(_Governance):
_icon = "compartments-white.png"


class Compartments(_Governance):
_icon = "compartments.png"


class GroupsWhite(_Governance):
_icon = "groups-white.png"
class FlowLogs(_Governance):
_icon = "flow-logs.png"


class Groups(_Governance):
_icon = "groups.png"


class LoggingWhite(_Governance):
_icon = "logging-white.png"


class Logging(_Governance):
_icon = "logging.png"


class OCIDWhite(_Governance):
_icon = "ocid-white.png"


class OCID(_Governance):
_icon = "ocid.png"


class PoliciesWhite(_Governance):
_icon = "policies-white.png"


class Policies(_Governance):
_icon = "policies.png"


class TaggingWhite(_Governance):
_icon = "tagging-white.png"


class Tagging(_Governance):
_icon = "tagging.png"


class User(_Governance):
_icon = "user.png"


# Aliases
Loading

0 comments on commit 22a7e63

Please sign in to comment.