summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-08-31Release xacml 2.4.5 docker image for honoluluJim Hahn1-0/+8
Issue-ID: POLICY-3531 Change-Id: I266f0e7127f107e7960c73e54004f74239de35de Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-31Release xacml 2.4.5 artifacts for honoluluJim Hahn1-0/+5
Issue-ID: POLICY-3531 Change-Id: I4420d3e7a469f44f9075f0fb7ef23e1fc540d1d4 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-25Revert "Synchronize updates to xacml-pdp state"Jim Hahn2-12/+6
This reverts commit ead43f520102bc6201aadb770b5f289c9dc4691c. Reason for revert: Causing lock-ups in honolulu builds Issue-ID: POLICY-3531 Change-Id: Ia18ac9306ba406f59b3e939a3d4aafefe14407e6 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-19Synchronize updates to xacml-pdp stateJim Hahn2-6/+12
Perhaps this will fix the issue wherein xacml-pdp heartbeats continue to say "PASSIVE" even after it's set to "ACTIVE". Issue-ID: POLICY-3531 Change-Id: I6639ed7ca793a899f62e5c80b336408f5e8b2dc6 Signed-off-by: Jim Hahn <jrh3@att.com> (cherry picked from commit d3544f097cf6c67baf66578636d09c1148e01c50)
2021-08-07Leave xacml-pdp REST server always runningJim Hahn4-47/+20
Liveness checks depend on the xacml-pdp REST server being available. However, the REST server is only running when PAP puts it in an active state. Modified the code to always leave it running. In a subsequent review, we should split the healthcheck REST service onto its own port so it can be left running, while the other services are started/stopped in response to PAP active/passive requests. Issue-ID: POLICY-3531 Change-Id: I412064abaf91bb966d40adc46cee771b3a0a5dfc Signed-off-by: Jim Hahn <jrh3@att.com> (cherry picked from commit 031a0fe51dff21445034befc8a6d8732622acd07)
2021-08-04Bump versions to 2.4.5-SNAPSHOTjhh21-21/+21
Issue-ID: POLICY-3329 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ie7b92dc715df3330e3075b5c595627234a953528
2021-08-04Release xacml-pdp docker 2.4.4jhh1-0/+8
Issue-ID: POLICY-3329 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ie705a6b4c881bd0cf0c2bc0427433d90384a61bc
2021-08-04Release xacml-pdp 2.4.4jhh1-0/+5
Issue-ID: POLICY-3329 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I5b0786032a85c4256b6ae05addf41b20a7a51e14
2021-08-04Point to parent 3.3.2 common 1.8.2 models 2.4.4jhh1-3/+3
Issue-ID: POLICY-3329 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I2ef48eb8dc91ebc48acde4ad224b4798fb25a0fa Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-06-24Bump xacml-pdp 2.4.4-SNAPSHOTPamela Dragosh21-21/+21
Issue-ID: POLICY-3329 Change-Id: Ief1c99ea65df277a511254dc5f7074aa326adc98 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-06-23Release xacml-pdp docker 2.4.3Pamela Dragosh1-0/+8
Issue-ID: POLICY-3329 Change-Id: I41c52f5e8e2008864764e1a51f3c32bab8024785 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-06-23Release xacml-pdp 2.4.3Pamela Dragosh1-0/+5
Issue-ID: POLICY-3329 Change-Id: I08ea3c3a21d2c1f5706cdad3c7a01ad1158c6bc9 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-06-23Point to parent 3.3.1 common 1.8.1 models 2.4.3Pamela Dragosh1-3/+3
Issue-ID: POLICY-3329 Change-Id: Ibf52f20e1b4b06ebd256629cb135a7cc1346428a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-06-23Use protected methods vs privatePamela Dragosh8-31/+32
Application and common code in xacml-pdp is meant to be available for developers to re-use and/or extend as desired. Private methods are unnecessary at this time, but could be re-visited in a later release. For Honolulu, simply moving to protected to keep functionality the same. Possibly for Istanbul we can make more changes to support mixing of ONAP application with custom applications during runtime. Issue-ID: POLICY-3305 Change-Id: I6db23bda3c81fdbbf86e39cc2cd2e706d8bee63d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-05-21Remove csit folder from policy/xacml-pdpRam Krishna Verma9-297/+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: I54e93a2b43de0e4b36ac74a5cd94eda741bad5fa Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca> (cherry picked from commit 7293cbd3c0bf0043b663d036dcb7abe400a4e706)
2021-05-11Fix xacml-pdp csit test casesRam Krishna Verma1-12/+12
In the recent runs, it was found that get statitcs might take few seconds longer after the actual deployment of policies. So, increasing the "max" wait time for the test cases to 1 min. And it won't slow down the tests as the check will be made every 15 sec to verify if the assertions are passing. The moment they pass, it will move on. Issue-ID: POLICY-3257 Change-Id: I505c6e95e78a35b8bf1ee9921efbfcb4bd4874fb Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca> (cherry picked from commit 5503f7127cb02d6bfa02f432ca263bbdc72a5bfa)
2021-05-10Refactor policy/xacml-pdp csit testsRam Krishna Verma1-129/+70
* Removed the deprecated methods. * Removed duplicated code. * Created method hierarchy to improve the readability. * Updated the assertions on various tests. Issue-ID: POLICY-3257 Change-Id: If9562b19e1a9b16ee0d5a5211a557b4f818f62c3 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca> (cherry picked from commit 53335fa2c345755e253ae2e073f540608594e95f)
2021-05-10Update tutorials to point to honolulu imagesPamela Dragosh2-12/+12
These should point to released images so that the user can perform the tutorial without any problems. They can certainly update the docker-compose.yml with whatever image they want. Issue-ID: POLICY-3292 Change-Id: I85b9bb90bb959d0f1078238344c4aa25ef2b2a35 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com> (cherry picked from commit 07a780ed00e2d494707765951c227e19b5dec43b)
2021-03-30Change pap deploy response code to 202 for jmeterjhh1-4/+4
Issue-ID: POLICY-3108 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I04ef297c2a7941dd2d174ce2ce95337c0776efa4 (cherry picked from commit 96503deee83e83dbc5f9d44c91ed6f27535463bf)
2021-03-24Bump xacml-pdp 2.4.3-SNAPSHOTPamela Dragosh21-49/+70
Issue-ID: POLICY-3150 Change-Id: Icce931a507eb130a1aeeb16c34fc5046bacf20f6 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-03-23Release xacml pdp 2.4.2 docker8.0.0-ONAPPamela Dragosh1-0/+8
Issue-ID: POLICY-3150 Change-Id: Id5bd9eacd0eb853e39f2ba19a96f22e0592d72ae Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-03-23Release xacml pdp 2.4.2 java artifactsPamela Dragosh1-0/+5
Issue-ID: POLICY-3150 Change-Id: I38b70e9cbe8fc80e2b415361de11a098331139b9 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-03-23Point xacml to models 2.4.2Pamela Dragosh1-1/+1
Issue-ID: POLICY-3150 Change-Id: Ic4073b6ac119401aea875fcf982eb44859994206 Signed-off-by: Pamela Dragosh <pdragosh@research.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: Ia0c86441b1c95b45959be070015ea57f106d7002
2021-03-10Default to honolulu branchJim Hahn1-1/+1
Issue-ID: POLICY-3105 Change-Id: I4b99dd56e23ce559bbb0382f8136d1bd97c9444b Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-10Merge "add a sleep 5 sec for robot"Jim Hahn1-0/+1
2021-03-10add a sleep 5 sec for robotTaka Cho1-0/+1
add a sleep time to ensure the deploypolicies received Issue-ID: POLICY-2895 Change-Id: Ib21fdfb54ab2fe550a359f04a82cb355b354026d Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-03-09Bump xacml to 2.4.2-SNAPSHOTPamela Dragosh21-21/+21
Issue-ID: POLICY-3127 Change-Id: I586fc25f730b708d047999706fd74d6b965bb130 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-03-09Release xacml-pdp 2.4.1 dockerPamela Dragosh1-0/+8
Issue-ID: POLICY-3127 Change-Id: I1421920c16de5f9f9d8bf6208d022e4e4d987bfa Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-03-09Release xacml-pdp 2.4.1 mavenPamela Dragosh1-0/+5
Issue-ID: POLICY-3127 Change-Id: Iac7bb6264de5f5726926da94560d59a4c93ff16a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-03-09Point to released models 2.4.1Pamela Dragosh1-1/+1
Issue-ID: POLICY-3127 Change-Id: I1c3255e15bff18185705465ebbfc0db6cc0b5f22 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-03-05modify filename and path for csit - xcamlTaka Cho1-1/+1
after doing a test in jenkins sandbox found some errors have to be fixed. Issue-ID: POLICY-2895 Change-Id: Iaa470749f62dbd7c2f90ef9c7367176c6e70aa05 Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-02-26move xacml csit to xacml repoTaka Cho9-0/+355
move tests/plans to from csit repo to xacml repo Issue-ID: POLICY-2895 Change-Id: If8840f286c35136ae76314a6557cf186a9bf8a4a Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-02-24Update info.yaml in xacml-pdpRam Krishna Verma1-2/+2
Issue-ID: POLICY-3028 Change-Id: Ib7719f80c7927bb9b803cc7e4ef50cfc9c7a0071 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-23bump poms to 2.4.1-SNAPSHOTjhh21-21/+21
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I42c32bbb1ef6e275b8b3a0693492c7e4e61dd6eb
2021-02-23release 2.4.0 container imagejhh1-0/+8
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I76189f2d4a7f95018ce99dab9fca5064c16eac14
2021-02-23maven release 2.4.0jhh1-0/+5
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I24c82abf8ca5a769d20cbdb7dca9955f1896a0b7
2021-02-23use base policy-jre-alpine:2.2.1 imagejhh1-2/+2
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I3eed92d8f3014580565efebdabb4464d9e38f13e Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-02-23versions: 1.8.0 common, 2.4.0 models, 3.3.0 parentjhh1-3/+3
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I79a68a7e81040545bfdc1c4f738b85876a042da9 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-02-19Fix junit for "native" on WindowsJim Hahn1-2/+12
Windows doesn't like file names containing ":". Added code to replace ":" with "_", but only when the JVM is run on a Windows OS. Issue-ID: POLICY-3085 Change-Id: I1d3b6819bf564571eddda69e4c5fbd2bb807a3aa Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-18Fix sonars and target dirPamela Dragosh5-23/+21
Fix a couple of sonars introduced by the PdpType review. Also creation of a target directory below the xacml-pdp directory. Issue-ID: POLICY-3071 Change-Id: I9fe325d0a75970fbe3d42be36906013c1fc2ecb9 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-02-18Utilize time extensionsPamela Dragosh10-16/+379
Switched to using the new Time Extensions released in XACML from github v3.0. Added more thorough tests for it as well as the flexibility of specifying the current time etc. More syntax checking on the inputs from the policy. Issue-ID: POLICY-2810 Change-Id: I1b4ec885c706e37949e5dabe14c63b0d7456cd4f Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-02-17Fix wrong category for timeRangePamela Dragosh1-2/+2
The category is wrong, and will not work. So fixing this bug first before working in the changes for use new Time Extensions. I may make it all configurable. Issue-ID: POLICY-2810 Change-Id: I4a338242dd4ec35f9b45fa1f46609dea93e286a1 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-02-16Make xacml pdpType configurablePamela Dragosh15-24/+83
Adding code to enable the pdp type to be configurable. Issue-ID: POLICY-3071 Change-Id: I51c873f68bff1866c6b2e96958b6c33872aea2c8 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-02-11Fix sonars from dependency upgradeJim Hahn12-70/+50
The dependency upgrades in policy-parent caused some new sonars. In particular, initMocks() has been deprecated - replaced with calls to the Mockito Runner. Also removed unnecessary when() calls. Issue-ID: POLICY-2912 Change-Id: If386bd282635067a20045f2626af0cf5be49bc0e Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-10Upgrade dependenciesJim Hahn4-0/+4
Updated properties to work with the new version of eclipselink. Issue-ID: POLICY-3005 Change-Id: I88091a90387e235ef5c168de7a3275056327d83e Signed-off-by: Jim Hahn <jrh3@att.com>
2021-01-19Upgrade to xacml 3.0 github releasePamela Dragosh1-2/+2
Point to the newly release 3.0, which is JDK11 compatible and contains the latest time extensions. Simple ensuring that nothing is broken on our end. Issue-ID: POLICY-2810 Change-Id: Ic2fed1b57574ebd1b9eaaa19c19578a42ade5483 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-01-06Merge "Changed identifiers to concept identifiers"Ram Krishna Verma21-112/+130
2021-01-05use jre base 2.2.0 - xacmlTaka Cho1-1/+1
use jre base 2.2.0 Issue-ID: POLICY-2917 Change-Id: Id2683ff127fc1a290589e5295995f1d08481c50a Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-01-04Changed identifiers to concept identifiersliamfallon21-112/+130
The policy models tosca classes ToscaPolicyIdentifier and ToscaPolicyIdentifierOptVersion can be used to identify any TOSCA concept, not just TOSCA policies so they are renamed to ToscaConceptIdentifier and ToscaCinceptIdentifierOptVersion respectively. The class ToscaPolicyTypeIdentifier is redundant and is replaced by ToscaConceptIdentifier. Issue-ID: POLICY-2900 Change-Id: Id614bbed34ed8897e7e882b70147b98ffe90bf57 Signed-off-by: liamfallon <liam.fallon@est.tech>