Skip to content

Commit

Permalink
Added diagrams including topics queue for each exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmaradiaga committed Jun 4, 2024
1 parent d3d23be commit 8422581
Show file tree
Hide file tree
Showing 22 changed files with 1,297 additions and 4 deletions.
Binary file added assets/codejam-exercises-Exercise10 - CAP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/codejam-exercises-Exercise7 - DMR.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/codejam-exercises-Exercise9 - RDP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,252 changes: 1,252 additions & 0 deletions assets/codejam-exercises.drawio

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion exercises/05-explore-aem/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,12 @@ And last but certainly not least.... the ***Try Me*** tab. From here, you can se
<i>Event Broker - Try Me!</i>
</p>

Just as a quick test, let's use the CodePen projects section to quickly establish a connection and exchange a message.
Just as a quick test, let's use the CodePen projects section to quickly establish a connection and exchange a message. We will achieve the communication scenario below.

<p align = "center">
<img alt="Exchange a simple message by publishing/subscribing to the try-me topic" src="assets/codejam-exercises-Exercise5 - CodePen TryMe.png" width="70%"/><br/>
<i>Publish/subscribe to the try-me topic</i>
</p>

👉 In the ***Try Me!*** tab, follow the instructions below:

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion exercises/06-publish-and-subscribe-events/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,12 @@ In AEM there is a concept of a Topic Endpoint. A Topic Endpoint is a durable sto
## Publish an event

We published a simple event in the previous exercise by using the `CodePen Try Me!` in the `EU-North-Broker` event broker service. Let's now explore another mechanism to exchange messages with our event broker. Enter the `Advanced Try Me!`.
We published a simple event in the previous exercise by using the `CodePen Try Me!` in the `EU-North-Broker` event broker service. Let's now explore another mechanism to exchange messages with our event broker. By the end of this exercise we will achieve a communication scenario like the one below. Enter the `Advanced Try Me!`.

<p align = "center">
<img alt="Publish/subscribe to the codejam/edi/ce/[your-sap-community-username]/tickets/Created topic" src="assets/codejam-exercises-Exercise6 - AdvancedTryMe.png" width="70%"/><br/>
<i>Publish/subscribe to the codejam/edi/ce/[your-sap-community-username]/tickets/Created topic</i>
</p>

👉 Navigate to the `EU-North-Broker` event broker service and click the `Open Broker manager` link. On the right-hand side, click the `Try Me!` link. This will take you to a page that looks similar to the `CodePen Try Me!` page we used before but that's a bit more advanced. Here you can not just publish and subscribe to topics but we can also interact with queues in the event broker.

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion exercises/07-dynamic-message-routing/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Exercise 07 - Exchanging messages between Event Broker Services (Dynamic Message Routing)

In the SAP Integration Suite, advanced event mesh instance that we are using for this event has more than one event broker service but so far we've only published and consumed messages within a single event broker service. In this exercise, we will learn about Dynamic Message Routing and we will see messages being exchanged between brokers.
In the SAP Integration Suite, advanced event mesh instance that we are using for this event has more than one event broker service but so far we've only published and consumed messages within a single event broker service. In this exercise, we will learn about Dynamic Message Routing and we will see messages being exchanged between brokers. By the end of this exercise, we will achieve a communication scenario like the one below.

<p align = "center">
<img alt="Publish/subscribe to the codejam/edi/ce/[your-sap-community-username]/dmr topic via DMR" src="assets/codejam-exercises-Exercise7 - DMR.png" width="80%"/><br/>
<i>Publish/subscribe to the codejam/edi/ce/[your-sap-community-username]/dmr topic via DMR</i>
</p>

## Dynamic Message Routing (DMR)

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion exercises/08-cloudevents-sdk/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Exercise 08 - Create a CloudEvent programmatically and publish it to AEM

Now that we are familiar with what a CloudEvent is, what a CloudEvent message looks like, and the different Event Formats available, let's see how we can create one programmatically and publish it to a topic in AEM.
Now that we are familiar with what a CloudEvent is, what a CloudEvent message looks like, and the different Event Formats available, let's see how we can create one programmatically and publish it to a topic in AEM. By the end of this exercise, we will achieve a communication scenario like the one below.

<p align = "center">
<img alt="Creating a CloudEvent using Node.js and publishing it to AEM" src="assets/codejam-exercises-Exercise8 - CloudEvent NodeJS.png" width="80%"/><br/>
<i>Creating a CloudEvent using Node.js and publishing it to AEM</i>
</p>

## CloudEvents SDK

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions exercises/09-rest-delivery-points/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ If you remember the CodeJam's [integration scenario](../../../README.md#integrat

> If you are interested in exploring how you can configure the webhook subscription mentioned above in SAP Event Mesh, you can check out this [SAP Tech Bytes: Deliver events from SAP EventMesh to SAP Build Process Automation](https://community.sap.com/t5/technology-blogs-by-sap/sap-tech-bytes-deliver-events-from-sap-eventmesh-to-sap-build-process/ba-p/13574547).
By the end of this exercise, we will achieve a communication scenario like the one below.

<p align = "center">
<img alt="Different objects configured for a REST Delivery Point" src="assets/codejam-exercises-Exercise9 - RDP.png" width="90%"/><br/>
<i>Different objects configured for a REST Delivery Point</i>
</p>

## REST Delivery Points (RDP)

A REST delivery point (RDP) is a provisioned object on an event broker service, that facilitates message delivery to REST consumers. The RDP can be bound to message queues to deliver messages from those queues to REST consumers. The RDP maintains a list of REST consumers, which are identified by their remote connection information.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions exercises/10-consume-message-from-CAP/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ There is a separate service that simulates the tickets purchased events from the
}
```

By the end of this exercise, we will achieve a communication scenario like the one below.

<p align = "center">
<img alt="Consuming and publishing messages from a CAP project" src="assets/codejam-exercises-Exercise10 - CAP.png" width="90%"/><br/>
<i>Consuming and publishing messages from a CAP project</i>
</p>

## Connecting to SAP Integration Suite, advanced event mesh from the CAP project

We can use different protocols to connect with AEM, this will depend on our needs and the type of service/device that will be publishing/consuming messages. The event broker provides a foundation for multi-protocol and standards eventing including Solace Message Format (SMF), JMS1.1, MQTT3.11, REST, and AMQP1.0.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions exercises/11-aem-cloud-integration-adapter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ Before we get started, make a note of the connection details for the Solace Mess

![Solace Messaging protocol](assets/solace-messaging-protocol-connection.png)

By the end of this exercise, we will achieve a communication scenario like the one below.

<p align = "center">
<img alt="Consuming and publishing messages from a Cloud Integration iFlow" src="assets/codejam-exercises-Exercise11 - CloudIntegration.png" width="90%"/><br/>
<i>Consuming and publishing messages from a Cloud Integration iFlow</i>
</p>

## Queue for Cloud Integration

👉 Access the `EU-North-Broker` and clone the queue created in the previous exercise and name it: `codejam/edi/[your-sap-community-username]/Tickets/Purchased_CloudIntegration`. Make sure to also clone the subscriptions.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8422581

Please sign in to comment.