aboutsummaryrefslogtreecommitdiffstats
path: root/examples
AgeCommit message (Collapse)AuthorFilesLines
2018-07-30Adding examples-servlet module to apex-pdpramverma10-0/+8278
Adding examples-servlet module to demonstrate the capability that apex-pdp can be simply started as a servlet deployed in any application server. Change-Id: I5c9e323f1468cc14c6277c0037029679d00cd751 Issue-ID: POLICY-861 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-07-27Fixing sonar bugs in apex-pdpramverma1-4/+4
Sonar was complaining about direct comparision of double values. Changed the comparision to Double.compare(d1,d2). Change-Id: I3821924e606180626434d5bc41e29b9a8451a9b2 Issue-ID: POLICY-861 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-07-25Renaming examples in apex-pdpramverma165-8/+8
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>
2018-07-25Adding more examples to apex-pdpramverma57-0/+3445
- Adding more examples (DecisionMaker, Periodic & ONAPvCPE) to apex-pdp. - Fixed CORS issue in plugin-event-carrier-restserver module. Added a ContainerResponseFilter to intercept every request/response coming to REST server and add the required headers to support CORS. Change-Id: Ic3e36c683f2a78992ce1417d2c00233b34066f2f Issue-ID: POLICY-861 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-07-19Adding examples module to apex-pdpramverma165-0/+25712
Adding examples (MyFirstPolicy, AADM, Adaptive, PCVS) to apex-pdp so that anyone can try out running few sample policies and understand how to create and run policies in apex-pdp. Change-Id: I0dff6d54ef94d8b5bdb63eabcb09e9f64d76fd0c Issue-ID: POLICY-861 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>