-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Subscriptions Release] - pre tag commit: 'rhsm-subscriptions-1.0.83'.
- Loading branch information
Showing
32 changed files
with
4,908 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM docker.io/fedora:latest | ||
RUN yum install -y java-11-openjdk graphviz plantuml | ||
WORKDIR /mnt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.PHONY: | ||
all: $(patsubst %.puml,%.svg,$(wildcard *.puml)) | ||
|
||
%.svg: %.puml | ||
test -n "$$(podman images -q -f reference=localhost/plantuml)" || podman build -f Dockerfile.plantuml . -t plantuml | ||
podman run --rm -v $$(pwd):/mnt:z plantuml plantuml -tsvg $< |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
NOTE: the diagrams in this directory can be regenerated by running `make` | ||
from this directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
@startuml | ||
!include <C4/C4_Container> | ||
|
||
' see https://forum.plantuml.net/8356/white-backgrounds-are-rendered-transparent-in-svg | ||
skinparam backgroundColor #FEFEFE | ||
|
||
LAYOUT_WITH_LEGEND() | ||
|
||
title Container diagram for Subscription watch Billing Producers | ||
|
||
Person(customer, "Red Hat Customer") | ||
|
||
Boundary(crc, console.redhat.com) { | ||
Boundary(swatch, "Subscription watch") { | ||
System(tally, "Tally", "System that tallies system usage based on telemetry.") | ||
ContainerQueue(tally_summaries, "platform.rhsm-subscriptions.tally", "Kafka Topic") | ||
System_Boundary(billing_producers, "Billing Producers") { | ||
Container(marketplace_worker, "RH Marketplace Worker", "Java, Container", "Notifies RH Marketplace of hourly usage.") | ||
} | ||
} | ||
} | ||
|
||
System_Ext(rh_marketplace, "marketplace.redhat.com", "Service responsible for billing the customer for PAYG usage.") | ||
|
||
' tally process | ||
Rel(tally, tally_summaries, "Produces to") | ||
|
||
' marketplace notification | ||
Rel_Back(tally_summaries, marketplace_worker, "Consumes from") | ||
Rel(marketplace_worker, rh_marketplace, "Notifies", "JSON/HTTPS") | ||
|
||
Rel(customer, rh_marketplace, "Uses", "HTTPS") | ||
@enduml |
Oops, something went wrong.