Skip to content

Commit d5d9419

Browse files
committed
Update Blog “getting-started-with-the-hpe-greenlake-cloud-eventing-framework”
1 parent 173c82e commit d5d9419

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/blog/getting-started-with-the-hpe-greenlake-cloud-eventing-framework.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ In one of my previous blog posts, I used the HPE GreenLake API to query the audi
2222

2323
## It's a publisher/subscriber world
2424

25-
HPE GreenLake cloud provides an eventing framework in which event publishers (any of the HPE GreenLake cloud services) can register event types with the platform and event subscribers can declare what event types they would like to subscribe to. After they establish a security handshake, HPE GreenLake cloud forwards selected events to the subscriber in a close-to-real-time mode. No polling is necessary as the event handler (webhook) will be notified asynchronously.
25+
HPE GreenLake cloud provides an events framework in which event publishers (any of the HPE GreenLake cloud services) can register event types with the platform and event subscribers can declare what event types they would like to subscribe to. After they establish a security handshake, HPE GreenLake cloud forwards selected events to the subscriber in a close-to-real-time mode. No polling is necessary as the event handler (webhook) will be notified asynchronously.
2626

2727
The following diagram illustrates the mechanism by which this works:
2828

29-
![HPE GreenLake cloud eventing framework](/img/slide-for-blog-webhooks.jpg "HPE GreenLake cloud eventing framework")
29+
![HPE GreenLake cloud events framework](/img/slide-for-blog-webhooks.jpg "HPE GreenLake cloud events framework")
3030

3131
## How do you write webhook handlers?
3232

@@ -154,9 +154,9 @@ Next, add another module to compute the HMAC. Click the plus sign and add a **To
154154
Configure the Set variable module with:
155155

156156
* Variable name: **hmac** 
157-
* Variable value: **sha256( challengeRequest ; ; \<SecretKey\> )**
157+
* Variable value: **sha256( challengeRequest ; ; <SecretKey> )**
158158

159-
> Note: you can drag the **challengeRequest** property from the **Webhooks** module, and drop it as your first parameter. **\<SecretKey\>** is a placeholder which you will replace later, once we know the the real shared secret key.
159+
> Note: you can drag the **challengeRequest** property from the **Webhooks** module, and drop it as your first parameter. **<SecretKey>** is a placeholder which you will replace later, once we know the the real shared secret key.
160160

161161
![drag and drop properties](/img/drag-drop-properties.jpg "drag and drop properties")
162162

@@ -268,7 +268,7 @@ If the webhook response is the expected one, then the webhook is placed in **Act
268268

269269
### It’s time to subscribe to events
270270

271-
From the web console, you can now subscribe to events available from the HPE GreenLake services. You can find the list of those already available from the [HPE GreenLake Developer Portal](https://developer.greenlake.hpe.com/docs/greenlake/services/event/public/ui/#finding-events-on-hpe-greenlake-developer-portal). The list will grow over time as new services adopt this eventing framework.
271+
From the web console, you can now subscribe to events available from the HPE GreenLake services. You can find the list of those already available from the [HPE GreenLake Developer Portal](https://developer.greenlake.hpe.com/docs/greenlake/services/event/public/ui/#finding-events-on-hpe-greenlake-developer-portal). The list will grow over time as new services adopt this events framework.
272272

273273
Select your webhook from the list and select **Subscribe to event**. Select the source **Service manager** (there is only HPE GreenLake Platform for now), then cut/paste the **Event type** from the [event catalog](https://developer.greenlake.hpe.com/docs/greenlake/services/#event-catalog). The following show two examples of event type.
274274

@@ -291,7 +291,7 @@ You can see different types of audit log events coming up from HPE GreenLake clo
291291

292292
## Call to action
293293

294-
Webhooks together with the HPE GreenLake cloud eventing framework provide a great way to integrate with HPE GreenLake cloud using modern technology. It provides great flexibility on where you can run the subscriber code, and allows you to choose the language in which to write the webhook code. It also allows you to build a tight integration with an existing platform such as HPE OpsRamp or ServiceNow.
294+
Webhooks together with the HPE GreenLake cloud events framework provide a great way to integrate with HPE GreenLake cloud using modern technology. It provides great flexibility on where you can run the subscriber code, and allows you to choose the language in which to write the webhook code. It also allows you to build a tight integration with an existing platform such as HPE OpsRamp or ServiceNow.
295295

296296
Additional benefits I can see from this technique are:
297297

0 commit comments

Comments
 (0)