Friday, May 8, 2026
The BLOCKCHAIN Page
No Result
View All Result
  • Home
  • Cryptocurrency
  • Blockchain
  • Bitcoin
  • Market & Analysis
  • Altcoins
  • DeFi
  • Ethereum
  • Dogecoin
  • XRP
  • Regulations
  • NFTs
The BLOCKCHAIN Page
No Result
View All Result
Home Blockchain

Using Event Notifications in your deployed solutions

by admin
June 23, 2023
in Blockchain
0
Using Event Notifications in your deployed solutions
0
SHARES
5
VIEWS
Share on FacebookShare on Twitter


ttps://www.ibm.com/weblog/using-event-notifications-in-your-deployed-solutions/”http://www.w3.org/TR/REC-html40/unfastened.dtd”>

IBM Cloud Event Notifications is a service that may filter and route occasions obtained from different IBM Cloud companies or customized functions to communication channels like e-mail, SMS, push notifications, webhook, Slack, Microsoft® Groups, ServiceNow, IBM Cloud Code Engine and IBM Cloud Object Storage.

This submit explores how one can create and configure the Occasion Notifications service utilizing an Infrastructure as Code (IaC) template (on this case, Terraform) and configure an instance utility to ship customized occasions. 

Structure overview

  • Utilizing an IaC instrument, the infrastructure engineer deploys and configures the widespread infrastructure elements which are required for a given resolution. On this instance, we give attention to the minimal elements required to reveal the utilization of the companies which are included:
    • Creating an occasion of Event Notifications.
    • Configuring sources, subjects, subscriptions and e-mail locations.
    • Configuring sources, subjects, subscriptions and SMS locations. 
    • Creating an occasion of Cloud Object Storage and authorization between the Occasion Notifications and Cloud Object Storage situations, sources, subjects, subscriptions and locations.
  • The developer creates a brand new Code Engine mission and deploys the applying to the mission. Though Code Engine is used on this instance, the applying may have additionally been deployed to a VPC digital server occasion or Kubernetes cluster.
  • The applying generates a brand new occasion to the Occasion Notifications occasion based mostly on an inner occasion within the utility. The occasion is delivered based mostly on the subscriptions and locations which are configured by the infrastructure engineer utilizing the Terraform template. All occasions obtained by this API supply are delivered to an Object Storage bucket.

The Occasion Notifications occasion is configured to allow lifecycle occasions and an API source to obtain each platform occasions and occasions from a customized utility that’s to be deployed by the applying developer.

Configuring for lifecycle occasions

The Terraform template allows the resource lifecycle events default supply and provides two filters for when new situations are created and deleted from the cloud setting. These occasions are reported by the IBM Cloud Useful resource Controller:

Configuring for utility occasions

The Terraform template creates a brand new API source for the customized utility occasions. It then configures a vacation spot and subscription to a newly created Cloud Object Storage bucket utilizing the private COS endpoints:

Producing the values required for the customized utility

The customized utility requires a number of items of knowledge to have the ability to ahead its occasions to the Occasion Notifications occasion. The template generates these values on the finish to allow them to be handed over to the developer.

  • The situation of the Occasion Notifications occasion (i.e., instance_location).
  • The distinctive identifier for the Occasion Notifications occasion (i.e., instance_guid).
  • A service credential is created for the applying on the Occasion Notifications occasion. This service credential has an api_key that’s wanted by the applying to authenticate and move occasions to the Occasion Notifications occasion.
  • Lastly, the api_source_name and api_source_id for the API supply is supplied.

Sending the customized occasion utilizing the values supplied

The applying developer can embrace the values supplied as setting variables to the applying. They’re used as proven under:

The payload within the occasion that’s submitted is diminished since we all know the subscriber to this occasion going will solely go to a Cloud Object Storage bucket. Extra properties needs to be added based mostly on the anticipated vacation spot channel (be taught extra within the documentation).

Getting began

I hope you’ll discover this instance helpful in your individual tasks. To get began, evaluate the README within the repository on GitHub for step-by-step directions on the right way to deploy this instance.

Questions and suggestions

You probably have suggestions, ideas, or questions on this submit, please attain out to me on LinkedIn. You too can open GitHub issues on the associated code samples for clarification.

Learn more about IBM Cloud Event Notifications



Source link

Tags: deployedEventNotificationsSolutions
admin

admin

Recommended

LogX Integrates Orderly Network to Revolutionize DeFi Perps

LogX Integrates Orderly Network to Revolutionize DeFi Perps

2 years ago
US House May Vote This Week To Overturn President Biden’s Veto on Crypto-Related Bill SAB 121

US House May Vote This Week To Overturn President Biden’s Veto on Crypto-Related Bill SAB 121

2 years ago

Popular News

  • Protocol-Owned Liquidity: A Sustainable Path for DeFi

    Protocol-Owned Liquidity: A Sustainable Path for DeFi

    0 shares
    Share 0 Tweet 0
  • Cryptocurrency for College: Exploring DeFi Scholarship Models

    0 shares
    Share 0 Tweet 0
  • What are rebase tokens, and how do they work?

    0 shares
    Share 0 Tweet 0
  • What is Velodrome Finance (VELO): why it’s a next-gen AMM

    0 shares
    Share 0 Tweet 0
  • $10 XRP Price Envisioned By Fund Manager As Ripple Mounts Trillion-Dollar Payment Markets ⋆ ZyCrypto

    0 shares
    Share 0 Tweet 0

Latest

Here’s How Much Ripple’s CTO XRP Holdings Would Be Worth If He Never Sold

Here’s How Much Ripple’s CTO XRP Holdings Would Be Worth If He Never Sold

May 8, 2026
Your electronics could be quietly draining energy – this gadget prevents that

Don’t connect your smart plug to these 5 household devices – an expert warns

May 8, 2026

Categories

  • Altcoins
  • Bitcoin
  • Blockchain
  • Cryptocurrency
  • DeFi
  • Dogecoin
  • Ethereum
  • Market & Analysis
  • NFTs & Metaverse
  • Regulations
  • XRP

Follow us

Recommended

  • Here’s How Much Ripple’s CTO XRP Holdings Would Be Worth If He Never Sold
  • Don’t connect your smart plug to these 5 household devices – an expert warns
  • After using Lenovo’s $2,600 Yoga, I’m taking premium Windows laptops seriously again
  • I started clearing my Roku cache, and it fixed my biggest TV complaint
  • The best VPN extensions for Chrome in 2026: Expert tested and reviewed
  • About us
  • Privacy Policy
  • Terms & Conditions

© 2023 TheBlockchainPage | All Rights Reserved

No Result
View All Result
  • Home
  • Cryptocurrency
  • Blockchain
  • Bitcoin
  • Market & Analysis
  • Altcoins
  • DeFi
  • Ethereum
  • Dogecoin
  • XRP
  • Regulations
  • NFTs

© 2023 TheBlockchainPage | All Rights Reserved