DEV Community

tonipetov for Software AG Tech Community

Posted on • Originally published at techcommunity.softwareag.com on

3 1

Apama Cumulocity integration

More enhancements to using Apama with the Cumulocity IoT platform

The 10.5 release, in October 2019, brings Analytics Builder to cloud users, adds EPL samples to our on-line EPL editor, and makes it easier to invoke other microservices from Apama.

Cumulocity integration enhancements

Apama continues to evolve integration points with the Cumulocity IoT platform. In the 10.5 release:

  • Our inline tool for creating EPL apps has had a quality of life improvement in the form of a selection of helpful samples. These samples are available when editing and can form the basis of a new application or be the source of useful snippets of code. This will help shorten the length of time needed to create a simple application.

  • Analytics Builder - which was covered in depth in a previous TECHniques article - now supports:
    • Use in Cumulocity core (i.e. cloud) environments.
    • Hierarchical view of groups and devices in the palette. This helps for use cases where devices are organized with child devices and allows easy reference of which devices are within a group.
    • Blocks to send and receive events from Cumulocity Alarms, Operations and Managed Objects. This gives more flexibility in how models interact with devices or other services in Cumulocity.
    • Block Software Development Kit (SDK) to allow customers to build their own blocks in EPL. This allows customers to extend Analytics Builder to use proprietary calculations or integration to other services as needed. Blocks can be automatically tested with pysys test framework tests.
  • Using the Event Process Language (EPL)’s interface to Cumulocity, it is now easier to send a REST request to another microservice, either within an EPL app or a custom microservice using Apama. Credentials will be automatically picked up from the microservice environment, for example:
action responseCallback (Response resp) { 
    string objectId := resp.payload.getString("id");
    ... 
} 
... 
CumulocityRequestInterface cumulocity := CumulocityRequestInterface.connectToCumulocity(); 
Request req := cumulocity.createRequest("GET","/service/otherService/data", any()); 
req.setQueryParameter("type","object"); 
req.execute(responseCallback);

Summary

Apama continues to develop integration with Cumulocity. Stay tuned for more updates in the future.

To learn more, refer to the Cumulocity Analytics Guide for using the EPL editor, the Analytics Builder documentation and the Block SDK.

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay