Cumulocity-IoT / apama-analytics-builder-block-sdk

Apama Analytics Builder Block SDK
Apache License 2.0
9 stars 5 forks source link

TestFramework should inject Cumulocity_Utils.mon #7

Open haraldmeyer opened 1 year ago

haraldmeyer commented 1 year ago

This file contains a number of utility functionality (like formatting timestamps): https://documentation.softwareag.com/onlinehelp/Rohan/Apama/v10-5/apama10-5/ApamaDoc/com/apama/cumulocity/Util.html

as a workaround you can override preInjectBlock but it would be nice if the test framework did this already:

corr.injectEPL(['TimeFormatEvents.mon'], filedir=self.project.APAMA_HOME + "/monitors") corr.injectEPL(['Cumulocity_Utils.mon'], filedir=self.project.APAMA_HOME + "/monitors/cumulocity")

skom-c8y commented 5 months ago

This is tracked internally using PAB-4503