aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-03-23Update policy-keystore with newer certificatesguilinjhh2-0/+0
Issue-ID: POLICY-3139 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ia0c86441b1c95b45959be070015ea57f106d7002 (cherry picked from commit 2cb02e53d2eb0374b13b92e87afaf86b0b4c7383)
2020-10-27Do not deploy tutorial codePamela Dragosh2-0/+18
The tutorial code is really only for developers to kick the tires, no need to deploy it to the repositories. Since we do not have rights to onap.policy.tutorials, any deployment will fail. Issue-ID: POLICY-2876 Change-Id: I61b91e090d8a517a24de5e87e08c016fcc54e6b0 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com> (cherry picked from commit e7d7b10533446a24a725e50f0d34e7e719ddfdd7)
2020-10-27Merge "Submit Policy Tutorials" into guilinPamela Dragosh32-0/+2844
2020-10-27Submit Policy TutorialsPamela Dragosh32-0/+2844
So app developers can more easily download and test client code etc. Issue-ID: POLICY-2876 Change-Id: I360cd0d637150cd0c2353c6284803f4438e96556 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com> (cherry picked from commit f0bd7f421948415b1c2f05cb39674f57f72218e0)
2020-10-27Point xacml-pdp to guilin branchJim Hahn1-1/+1
Issue-ID: POLICY-2875 Change-Id: Id82db5ed4e8a6b3ade46c71137384e65c36d26d2 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-10-23tweaks on jmeter stability script for guilinjhh1-82/+56
Issue-ID: POLICY-2833 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ic3d3f026c3af25a12193f18218ba3cde3ca665aa Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-10-20Bump xacml 2.3.4 SNAPSHOTPamela Dragosh18-18/+18
Issue-ID: POLICY-2869 Change-Id: If8e944fce44ca0b613da9f92f4516049994fff86 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-20Release xacml 2.3.3 docker7.0.0-ONAPPamela Dragosh1-0/+8
Issue-ID: POLICY-2869 Change-Id: I4164de63c33de7649399096290624fd62163b185 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-20Release xacml 2.3.3 javaPamela Dragosh1-0/+5
Issue-ID: POLICY-2869 Change-Id: I890bed298773fc271e1802c5cad1b77131a8e2f6 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-20Point xacml to models 2.3.5Pamela Dragosh1-1/+1
Issue-ID: POLICY-2869 Change-Id: I0619c6469b9b693c92feb1d5c9a717958c442526 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-07Bump xacml-pdp to 2.3.3 snapshotPamela Dragosh18-18/+18
Issue-ID: POLICY-2839 Change-Id: I78bf1cebb31c3c3c48d214fa755892b9a3a58323 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-07Release xacml-pdp 2.3.2 dockerPamela Dragosh1-0/+8
Issue-ID: POLICY-2839 Change-Id: I644f5e5e4cdff3321240aa24559c6fb3576984eb Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-07Release xacml-pdp 2.3.2 java artifactsPamela Dragosh1-0/+5
Issue-ID: POLICY-2839 Change-Id: I200f236557dd71a1de61f4aed877cabca68dd89d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-07Point to models 2.3.2 releasePamela Dragosh1-1/+1
Released models Issue-ID: POLICY-2839 Change-Id: I33e5d6c901c50d7d01493b712b2363c1b8ab40f9 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-02Remove duplicated codePamela Dragosh8-102/+55
Initially, just moving the applicationName and actions as protected fields got rid of the sonar issue. I included also the supportedPolicyTypes also. But that triggered another sonar duplicate code, so I had to rename a few private fields to rid that. Seems like a very sensitive sonar detection that results in kludgy code. Issue-ID: POLICY-2681 Change-Id: Ie79a95786cdb80381cbce4b182e9e66a2776e0dd Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-09-30Fix new sonars in xacml-pdpJim Hahn2-163/+62
Addressed the following sonar issues: - extract common test method - too many assertions in a test method Issue-ID: POLICY-2681 Change-Id: I7438be8286d52cd8479c66542fc785b27448972b Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-29Fix deployment of frequency limiter policyJim Hahn7-12/+12
Changed the artifact IDs of the xacml-pdp applications so they won't clash with other jar file names. Issue-ID: POLICY-2848 Change-Id: I844aaf6b2c4d81e52716d840b3a784873c6ce121 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-24update default keystoresjhh2-0/+0
Issue-ID: POLICY-2827 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Icbe559ceb51f34ec7596516ba0ebe735e086b312
2020-09-16Remove base64 encoding of password from xacmlRam Krishna Verma4-11/+6
Issue-ID: POLICY-2550 Change-Id: I05d9af99401991ea867e7ab8d697692c9020b3b7 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-09-14Use alpine base image 2.1.1Jim Hahn1-1/+1
Issue-ID: POLICY-2819 Change-Id: I680120b164881f69f094dd3c979f58eb0e158db8 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-09Bump xacml-pdp to 2.3.2Jim Hahn18-18/+18
Issue-ID: POLICY-2789 Change-Id: I3f2c877874e5fbcd0520b811c984fa8d14b05435 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-09Release 2.3.1 xacml-pdp docker imagesJim Hahn1-0/+8
Issue-ID: POLICY-2789 Change-Id: If4559cbab91f26733590ffb4fdfe702f8fc9168f Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-09Release 2.3.1 xacml artifactsJim Hahn1-0/+5
Issue-ID: POLICY-2789 Change-Id: I4acbc0d3c66fe1870bd7f781afeeaccbd2a67846 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-09Use released versions in xacml-pdpJim Hahn1-2/+2
Issue-ID: POLICY-2789 Change-Id: Ib708114ead0001e3c7be2d77f830d98f7bcba18c Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-04point to 2.1.0 policy-alpine base - xacmlTaka Cho1-1/+21
In G-rel, using 2.1.0 base. Issue-ID: POLICY-2789 Change-Id: I8d1e4387a210326ef356aa452e8f34ac89c143c4 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-08-25Merge "Add new Match application to XACML"Jim Hahn14-4/+552
2020-08-25Add new Match application to XACMLPamela Dragosh14-4/+552
Add new generic match application to XACML PDP. This app will allow ONAP users to design their own matchable policy types and use StdMatchableTranslator out-of-the box without any modification. Fills the gap left behind since "configure" via the Monitoring can support StdCombinedResultsTranslator, but the Optimization policy types have a specific "closest match" algorithm tied to them. Gives flexibility. removed unused import Issue-ID: POLICY-2596 Change-Id: I0aebae706fb9634e7bb13d78eff0ccc1ae4d752f Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-08-21Changes to make XACML container crash with non zero exitCodea.sreekumar1-2/+7
Change-Id: Id8c18b6888128a3efaa96f05d911fde5e6a92694 Issue-ID: POLICY-2757 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-08-19Remove old cdap policy typePamela Dragosh3-23/+4
Actually, this does not need to have any specific monitoring policy type designated because since Frankfurt we added the feature to support onap.monitoring.* Issue-ID: POLICY-2772 Change-Id: Ief24550c3e90b7a54ad3c1c381330580ca738798 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-08-18Fix sonar issue and add code coveragePamela Dragosh5-10/+92
Fixing too much complexity for GuardPolicyRequest by breaking it up into methods. Added more code coverage to guard translator. Added missing code coverage for coordination guard, it was below 66% and there were some trivial fixes that were needed. Seems that a test resource was never really used, or perhaps got omitted in a previous review. Issue-ID: POLICY-2590 Change-Id: I1be4ff166e6c43c1c4ea54fdf7e761e22adcaa2d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-08-17Add new guard filter policy type featurePamela Dragosh12-35/+636
* Added new Policy Guard filter Policy type. * Enhanced translator tests to ensure bad filter policies are detected. * Added new filter application test to ensure new guard propertly creates xacml policies. Issue-ID: POLICY-2590 Change-Id: Ifc047a33084ce45b67be98a61f660d7a8c9d8615 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-08-14Cleanup unused imports and deprecated methodsPamela Dragosh2-6/+4
Eclipse reports 2 unused imports and deprecated methods. Does not show up in sonar, but these are simple fixes. Issue-ID: POLICY-2590 Change-Id: I41b4b43e8d1d5e88c66a368b47482ef20297a4c1 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-08-03environment variables to support cert. store pathsjhh1-7/+10
Issue-ID: POLICY-2615 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I8360ee5f3bf30c0ea00b58a1f891ef46e9ea9f00
2020-07-31Update info yaml in xacmla.sreekumar1-12/+16
Change-Id: I43ed3a85e462327ad45370efcdde3d27f4a79e0f Issue-ID: POLICY-2738 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-07-24Add Ajith to policy/xacml-pdp infoJim Hahn1-17/+11
Issue-ID: POLICY-2738 Change-Id: I70febaab7c132b6860a4038c4f89dc19c6826a94 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-21Add postman collection for decision apiRam Krishna Verma1-0/+242
Adding postman collection for decision api's supported by xacml-pdp. Currently it is updated as per Guilin first release. Idea is to update this along with any change in api's. Once this is merged, will create review to point policy documents to this collection. Issue-ID: POLICY-2727 Change-Id: Iff516528e4b858f559da2324b4fa53e7426d201d Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-07-17Refer to snapshot versionsRam Krishna Verma1-2/+2
Issue-ID: POLICY-2695 Change-Id: Ie6d4d900610b818b81d8ce92f4bbbefb8d199da5 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-07-10Bump xacml-pdp to 2.3.1-SNAPSHOTJim Hahn17-17/+17
Issue-ID: POLICY-2695 Change-Id: I7be4fdd72aad0ab794a0d5a6919afec5998dad09 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-10Release xacml-pdp docker 2.3.0 artifactsJim Hahn1-0/+8
Issue-ID: POLICY-2695 Change-Id: I9e7ba1ec8744b9631a7f0bdb07f72efa1e777755 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-09Release xacml-pdp 2.3.0Jim Hahn1-0/+5
Issue-ID: POLICY-2695 Change-Id: I4e392e7a5a014d544293c1c822dfbf077ea46a8c Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-09Refer to released versions in xacml-pdpJim Hahn1-3/+3
Issue-ID: POLICY-2695 Change-Id: I0baedd8711c0886107c48dd99a1b4419949ad791 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-07Add fetch timeout to xacml-pdp propertiesJim Hahn1-1/+2
When an error occurs fetching from DMaaP, xacml-pdp should not try again immediately, but should wait a little bit before retrying. Added the the fetch timeout property to prevent it from defaulting to -1 when retrying. Issue-ID: POLICY-2702 Change-Id: I1b3432854d1e3c68836cf81779e22105a6236fca Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-02Merge "Updating XACML dependencies to latest version"Jorge Hernandez1-2/+1
2020-07-01Replace try/catch blocks with assertj - xacml-pdpwaynedunican4-50/+37
Replaced try/catch blocks in policy/xacml-pdp with assertj assertions Issue-ID: POLICY-2451 Change-Id: I3e6947a61e0000561c7053a1cdede9ae5825e5ca Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-07-01Updating XACML dependencies to latest versionRossC1-2/+1
Issue-ID: POLICY-2387 Change-Id: Ia8b5774b6b43e175c86f35ee1468b18d2a151f92 Signed-off-by: RossC <ross.carter@est.tech>
2020-06-30Fix more sonars in xacml-pdpJim Hahn1-2/+3
Somehow missed this sonar issue in one line of code: - invoke only one method in a junit lambda Issue-ID: POLICY-2681 Change-Id: I03a6708e0d3ed2a43577a63d0f3cdfc9bd76c8d8 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-06-29Fix issues in xacml-pdp for new sonar rulesJim Hahn11-44/+40
Addressed issues reported due to updates to the sonar rules: - invoke only one method in a junit lambda - complete the assertion - use assertThat().exists(), canRead(), etc. Issue-ID: POLICY-2681 Change-Id: I2935f4d0295244ab3b11a57a3bc401c64b695fd1 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-06-19xacml-pdp remove onap-java-style from pomTaka Cho1-38/+0
Changes for Checkstyle 8.32 Issue-ID: POLICY-2188 Change-Id: Ib7605206d43291f582c035fb84f9c1c55d66d8b3 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-06-19Changes for Checkstyle 8.32Taka Cho17-50/+32
Issue-ID: POLICY-2188 Change-Id: I64a115240a71e5014db9cfb66747887e156afb50 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-06-19xcaml-pdp sonar issue fixesTaka Cho3-12/+12
replace with '<>' and assert statements Issue-ID: POLICY-2616 Change-Id: Id999d3299918491c06918caaa28c44e2148574bc Signed-off-by: Taka Cho <takamune.cho@att.com>