summaryrefslogtreecommitdiffstats
path: root/main/pom.xml
AgeCommit message (Collapse)AuthorFilesLines
2019-04-09Adding PdpGroup query & statechange providersramverma1-0/+5
1) Adding implementation of PdpGroup Query & State change providers for PAP REST API. 2) Adding support for unregistering Pdp after recieving TERMINATED state in PdpStatus message. 3) Updating PdpStatusMessageHandler with new filter changes in models. 4) Removing updatePdpStatistics method as we will implement db provider and REST provider in next release. 5) Fixing few bugs found during Pdp registration testing. 6) Updating the existing test cases to work. 7) Will be adding more exhaustive test cases in another review. Change-Id: I7aa20bf422671fdc1e06dab5e90aef4ee19a6a02 Issue-ID: POLICY-1541 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-04-07Wrong models-pdp in papJim Hahn1-1/+1
Policy/pap was still referring to models-pdp instead of policy-models-pdp. Change-Id: Ia39647a7fe3d29fe5d67ee6f8f57a296f4cc4347 Issue-ID: POLICY-1542 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-03-25Changes to PAP infrastructure to support PDPJim Hahn1-6/+11
Modified PapActivator to implement the Startable interface and used that to manage it instead of the original method names. Replaced pdp-common enums with models-pdp enums. Added the use of the Registry. Added parameters to be used for PDP interaction. Added DAO interface classes. Modified HTTP client, in junit tests, to use GSON instead of Jackson. Removed DAO code, as the interfaces are not merged into policy/common yet. Added pdpParameters to default json config file. Changed tabs to spaces in json files. Removed "internal" classes that were moved to models-pdp. Change-Id: I969a7747e926680ad403557b44a0a52d289fb6d9 Issue-ID: POLICY-1542 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-03-13Add PDP Group Deploy and Delete REST API stubsJim Hahn1-0/+5
Note: this will not build until the models-pap code has been added. Added PDP group Delete methods, with and without version. Added checks for OK status codes. Added topic configuration. Still does not have the "simplified" PDP Group deploy/undeploy. Still won't build without "Move PDP Group classes to concepts subdirectory". Will add junit tests for code changes in another review. Updated comments about unlocking after updates. Made ServiceManager final. Included topic start/stop actions. Fixed parameter comment. Removed unneeded parameters from json files. Fixed argument test in shell script. Updated licenses. Change-Id: I6176d51918ae758e04fb68562dc9ca70534137d4 Issue-ID: POLICY-1542 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-03-04Receive PDP status messagesJim Hahn1-0/+5
Added infrastructure code to facilitate receipt and tracking of PDP status messages. Removed temporary PdpStatus class. Use variable for pdp-common version. Change-Id: Id76c45f26b6d9f5eb9395332b637a0b1e90bc496 Issue-ID: POLICY-1444 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-02-28Merge "Use Coder class"Jorge Hernandez1-4/+0
2019-02-28Reference lombok from parentPamela Dragosh1-1/+0
Policy/parent now declares lombok dependency - remove the version so that we are consistent. Also must change this repo to point to correct policy/parent. Issue-ID: POLICY-1547 Change-Id: I6530b7d34ba4f4bd826e07e9d27ec83d6be94b0d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-02-27Use Coder classJim Hahn1-4/+0
Modified existing PAP code to use the Coder class instead of Gson. Change-Id: I770d0adf201d7c1118085f85c36582e1143deb08 Issue-ID: POLICY-1444 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-02-27Add code to publish to PDPJim Hahn1-0/+16
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 namesjh73581-0/+6
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-07Adding statistics endpoint to policy/papramverma1-0/+6
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/papramverma1-0/+5
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 componentramverma1-0/+75
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>