The stdlib awslib example on plantuml.com is displayed incorrectly.

0 votes
asked Dec 5, 2022 in Bug by wfouche (120 points)
https://plantuml.com/stdlib

awslib was recently upgraded to v14 (awslib14) - https://github.com/plantuml/plantuml-stdlib/tree/master/awslib14 - which broke backwards compatibiliy with previous releases.

A workaround is to change the diagram to only use awslib14 functionality:

# ------------------------------------------------------------------------------------------------- #

@startuml Basic Usage - AWS IoT Rules Engine

!include <awslib/AWSCommon>
!include <awslib/InternetOfThings/IoTRule>
!include <awslib/Analytics/KinesisDataStreams>
!include <awslib/ApplicationIntegration/SimpleQueueService>

left to right direction

agent "Published Event" as event #fff

IoTRule(iotRule, "Action Error Rule", "error if Kinesis fails")
KinesisDataStreams(eventStream, "IoT Events", "2 shards")
SimpleQueueService(errorQueue, "Rule Error Queue", "failed Rule actions")

event --> iotRule : JSON message
iotRule --> eventStream : messages
iotRule --> errorQueue : Failed action message

@enduml

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...