aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2020-06-15get cert store passwords from envjhh1-5/+2
Issue-ID: POLICY-2575 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Icd6395fe4403b1fc2dd838a5ecdd3295f42639d2
2020-06-02Merge "Use OperationsHistory from models"Pamela Dragosh13-116/+40
2020-06-01Use OperationsHistory from modelsJim Hahn13-116/+40
Deleted Dbao and replaced it with the shared class in policy-models. Also had to update the queries and the persistence.xml accordingly. Issue-ID: POLICY-2581 Change-Id: I59dfa2f37c272796ccebc0f578c9f4e8e1b9c8ab Signed-off-by: Jim Hahn <jrh3@att.com>
2020-05-29Use default serialization providerJim Hahn3-7/+1
The default provider has been changed to gson, so the provider property no longer has to be set. Issue-ID: POLICY-1527 Change-Id: I21f5a3af2bc1d7fc10dc41f58e6e62a04f4bda77 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-05-29Use snapshot versionsJim Hahn1-2/+2
Issue-ID: POLICY-2581 Change-Id: Ia88f76ff65efe806d3f51f9259471d8e88b65b20 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-05-28Merge "Point to parent SNAPSHOT"Ram Krishna Verma1-1/+1
2020-05-28Point to parent SNAPSHOTPamela Dragosh1-1/+1
Issue-ID: POLICY-2319 Change-Id: I2f2fe8f565bde0f5986e987e8541fb644241b2d3 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-05-27Merge "Change CLC logic for updated OPHist DB entries."Pamela Dragosh10-440/+54
2020-05-26Create secondary indicesJim Hahn1-2/+8
Modified the sql script to create the secondary indices. Issue-ID: POLICY-2581 Change-Id: If0bdaa9d8769e99bd47b8780251d96dba172b3e2 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-05-26Change CLC logic for updated OPHist DB entries.pramod.jamkhedkar10-440/+54
Change the CLC policy logic to match the udpate Operations History DB rules. Now if a record has outcome = Started, it is considered to be in progress. Else it is considered to be complete. Issue-ID: POLICY-2583 Change-Id: If3f626bfec2d0656e43a26929107f68ff27af020 Signed-off-by: pramod.jamkhedkar <pramod@research.att.com>
2020-05-21Add secondary indices to operationshistory tableJim Hahn1-4/+5
Queries to the operationshistory table will degrade substantially as more records are added to the DB. The Dbao class should be moved to policy-models, but for now we'll just update it in both places (i.e., drools-apps and xacml-pdp). Issue-ID: POLICY-2581 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Icc4529e56968ceda4d9b63a8ccea6ba219250506 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-05-21Bump xacml-pdp master to 2.3.0-SNAPSHOTa.sreekumar17-18/+18
Change-Id: I4e2a3a7a89eb3e59111c0a2bff70624d9f987abb Issue-ID: POLICY-2514 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-05-21Bump xacml to 2.2.3-SNAPSHOTa.sreekumar17-17/+17
Change-Id: I753851b22200de1f69489d13a283832c469fab22 Issue-ID: POLICY-2514 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-05-21Release xacml 2.2.2 docker image6.0.0-ONAPa.sreekumar1-0/+8
Change-Id: I8d3ba3c01708ed0876bfc1c135be7e9106803ce8 Issue-ID: POLICY-2514 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-05-20Release xacml-pdp 2.2.2 artifactsa.sreekumar1-0/+5
Change-Id: I1538a4c7eede93ae2c9e8274d9bb228546c26cf6 Issue-ID: POLICY-2514 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-05-20Changed cd path.pramod.jamkhedkar1-1/+1
Changed the path of coordination directive by removing src/main/resources Issue-ID: POLICY-2573 Change-Id: I46613e50ef464e0a61e0f177008520575c391c00 Signed-off-by: pramod.jamkhedkar <pramod@research.att.com>
2020-05-20Merge "Removing unused imports."Ram Krishna Verma1-5/+0
2020-05-19Removing unused imports.pramod.jamkhedkar1-5/+0
Issue-ID: POLICY-2573 Change-Id: I0fd392cb7027c56bb8fd4a6d9a0b3fd558dba495 Signed-off-by: pramod.jamkhedkar <pramod@research.att.com>
2020-05-19Point to released artifactsPamela Dragosh1-3/+3
Issue-ID: POLICY-2514 Change-Id: I4b4e68ced59d0ece261ec2f33f71f4f12494c699 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-05-19Change CLC granularity to CL level.pramod.jamkhedkar7-30/+21
Change CLC granularity from target level to CL level. Remove the target matching for the db query at PIP level. Issue-ID: POLICY-2573 Change-Id: If9ba1a4d22c3b8bc5dfce0632f7037ad085f6ea6 Signed-off-by: pramod.jamkhedkar <pramod@research.att.com>
2020-05-08Final blacklist fix for multiple entriesPamela Dragosh3-3/+12
The last change wasn't quite right, this has multiple AndOf's under a single AnyOf. Multiple AnyOf's are treated as AND's, but what we really want is a set of OR's. Issue-ID: POLICY-2490 Change-Id: I7336643302ccf7982c91a9c082d17bcf0adb4ac8 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-05-07type_version is now mandatoryPamela Dragosh6-0/+8
Per this review: https://gerrit.onap.org/r/c/policy/models/+/107250 Issue-ID: POLICY-2538 Change-Id: I0b7711c1adc73295092996cd3a1ec7979fd2b4ba Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-05-01Update S3P tests for xacml-pdpJim Hahn3-343/+2571
Modified jmeter S3P tests per new tosca models. Also added tests for "default" guard, naming, and optimization policies. Issue-ID: POLICY-2455 Change-Id: I4607fa0fb5bec1949c6daae6a00948310e1b5531 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-27Point to latest SNAPSHOTSPamela Dragosh1-3/+3
Pull in glassfish security fix and latest models/common/parent updates. Issue-ID: POLICY-2510 Change-Id: I9fb587781a37142f6c386db940d48bf74cd9d35e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-15Bump xacml-pdp 2.2.2-SNAPSHOTPamela Dragosh17-17/+17
Issue-ID: POLICY-2378 Change-Id: I542884aed2acbef7e1c7e431f209ea61108e2048 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-14Release xacml-pdp 2.2.1 docker imageRam Krishna Verma1-0/+8
Issue-ID: POLICY-2378 Change-Id: Ib5d2b16592f2f056f2f22cd3ce267457b660a3e2 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-04-14Release xacml-pdp 2.2.1 artifactsRam Krishna Verma1-0/+4
Issue-ID: POLICY-2378 Change-Id: Ib2ccb326b32f38c2c336df74c402318b5b836f57 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-04-14Point to released common/modelsPamela Dragosh1-2/+2
Issue-ID: POLICY-2378 Change-Id: I363d097abb35cfdf1cbb703be31a78e2748b0334 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-14Fix blacklist translator and vs orPamela Dragosh2-12/+30
The blacklist entries should be treated as an or (AnyOf) vs an and (AllOf). Issue-ID: POLICY-2490 Change-Id: Id4eb823e18c59d84d4ca28b13f6a09794d36365f Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-13Fix integer converted to doublePamela Dragosh2-4/+7
Use policy/common map double converter to ensure integers saved in policy content do not get converted to doubles. Issue-ID: POLICY-2486 Change-Id: I887c6b5c337e2594c425b645af4b2668d06715bd Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-11Point to released parent, common modelsPamela Dragosh1-3/+3
Issue-ID: POLICY-2378 Change-Id: Iacc2b01e7136ea9126bdb4943d1984a83c805a68 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>