summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-08-18Release policy/pap8.0.2-PF-I12.4.6jenkins-releng8-8/+8
2022-08-17Point to released dependenciesRam Krishna Verma1-3/+3
Issue-ID: POLICY-4295 Change-Id: I47163f74c5655364cf6369022cafa14e3e689e7e Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2022-08-04Upgrade to oparent 3.2.1pdragosh12-114/+113
Issue-ID: POLICY-4211 Change-Id: I5c2eee7baf2c90764d80a652ede865630e8b91df Signed-off-by: pdragosh <pd1248@att.com>
2022-07-14Fix NPE in UpdateReq.reconfigure()Jim Hahn2-0/+15
While running CSIT to test heartbeat changes with multiple PAPs, observed an NPE in UpdateReq.reconfigure(). Modified the code to always use deployment lists instead of null lists. Issue-ID: POLICY-3460 Change-Id: I884e091817e88309330139a01d060e286bd42008 Signed-off-by: Jim Hahn <jrh3@att.com> (cherry picked from commit a87b9d9e191b4dee5d821db55d1ff4fd70b8d73a)
2022-07-11update policy models referencesliamfallon1-3/+3
updated policy models references *** This commit is generated by a PF release script *** Issue-ID: POLICY-4233 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I5dbc1b84e6f210c09e12c121dd252ee7fb40256d
2021-08-04Bump pap to 2.4.6-SNAPSHOTRam Krishna Verma9-9/+9
Issue-ID: POLICY-3329 Change-Id: I424f18feac5f5168437d3b275b85dc30ee342049 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-04Release pap 2.4.5 docker imageRam Krishna Verma1-0/+8
Issue-ID: POLICY-3329 Change-Id: I3132f793c1576bc22b342b6514e184c150b0eeca Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-04Release pap 2.4.5 versionRam Krishna Verma1-0/+5
Issue-ID: POLICY-3329 Change-Id: I84031904b0e316e7d17606f5807763da05a5875f Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-04Point to released dependenciesRam Krishna Verma1-3/+3
Issue-ID: POLICY-3329 Change-Id: Ie69e45a1151d5aad47fa360d5e64b672a6dbfd2f Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-07-13Limit statistics record countJim Hahn2-17/+28
Modified PAP, for Honolulu only, to limit the number of statistics records retrieved from the DB. Also added the recordCount parameter to the REST APIs, because otherwise it would only return one record. Issue-ID: POLICY-3485 Change-Id: Ib0820cfda95672f1bc6f879dfd2ac172e7b42f0d Signed-off-by: Jim Hahn <jrh3@att.com>
2021-06-30Add ability to turn on/off pdp statisticsRam Krishna Verma10-37/+61
Adding an ability in pap to turn on/off processing of pdp statistics. By default it will be turned on and can be changed via configuration. Issue-ID: POLICY-3450 Change-Id: I093fe3f1390769f9acf2cfe85dd0d4edf0539de8 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca> (cherry picked from commit 57e39b87ac53c128502110b64b06947e9e380d4e) Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-06-23Bump pap to 2.4.5Jim Hahn9-9/+9
Issue-ID: POLICY-3329 Change-Id: If8ce6c5c3570f43de54fa8aa868744d48dc87bed Signed-off-by: Jim Hahn <jrh3@att.com>
2021-06-23Release pap 2.4.4 dockerJim Hahn1-0/+8
Issue-ID: POLICY-3329 Change-Id: I00f73e360e16c984167da4d49fd9897c5e17c33f Signed-off-by: Jim Hahn <jrh3@att.com>
2021-06-23Release 2.4.4 pap artifactsJim Hahn1-0/+5
Issue-ID: POLICY-3329 Change-Id: I7dd44424f3b61e5288ea1f5d700aab18f3d34bb8 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-06-23Update dependencies for papJim Hahn1-3/+3
Issue-ID: POLICY-3329 Change-Id: If5e8c3c976412382cb0d37d0319dee84046fa571 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-06-02remove quoting the groups var in policy-pap.shjhh1-1/+1
Issue-ID: POLICY-3331 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Idccfa3761b9a7d9d8907f105a261c9c7c85e70c5
2021-06-02change shell entrypoint to use sh instead of ashjhh1-1/+1
Issue-ID: POLICY-3331 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I93cd25445345b901de50bc67a390485965aa2dfb
2021-06-01support external configuration of pdp groupsjhh6-43/+153
- modify policy-pap.sh to optionally provision a custom group if such a file is present. Issue-ID: POLICY-3331 Change-Id: Ib53bc14ee6b9471ab48f5a792b4283db3ed53b93 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-05-27Bump pap to 2.4.4-SNAPSHOTRam Krishna Verma9-9/+9
Issue-ID: POLICY-3329 Change-Id: I931a1a4e090f02a1c6e029d61f5d010bb6c4392d Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-05-26Release pap 2.4.3 docker artifactsRam Krishna Verma1-0/+8
Issue-ID: POLICY-3329 Change-Id: Id3fd55157e8e19211d74377f2dafa606c242330f Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-05-26Release pap 2.4.3 maven artifactsRam Krishna Verma1-0/+5
Issue-ID: POLICY-3329 Change-Id: I1b1de4239ec92568aef88fbfbacc069e23e1a8ee Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-05-21Remove csit folder from policy/papRam Krishna Verma6-272/+0
The csit test files for all repos have been consolidated in policy/docker to maintain them at single place and allow us to trigger verify jobs in gerrit reviews. Issue-ID: POLICY-3257 Change-Id: I8f80d6a8b56fd5c931f2ba1801c855c125d9704c Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca> (cherry picked from commit 47c4b4bf0940aa56bbf43b1ff7edc018b538019e)
2021-05-10Remove deprecated robot methods in pap csitRam Krishna Verma1-12/+12
Removing the deprecated methods from pap csit as they will be no longer supported by robot framework. Issue-ID: POLICY-3257 Change-Id: I2aab85a6704ab12b732ef97e23db6acd60e0e7c0 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca> (cherry picked from commit 574f1f7a1646e3d2ae87946df14cce5dbdaf1028)
2021-04-27Fixing issue where PdpHeartbeats are incorrectly processed by PAPa.sreekumar1-2/+6
The below 2 issues are fixed in this review: 1) When updating the policiesToBeUndeployed, the policies list in the message itself was getting removed, which resulted in incorrect processing. This was the reason for continuos UPDATE and STATE_CHANGE messages from PAP to PDP. 2) In case if the policy list in heartbeat doesn't include one or more policies that are supposed to be deployed(as per DB), the PAP should send UPDATE messages to PDP asking to deploy them too. But this was not working as the policiesToBeDeployed list was not getting initialized properly before getting processed. Change-Id: I06dbfd1d40bae8a510fc5500fbd38fb87c203c0d Issue-ID: POLICY-3248 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca> (cherry picked from commit cc70129c67ed6284c3d13593e6b19e19d73d3084)
2021-04-06PAP S3P jmx file changeswaynedunican2-29/+236
Issue-ID: POLICY-3110 Change-Id: I679dc16fedccda496e2030e8a0cc2e74b8787d9d Signed-off-by: waynedunican <wayne.dunican@est.tech> (cherry picked from commit f5ba0b3b0e2d1453cb2afccdf5c297e476b06eb1)
2021-03-24Bump pap to 2.4.3-SNAPSHOTDragosh, Pamela (pd1248)9-18/+20
Issue-ID: POLICY-3150 Change-Id: Ib8be045e437b9360739303d7630b995e1ef977a2 Signed-off-by: Dragosh, Pamela (pd1248) <pdragosh@research.att.com>
2021-03-23Release pap 2.4.2 docker8.0.0-ONAPDragosh, Pamela (pd1248)1-0/+8
Issue-ID: POLICY-3150 Change-Id: I40ad4c6d67910e27e6a9f1257d7b4942d935f71b Signed-off-by: Dragosh, Pamela (pd1248) <pdragosh@research.att.com>
2021-03-23Release pap 2.4.2 java artifactsDragosh, Pamela (pd1248)1-0/+5
Issue-ID: POLICY-3150 Change-Id: I886cf28d7cae22887a22d5f55a94e7b5186bb3c5 Signed-off-by: Dragosh, Pamela (pd1248) <pdragosh@research.att.com>
2021-03-23Point pap to 2.4.2 modelsDragosh, Pamela (pd1248)1-1/+1
Issue-ID: POLICY-3150 Change-Id: I0610d98b742ab1aee213ef68c81085cd6b15e18c Signed-off-by: Dragosh, Pamela (pd1248) <pdragosh@research.att.com>
2021-03-23Bump models to fix statistics in PAPJim Hahn1-1/+1
Honolulu PAP need the statistics fix from the newer version of models. Issue-ID: POLICY-3146 Change-Id: I70f6c326105b5956b57abd3cfbf771ff496a0acf Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-16Update policy-keystore with newer certificatesjhh2-0/+0
Issue-ID: POLICY-3139 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I728118f2eb691dddb93b36c832eb4c8a72e0d5af
2021-03-10Default to honolulu branchJim Hahn1-1/+1
Issue-ID: POLICY-3105 Change-Id: I7476e6b1826a3512de6772b49f79120e145be4c8 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-10Merge "Bump pap to 2.4.2-SNAPSHOT"Pamela Dragosh9-9/+9
2021-03-10Bump pap to 2.4.2-SNAPSHOTwaynedunican9-9/+9
Issue-ID: POLICY-3127 Change-Id: I0949f9e03a538e3f9ba463697885b799fd0b2acb Signed-off-by: waynedunican <wayne.dunican@est.tech>
2021-03-10Release pap 2.4.1 dockerwaynedunican1-0/+8
Issue-ID: POLICY-3127 Change-Id: I87b64768b13e376e38a670e3fb687b137050275b Signed-off-by: waynedunican <wayne.dunican@est.tech>
2021-03-10Release pap 2.4.1 maven artifactswaynedunican1-0/+5
Issue-ID: POLICY-3127 Change-Id: I9ef1b95a8f2591f6cbdd8106142d015ccd507567 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2021-03-10Point to policy-models 2.4.1waynedunican1-2/+2
Issue-ID: POLICY-3127 Change-Id: I97af3ae7c118cb5ec316a4b8bbb4c0bfff328f06 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2021-03-05Use models 2.4.1-SNAPSHOT in PAPJim Hahn1-2/+2
Done to resolve EntityNotFoundException in windriver lab and in junit tests. Issue-ID: POLICY-3125 Change-Id: I5dbdf732154ee725ae9555722cde5d1f2008223c Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-24Update info.yaml in papRam Krishna Verma1-2/+2
Issue-ID: POLICY-3028 Change-Id: Ic84724605ac2fc56c1391b0e0a2ad6f10e551545 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-23Bump pap to 2.4.1-SNAPSHOTRam Krishna Verma9-9/+9
Issue-ID: POLICY-3088 Change-Id: I74f23c31db609ca61592ec62b0594445bb8bf68c Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-23Release pap 2.4.0 docker imageRam Krishna Verma1-0/+8
Issue-ID: POLICY-3088 Change-Id: I1d7264a4808a787955f17537b4710f1585d92727 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-23Release pap 2.4.0 versionRam Krishna Verma1-0/+5
Issue-ID: POLICY-3088 Change-Id: I7bbbb1008e74e8245c1ae0b31a204b2548913e8b Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-23Point to released version of jreRam Krishna Verma1-1/+1
Issue-ID: POLICY-3088 Change-Id: I467866accd2d573478282560ebe81a7923f62dc9 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-23Point to released version of dependenciesRam Krishna Verma1-3/+3
Issue-ID: POLICY-3088 Change-Id: Ie1cfd8b08a48881738966b1ce86f5f9c88a6e537 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-22Support Policy updates between PAP and PDPswaynedunican11-28/+300
Change to send only the policies that need to be updated (deployed/undeployed) rather than full of policies to DMaap via the PDP_UPDATE message Issue-ID: POLICY-2112 Change-Id: I65f8bf46f230afb9d4b6937cb89af1d9f05d2fbd Signed-off-by: waynedunican <wayne.dunican@est.tech>
2021-02-22Merge "Refactor Pap code to use Instant from Date"Jim Hahn3-9/+10
2021-02-19Refactor Pap code to use Instant from Daterameshiyer273-9/+10
Issue-ID: POLICY-3069 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I0e1b8ccc41749cd53a299397c8399f833279df59
2021-02-19Update Pdp policy status during registration or State changea.sreekumar4-18/+180
The Pdp Policy Status is not updated during the pdp heartbeat handling/registration flow, or during State change. When a PDP goes down the pdppolicystatus gets cleared. But when the PDP comes back online, PAP deploys the right policies into it, but the deployment status was not getting updated. Similarly, when the State is changed to PASSIVE, the status should be undeployed, and when the state is changed back to ACTIVE, then the status should be deployed for any active policies in any PDP. These issues are fixed here. Updating postman collection. Also updating the csit test to check for 202 instead of 200 for the deployment api response. Change-Id: I1e05f22df23daaa8da8be1376413e995be2376f3 Issue-ID: POLICY-2526 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-02-18Update PAP CSIT to check 202 responseJim Hahn1-2/+2
Issue-ID: POLICY-2526 Change-Id: I3f4e1289fb4c8aeb4833d3e76b473cf36f907783 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-17Updating PAP deployment API to reflect actual statusa.sreekumar9-78/+535
Change-Id: I5281937fe5a742916c0c86983f71e280bbe126b2 Issue-ID: POLICY-2526 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>