summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-02-27Add code to publish to PDPJim Hahn6-1/+342
Added code to take an arbitrary object and send it to PDPs using a topic sink. Does not include the code or properties needed to configure the topic. Fixed method name - test case does not cover what the method name implied. Fixed some comments. Add test to verify that the PdpClient works with a real TopicSink. Moved coder classes to policy/common. Change-Id: I4dec746b07d384c5d9d1449ca91fa39a4f680260 Issue-ID: POLICY-1444 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-02-22Use constants for http property namesjh73584-24/+40
Modified the PAP REST server to use constants from policy-endpoints instead of hard-coding property names. Also made "alive" volatile. Also modified to use standard gson as the serialization provider to ensure that it will always work with gson. Removed unneeded constant. Removed trailing whitespace. Replaced another literal with a constant name. Updated licenses. Change-Id: Ibfc6d19ad4dae62ebd610d6127d1d253175ae71e Issue-ID: POLICY-1444 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-02-22Merge "Adds basic stability tests for Policy PAP"Liam Fallon5-0/+442
2019-02-21Adds basic stability tests for Policy PAPBilal A5-0/+442
Includes 1) Basic health check test 2) Statistics API test Change-Id: I89bd11e1f10a2b6cdd3cf440654f3415f21f9edb Issue-ID: POLICY-1460 Signed-off-by: Bilal A <bilal@research.att.com>
2019-02-21Add swagger annotations to PAP API'sramverma2-16/+34
Change-Id: I2adafa5957bb4ede76196c6ac887a45b3375ce48 Issue-ID: POLICY-1480 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-02-11Creating package & docker image of policy/papramverma12-0/+623
1) Creating zip package of entire policy pap. 2) Creating docker image of policy pap. Change-Id: I41bd705966e75e9cf501154da71f90d11ff2b3e1 Issue-ID: POLICY-1478 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-02-07Adding statistics endpoint to policy/papramverma17-34/+638
1) Adding statistics endpoint to policy pap component. 2) Introducing lombok libraray. 3) Adding configurable support for aaf authentication. 4) Adding configurable support for https communication. 5) Adding related test cases. Change-Id: Ib3131810c42fbd23878b97302da8d54f095da373 Issue-ID: POLICY-1482 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-02-05Adding healthcheck endpoint to policy/papramverma16-37/+639
1) Adding healthcheck REST endpoint to policy/pap using the policy-endpoints module in policy/common. 2) Added the related unit test cases. Change-Id: I6a215cceccc9cd42494aef1dfcdd46f0f3fd7d13 Issue-ID: POLICY-1477 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-01-31Create basic structure of pap componentramverma22-2/+1343
1) Creating the basic code structure of pap component which includes main sub-module having Main, PapActivator, PapCommandLineArguments, PapParameterGroup & PapParameterHandler. Along with few exception classes. Basicalliy the structure follows the pattern developed in policy/distribution component. 2) Created the related unit test cases and required test resources. Change-Id: I67c82f9d072e6c8a306cb983accb693da70e58a2 Issue-ID: POLICY-1476 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2018-10-25Upgrade policy/parent 2.0.0Pamela Dragosh1-1/+2
Policy parent v2.0.0 Issue-ID: POLICY-1213 Change-Id: I29ac8768b14072872da4a108173b9afd77230023 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-09-25Setup checkstyle and coveragePamela Dragosh2-20/+163
Added plugin management pieces for code coverage and checkstyle for future development. Added entries to gitignore for idea and checkstyle. Removed redundant version. Change-Id: Idca740a42b562e95319d5c196c1c3d5a0e16f214 Issue-ID: POLICY-1136 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-05-30Changing artifactId for consistencyramverma1-1/+1
Change-Id: I4e3a125a265c42d3987de09418aea54e4c9eb8d2 Issue-ID: POLICY-848 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-05-24Change pom to refer policy parentramverma1-68/+4
Change-Id: I32a2bc44ab87335738288de1b29c56339f4e17b4 Issue-ID: POLICY-848 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-05-01Merge "Update pap repo"Pamela Dragosh4-8/+10
2018-05-01Update pap repoPamela Dragosh4-8/+10
Updated license, readme and version to 2.0.0 Issue-ID: POLICY-771 Change-Id: I8b030a2733144bd7b117824dd4e02b10c687d39d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-04-30Add INFO.yaml fileJessica Wagantall1-0/+37
Add INFO.yaml to list: - Project description - Properties - PTL information - Meeting information - Committer information Change-Id: I96d1a9506d8fb811f7f164234c5c454c60b74368 Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-03-14Update oparent version to 1.1.0liamfallon1-1/+1
Directive from ONAP project that all repos should be updated. Change vierified with a build with .m2 /org/onap cleared. Change-Id: I8f92975e5f112d64967ca0f2c1cfa5dab56d524d Issue-ID: POLICY-693 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2017-09-08Cleanup project's name in SonarJessica Wagantall1-1/+1
The name parameter in the root pom.xml should match the project name in gerrit to reflect consistency in Sonar. Change-Id: I817524eff0554b5f9684de7b595ba6da81b07c7c Issue-id: CIMAN-65 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-09-08Removing duplicate version entriesPamela Dragosh1-3/+0
Seems oparent sets these and Eclipse dumps warnings that these are duplicates. Issue-ID: POLICY-216 Change-Id: I006cc0d4d77b452896cc86b2cd0461c0e3161ab2 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-08-17Add version.propertiesPamela Dragosh1-0/+13
Need this for deploy Issue-Id: POLICY-139 Change-Id: I12fc57cd208c3566cf4cb3d1fc5d874bdd9f861a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-08-17Add missing properties and distributionManagementPamela Dragosh1-0/+68
In order for the release jobs to execute successfully and the stage-site jobs to also succeed. Change-Id: I06be2aaee050517a5a04d7361190b554a4da0627 Issue-Id: POLICY-139 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-08-08First commit, adding parent pomPamela Dragosh5-0/+79
Issue-ID: POLICY-139 Change-Id: I93f9aa48a03d392028f5633a1bc6dd0ad8fd5ef3 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-06-20Initial empty repositoryJessica Wagantall0-0/+0