aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-06-21Replace uses of getCanonicalName() with getName() in APEXa.sreekumar49-121/+118
Change-Id: Ifcd8866e65a7bc1238d5a4137f7bad288a5bfb3b Issue-ID: POLICY-1861 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-06-20Upgrade to release 3.0.0 parentPamela Dragosh1-1/+1
Policy/parent released Issue-ID: POLICY-1737 Change-Id: I55c99667e2775c934c7e1f41d2225facdecb121b Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-20Enable maven-checkstyle-plugin in apex-pdpa.sreekumar18-102/+123
Enable maven-checkstyle-plugin in apex-pdp/pom.xml to fail the build at warning level. Fix all the existing check style issues in the component. Change-Id: I4de9c1bd9ca5a2876de9086d2d3526cbdc25c080 Issue-ID: POLICY-1732 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-06-19Use io.fabric8:docker-maven-plugin to build and push docker imagesRashmi Pujar4-65/+132
Issue-ID: POLICY-969 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: Ia3c7c2d6b77d87848c344f212f4a0266db90426e
2019-06-19Fix junit tests in apex-pdpliamfallon4-313/+290
Sonar fix broke some of the junit tests for parameters; fixed those. Issue-ID: POLICY-1791 Change-Id: If39472b9936d5312a1d4109ad83610f5913d3e34 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-06-14Policy JSON formatting issues in APEXa.sreekumar1-7/+7
In APEX, the policy model currently needs to be escaped, otherwise causes json formatting issues. This is fixed. Change-Id: If9d5043acef0b175494be797fc7acd9c6c4f4494 Issue-ID: POLICY-1839 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-06-11BBS APEX policy not updating PNF attachment point after relocations003703464-5/+125
Issue-ID: POLICY-1835 Signed-off-by: s00370346 <swarup.nayak1@huawei.com> Change-Id: I47473444b58fa3b064ba142ce13c5e3520adb8c7
2019-06-06Merge "Removing rpm build option from apex-pdp"Jorge Hernandez1-153/+2
2019-06-06Merge "BBS Apex Policy vendor --> manufacturer and other"Jorge Hernandez6-38/+36
2019-06-06Removing rpm build option from apex-pdpramverma1-153/+2
Removing the commented rpm profile from pom of apex-pdp-package-full as the rpm build is no longer needed. Also, in ONAP build servers the rpm package is missing which leads to build failure. However, I have created a wiki under Policy R5 collboration area to document the steps needed to generate a rpm build if needed in fture. Change-Id: Ie3703f7bcf7b07d23c2d9de813583c29ea2af720 Issue-ID: POLICY-1121 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-06-06BBS Apex Policy vendor --> manufacturer and others003703466-38/+36
Issue-ID: POLICY-1831 Signed-off-by: s00370346 <swarup.nayak1@huawei.com> Change-Id: Ib1e60287c6209e1f16764d071e28facc75a12c6e
2019-06-04Fix apex docker chmodjrh31-1/+1
The chmod in the docker builder for my local VM does not appear to support the "+x" style options. Modified the apex docker file to use "755" instead. Issue-ID: POLICY-1829 Signed-off-by: jrh3 <jrh3@att.com> Change-Id: I99faa8a31e92243bcc28207afba40b2b680ba1bf
2019-06-03Remove POLICY_APEX_PDP_HOME in Dockerfileshaoqiu1-7/+6
To use POLICY_HOME not POLICY_XXX_HOME Issue-ID: POLICY-1702 Change-Id: I145164f662d2d0fdd94875e8bcacd4f7a669309a Signed-off-by: shaoqiu <tim.huang@est.tech>
2019-05-30Bump apex-pdp to version 2.2.0Jim Hahn87-91/+91
Issue-ID: POLICY-1747 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Iba1c6a80917a37cc63e2250a32df40046df9ee4f
2019-05-23Update Apex PDP Documentationa.sreekumar2-0/+412
Updating the Apex PDP documentation to support the new architecture. Change-Id: Ice4d91080d57504d10db24ada08757ae3d03afd3 Issue-ID: POLICY-1682 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-05-22Update INFO.yaml to add Jim and Ramliamfallon1-1/+17
Issue-ID: POLICY-1775 Change-Id: I5d3b555c6a089c7562d8b00584a5b3e2a616f880 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-05-21update apexApps.sh to support JMX connectionHengye1-0/+5
Issue-ID: POLICY-1781 Change-Id: Ic0dba48c67048dbafd4e2efa106b466f4dd4ca81 Signed-off-by: Hengye <yehui.wang@est.tech>
2019-05-16Step snapshot version of apex-pdpliamfallon87-87/+87
Issue-ID: POLICY-1630 Change-Id: I6dfce7eb33d9bc41caabf6b8842377b486de672d Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-05-14Upgrade to release policy/models4.0.0-ONAP2.1.0Pamela Dragosh1-1/+1
Release 2.0.0 Issue-ID: POLICY-1630 Change-Id: I2ccca4576253d066e219c367097d98d9594730ea Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-13Upgrade policy/parent & policy/common in apex-pdpramverma1-2/+3
Change-Id: If8120ba787fbd721f334c6f4d19df8d168ba9182 Issue-ID: POLICY-1630 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-05-09Merge "ONAP BBS Policy: CPE-Authentication event throwing error"Pamela Dragosh4-67/+23
2019-05-07Fix to accomodate recent changes in policy-models-toscaa.sreekumar3-5/+5
Recent change in JpaToscaPolicy require corresponding changes in PDP-A as the code was expecting a simple string earlier. This review contains the changes to fix this Change-Id: I3bbae264800b2c8bb8bdd61eae7b171028a85bc3 Issue-ID: POLICY-1739 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-05-03ONAP BBS Policy: CPE-Authentication event throwing errors003703464-67/+23
Issue-ID: POLICY-1734 Change-Id: I8d209afb67e9b46a7db516fce76977e679d7ab7b Signed-off-by: s00370346 <swarup.nayak1@huawei.com>
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>