@info(name='execute-promocard-rules')
from RuleStream#window.length(1)
select RuleStream.messageId, RuleStream.promoCardTypeDiscount, js:eval(str:fillTemplate(RuleStream.promoRule, map:create("amount", RuleStream.amount, "cardPeriod", time:dateDiff(time:currentDate(), RuleStream.promoCardIssueDate, 'yyyy-MM-dd', 'yyyy-MM-dd'))), 'bool') as result
insert into RuleReslutsStream;
it will cause error
Caused by : java.lang.ClassNotFoundException: jdk.nashorn.internal.runtime.ParserException cannot be found by siddhi-script-js_5.0.3
and when i try to build image from base, ant download link is invalid.
Steps to reproduce:
just follow guide https://siddhi.io/en/v5.1/docs/guides/database-static-rule-processing/guide/
editor UI will raise error
jdk/nashorn/internal/runtime/ParserException
tooling log will rise error
Caused by : java.lang.ClassNotFoundException: jdk.nashorn.internal.runtime.ParserException cannot be found by siddhi-script-js_5.0.3
Description:
In guide https://siddhi.io/en/v5.1/docs/guides/database-static-rule-processing/guide/ demo app
ComboSuperMartPromoProcess
a featurejs:eval
it will cause error
and when i try to build image from base, ant download link is invalid.
Suggested Labels:
dependencies
Suggested Assignees:
I will provide a suggested PR @EurusEurus
Affected Product Version: version: https://github.com/siddhi-io/docker-siddhi/commit/ca2b604f378bc8535ec5ef89720b2bef88675ea2 Siddhi docker siddhiio/siddhi-tooling:5.1.2
OS, DB, other environment details and versions:
Steps to reproduce: just follow guide https://siddhi.io/en/v5.1/docs/guides/database-static-rule-processing/guide/ editor UI will raise error
jdk/nashorn/internal/runtime/ParserException
tooling log will rise errorCaused by : java.lang.ClassNotFoundException: jdk.nashorn.internal.runtime.ParserException cannot be found by siddhi-script-js_5.0.3
Related Issues: