summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-05-03Fix HTTPS configuration on PDP-Aliamfallon2-5/+18
This review enables HTTPS for health check on PDP-A Issue-ID: POLICY-1732 Change-Id: I139a4c3ba043f978d1a75ae560037f713def1c1f Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-05-01Fix docker version for Apexliamfallon1-1/+1
Docker build is breaking, version of base alpine set in this review. Changed to use version 1.4.0. Issue-ID: INT-997 Change-Id: Icacb31e1fa9abef29930507fab7d53af125588e3 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-04-30Merge "Rebase image on policy-base-alpine"Liam Fallon1-15/+26
2019-04-30Rebase image on policy-base-alpineDmitry Puzikov1-15/+26
Issue-ID: INT-997 Change-Id: I1a39eaf9cc0fc546eafde10d0b81a90ed5d32b13 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-04-29Updating the supportedPolicyTypes in config filesa.sreekumar4-4/+4
Changing the supportedPolicyTypes in apex-pdp configuration files to "onap.policies.controlloop.operational.Apex" Change-Id: Ie92d5284fbd80da48318ce7863471876ccb380bb Issue-ID: POLICY-1632 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-04-29Merge "ONAP BBS: Apex Nomadic ONT bug fixes"Liam Fallon16-438/+714
2019-04-26ONAP BBS: Apex Nomadic ONT bug fixess0037034616-438/+714
Issue-ID: DCAEGEN2-1237 Change-Id: Ibc1b5a221af5eb28799764498b2751d99f5764f3 Signed-off-by: s00370346 <swarup.nayak1@huawei.com>
2019-04-25Changes to fix PDP-A not going to ACTIVE statea.sreekumar2-7/+19
PDP-A state will now change to ACTIVE even when the policy list is empty. When the state is ACTIVE and PAP sends a PDP_UPDATE with policies, PDP-A will start executing the policies. Change-Id: Icb5b139939698920d4fa3991dcca33536c6caefc Issue-ID: POLICY-1674 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-04-22Merge "ONAP BBS: Apex Nomadic ONT bug fixes"Jorge Hernandez17-309/+860
2019-04-22ONAP BBS: Apex Nomadic ONT bug fixess0037034617-309/+860
Issue-ID: DCAEGEN2-1237 Change-Id: I739f8e55113793f5cd4d3b70e0a1296d775bb414 Signed-off-by: s00370346 <swarup.nayak1@huawei.com>
2019-04-17Add DMaaP sim configuration filesliamfallon2-0/+38
Add configurtion files that work with the DMaaP simulator. Issue-ID: POLICY-1643 Change-Id: I719f9db4ec5273a32ba350811eb39b4238002341 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-04-16Merge "ONAP BBS: Apex Nomadic ONT Policy Implementation"Pamela Dragosh22-0/+1766
2019-04-16Bug fix as per Jim's commenta.sreekumar1-11/+6
Changing the PdpUpdate already handled check back to previous code. Change-Id: Icc195b5a8609fba8601dc151f62fdaf0c67b7be0 Issue-ID: POLICY-1632 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-04-16Merge "One year cert with new component names"Pamela Dragosh1-0/+0
2019-04-16Merge "Fix Security and Unit Test DB issues"Pamela Dragosh81-489/+706
2019-04-16Fix Security and Unit Test DB issuesliamfallon81-489/+706
This review removes more links to the Zookeeper version 3.5.4-beta with Zookeeper version 3.4.14. It also replaces the Derby in-memory database with the H2 in memory database for unit tests. Issue-ID: POLICY-1540 Change-Id: Ic44f2e866644114b7c0cf66aac7e528017b8206b Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-04-16Changes for RestServer support and some sonar fixa.sreekumar25-65/+939
1) Changes to add RestServer to the PDP-A for healthcheck. 2) Adding Junit testcases. 3) Fixing some sonar issues. 4) Fixing checkstyle issues. Change-Id: I03530190c733432d219284dda9d9d4cc32ab0773 Issue-ID: POLICY-1632 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-04-15One year cert with new component namesjhh1-0/+0
Change-Id: Ia3025f2a0eada4f53623bb45d5849ceddf368925 Issue-ID: POLICY-1580 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-15ONAP BBS: Apex Nomadic ONT Policy Implementations0037034622-0/+1766
Issue-ID: DCAEGEN2-1237 Change-Id: I81831f6498b6c47c0a43215e0445c791b12dac6e Signed-off-by: s00370346 <swarup.nayak1@huawei.com>
2019-04-15Fix security problem with Zookeeperliamfallon3-1/+15
Issue-ID: POLICY-1540 Change-Id: I5c549a1dffb21b54c81a44ba69ca49cb24732558 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-04-11Changes for packaging services-onappf and some refactoringa.sreekumar37-208/+302
1) Added the code for packaging PDP-A. 2) Updating the package names. 3) Updating the dependencies in services-onappf. Some dependencies can be removed as they are brought in while packaging. 4) Some other minor changes. Change-Id: Idf62d7854f3435806a9e8aa975138fbfd45e3ea8 Issue-ID: POLICY-1632 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-04-10Remove hibernate from apexliamfallon9-827/+1
Issue-ID: POLICY-1368 Change-Id: I67f448fc9d89eef4829cd6f999f5c21ac8ebff12 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-04-10Merge "Some changes and bug fixes for PdpMessage handling"Jorge Hernandez7-102/+229
2019-04-10Fix Kafka partiion support in APEXliamfallon1-3/+22
The kafka producer property ‘partitioner.class’ should be configurable via the EngineConfig.json file so that a specialized or custom Kafka partitioner can be used. Issue-ID: POLICY-1627 Change-Id: Ic36ccdf3d244ab932b58c3e2ae1cd668249726c5 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-04-09Some changes and bug fixes for PdpMessage handlinga.sreekumar7-102/+229
1) Updating pom file of services-onappf to fix dependency related issues. 2) Some changes to accomodate recent updates. 3) Fix for some issues identified during testing. Change-Id: I8150ed9858902ebbe12321a793770df3fdc7e773 Issue-ID: POLICY-1453 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-04-08Changes to handle PdpUpdate and PdpStateChange messagesa.sreekumar21-199/+1083
1) Adding listeners and handlers for PdpUpdate messages. 2) Adding listeners and handlers for PdpStateChange messages. 3) Some changes to accomodate recent changes in the models. 4) Test cases. Change-Id: I66644d94fd2a242738d9b0f78e5d0ece76342057 Issue-ID: POLICY-1453 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-04-02Changes to send pdp status messagesa.sreekumar19-55/+642
1) Adding handlers to create and send pdp status messages from apex-pdp. 2) Changes to read initial pdp status parameters from configuration file. 3) Adding test cases. Change-Id: Id2d1caa8abc124865a9ef8fbfe4d9f751e4491b5 Issue-ID: POLICY-1452 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-04-01Merge "Change vCPE example to use POJOs"Liam Fallon54-1166/+1927
2019-03-27Change vCPE example to use POJOsliamfallon54-1166/+1927
This review uses POJOs rather than Avro schema to unmarshal and marshal events from and to DMaaP. The POJO classes for interacting with DMaaP have been moved into a common policy module. This review is now ready for full review (finally!). Issue-ID: POLICY-954 Change-Id: Ibb89d8af5b9006821e6a0a756e16bbe3815af15a Signed-off-by: liamfallon <liam.fallon@ericsson.com> Signed-off-by: liamfallon <liam.fallon@est.tech> Signed-off-by: Liam Fallon <liam.fallon@est.tech> Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-03-26Adding services-onappf module to apex-pdpa.sreekumar22-1/+1553
1) Adding services-onappf module to apex-pdp. 2) Following the code base from policy/pap to build the module. 3) Currently PAP is using property & configuration file for bootstrap. Continuing the same in this module as well. 4) Adding relevant test cases. Change-Id: Id9740ea60ae3ecbd88e5d6d3586ee0dde1054cca Issue-ID: POLICY-1452 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-03-19Fix checkstyle/Sonar issues on juint/sonar fixesliamfallon33-341/+275
Recent changes to increase code coverage and fox Sonar bugs have introduced checkstyle and further Sonar issues. This review cleans those up. Issue-ID: POLICY-1523 Change-Id: I829217ef77d52e57f9713cfeee5b122e1f25efbc Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-03-19Use Assertions class from policy-commonliamfallon67-522/+302
Change import line in all classes that use the Assertions class, there are a lot of them. Issue-ID: POLICY-1264 Change-Id: I8480264be4e36348b3fc63acf1bc36e9c9dd250b Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-03-17Add NSS libraries to imagesJorge Hernandez1-1/+2
Alpine OpenJDK was updated 2 days ago (3/14), this upgrade seems to break java applications that depend on libnss*.so OS libraries, which seem are no longer installed with the jdk. Added some other libraries to aid when debugging. Change-Id: I80ba6a4e145f107219f4380da1cb90ede5ccc056 Issue-ID: POLICY-1604 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-15Update INFO.yaml fileJessica Wagantall1-3/+26
Update missing information blocks and indentation to pass verify job. Change-Id: I65eddd59fb920f656f20e696968e69c1bdf8e3df Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-03-14Merge "reduce too many method param"Jorge Hernandez3-135/+287
2019-03-14reduce too many method paramArindam Mondal3-135/+287
Issue-ID: POLICY-1535 Change-Id: Ia6f699d315ebd214257dc64d559a0ac4685307f5 Signed-off-by: arind.mondal <arind.mondal@samsung.com>
2019-03-11Fix sonar code smell issues in apex-pdpParshad Patel5-40/+307
Fix method has more than 7 parameters issues Issue-ID: POLICY-1535 Change-Id: I12d995e323bbdbe3762c903fcb116dfe81bf7b54 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-03-08Merge "Increase test coverage for plugins-event-carrier"Liam Fallon4-0/+439
2019-03-08Increase test coverage for plugins-event-carrierParshad Patel4-0/+439
Add basic JUnit test cases for plugins-event-carrier-restserver Issue-ID: POLICY-1513 Change-Id: I36e41bd05be71c44eb9e94350f4614437b0d205b Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-03-07Merge "Increase test coverage for plugins-executor-js"Jorge Hernandez7-70/+535
2019-03-06Merge "Increase test coverage for plugins-event"Liam Fallon4-0/+300
2019-03-06Increase test coverage for plugins-executor-jsHengye7-70/+535
Add junit test cases into apex-pdp/plugins/plugins-executor-javascript Issue-ID: POLICY-1523 Change-Id: Ie8017be2f7507fdb641a4020e13152c656cadf04 Signed-off-by: Hengye <yehui.wang@est.tech>
2019-03-05Increase test coverage for plugins-eventParshad Patel4-0/+300
Add JUnit test cases for plugins-event-carrier-websocket Issue-ID: POLICY-1513 Change-Id: I5f2a8dacfff4c14cf4a24e9258b5a551cecc1489 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-03-01Merge "Increase test coverage for plugins-executor-mvel"Pamela Dragosh7-15/+496
2019-03-01Merge "Increase test coverage for plugins-executor-jruby"Pamela Dragosh7-15/+416
2019-03-01Merge "Use Alpine as base docker image"Pamela Dragosh1-13/+5
2019-02-28Merge "Increase test coverage for plugins-executor-jython"Pamela Dragosh7-63/+506
2019-02-28Merge "Fix checkstyle problems on sonar fix"Jorge Hernandez3-200/+199
2019-02-28Merge "Update INFO.yaml Liam's email"Liam Fallon1-1/+1
2019-02-28Update INFO.yaml Liam's emailPamela Dragosh1-1/+1
est.tech Issue-ID: POLICY-1556 Change-Id: I1088e64016a15161ec979bf8de1af35835fa3c83 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>