aboutsummaryrefslogtreecommitdiffstats
path: root/examples/examples-myfirstpolicy/src/main/resources/examples/models/MyFirstPolicy
AgeCommit message (Collapse)AuthorFilesLines
2023-06-14Add AVRO example for MyFirstPolicywaynedunican15-0/+410
- Avro example added for MFP - Documentation review to follow - Avro schemaTypes created individally in .avsc files Issue-ID: POLICY-4691 Change-Id: I6be22763eeac9251d75b80f67052ba4ae7274f75 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-04-01My First Policy State Finalizer Exampleaditya.puthuparambil5-0/+350
Issue-ID: POLICY-1122 Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech> Change-Id: I552b58f39325982f1e26e59b352dfbe70cf35e7c
2020-03-11Convert examples to Rhino Javascript formatliamfallon8-3448/+105
All examples are converted to Rhino Javascript from Nashorn Javascript. Issue-ID: POLICY-2106 Change-Id: Ia6fec5b57b1e6131799b4b069968e4766ce54c96 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-03-09Use Rhino javascript executor in apex-pdpliamfallon10-98/+88
Integation unit tests resultd in StackOverflowException errors in the Graal Javascript interpreter. Following extensive testing and trouobleshooting, it proved very difficult to fix these issues in Graal as the stck overflow errors were occurring in native class instantiation methods being invoked by Grall on the JVM. The alternative Rhino Javascript engine is developed by mozilla, and was incorporated into the Java 6 JVM and evolved into Nashorn in the Java 8 JVM. Oracle dropped Nashorn in Java 11. However, in parallel, Rhino development has continued. This review brings in the Rhino javascript engine into apex-pdp as the replacement for Nashorn and instead of Graal. Graal seems to be pretty unstable as yet so we may bring it in in future releases but for now Rhino is a more stable and reliable alternative. Issue-ID: POLICY-2106 Change-Id: I0edeff3b0bee404b38e3ebe22001a6e3375a44dc Signed-off-by: liamfallon <liam.fallon@est.tech>
2018-07-25Renaming examples in apex-pdpramverma10-0/+4037
Renaming the examples as per what the documentation expects them. Otherwise the documents won't work. Change-Id: Ib9e30bf5a4cec0fec981372e1d9f3a0ee5d60f2f Issue-ID: POLICY-861 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>