Skip to content

Commit

Permalink
fix(aws): add Elasticsearch
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorin committed Jan 28, 2020
1 parent c6facd9 commit 12b0b0a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions aws/aws-macros.puml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
!define rds_replica(eId, eLabel) rds(eId, eLabel, Replica)
!define rds_replica(eId) rds_replica(eId, Database)

!define elasticsearch(eId, eLabel, eTech) entity(database, eId, Elasticsearch, eLabel, eTech)
!define elasticsearch(eId, eLabel) entity(database, eId, Elasticsearch, eLabel)
!define elasticsearch(eId) elasticsearch(eId, ElasticSearch)

!define elasticache(eId, eLabel, eTech) entity(database, eId, ElastiCache, eLabel, eTech)
!define elasticache(eId, eLabel) entity(database, eId, ElastiCache, eLabel)
!define elasticache(eId) elasticache(eId, Cache)
Expand Down
4 changes: 4 additions & 0 deletions aws/aws-styles.puml
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,9 @@ skinparam card<<VirtualPrivateCloud>> {
StereotypeFontColor AWS_COLOR
BorderStyle dashed
}
skinparam database<<Elasticsearch>> {
BorderColor AWS_COLOR
StereotypeFontColor AWS_COLOR
}

skinparam defaultTextAlignment center
2 changes: 2 additions & 0 deletions aws/example1.puml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ eks(app_eks)
elb(app_elb)
ebs(app_ebs)
s3_glacier(app_s3)
elasticsearch(app_elasticsearch)

extsys --> app_ag : fmt_tech(HTTPS)
extsys --> app_sqs : fmt_tech(HTTPS)
Expand All @@ -27,6 +28,7 @@ app_eks -u-> app_sns : fmt_tech(HTTPS)
app_eks -u-> app_sqs : fmt_tech(HTTPS)
app_eks -u-> app_msk : fmt_tech(TCP)
app_eks --> app_memcached : fmt_tech(TCP)
app_eks --> app_elasticsearch : fmt_tech(HTTP)
app_eks --> app_db : fmt_tech(TCP)
app_eks --> app_db_rep : fmt_tech(TCP)
app_eks ..> app_ebs : fmt_label(manages)
Expand Down

0 comments on commit 12b0b0a

Please sign in to comment.