aboutsummaryrefslogtreecommitdiffstats
path: root/packages
AgeCommit message (Collapse)AuthorFilesLines
2020-10-20Bump xacml 2.3.4 SNAPSHOTPamela Dragosh3-3/+3
Issue-ID: POLICY-2869 Change-Id: If8e944fce44ca0b613da9f92f4516049994fff86 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-07Bump xacml-pdp to 2.3.3 snapshotPamela Dragosh3-3/+3
Issue-ID: POLICY-2839 Change-Id: I78bf1cebb31c3c3c48d214fa755892b9a3a58323 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-09-24update default keystoresjhh1-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 Verma2-2/+3
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 Hahn3-3/+3
Issue-ID: POLICY-2789 Change-Id: I3f2c877874e5fbcd0520b811c984fa8d14b05435 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-25Add new Match application to XACMLPamela Dragosh2-0/+40
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-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-10Bump xacml-pdp to 2.3.1-SNAPSHOTJim Hahn3-3/+3
Issue-ID: POLICY-2695 Change-Id: I7be4fdd72aad0ab794a0d5a6919afec5998dad09 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-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-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-21Bump xacml-pdp master to 2.3.0-SNAPSHOTa.sreekumar3-3/+3
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.sreekumar3-3/+3
Change-Id: I753851b22200de1f69489d13a283832c469fab22 Issue-ID: POLICY-2514 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-04-15Bump xacml-pdp 2.2.2-SNAPSHOTPamela Dragosh3-3/+3
Issue-ID: POLICY-2378 Change-Id: I542884aed2acbef7e1c7e431f209ea61108e2048 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-08Build tarball with default profilejhh1-0/+3
Issue-ID: POLICY-1479 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I03c81bf67326f9b1a67cd04378e53814b6944718
2020-03-24Bump xacml-pdp to 2.2.1-SNAPSHOTJim Hahn3-3/+3
Issue-ID: POLICY-2378 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I819c9a356ca09e9baf75662bb6cd574540f41206
2020-03-18renew policy certs till 03/17/2021jhh1-0/+0
Issue-ID: POLICY-2402 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I111f60b9ef60ee9524808653be020f94ae9db170
2020-03-05Added xacml.properties to packages for native appChenfei Gao2-0/+40
Issue-ID: POLICY-2182 Change-Id: Ife38e989aeda445c9fc2531bb92426f2d28bb818 Signed-off-by: Chenfei Gao <cgao@research.att.com>
2020-03-01Point to docker 2.0.1Pamela Dragosh1-1/+1
policy/docker is released Issue-ID: POLICY-2378 Change-Id: I1ca967d48dca59d72d3490044ee499770d04f286 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-02-06Updating module names to resolve conflictsRam Krishna Verma3-4/+7
Issue-ID: POLICY-2355 Change-Id: I2933cf17fa790113eaaf8b9adc199c3b8fdc0e75 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-01-21Remove assembly warningPamela Dragosh1-10/+10
Use ${file.separator} Issue-ID: POLICY-2329 Change-Id: I1bca4f17ea562d656edc368aa8fc34d59206203d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-01-16Use alpine image for xacml-pdpJim Hahn1-3/+4
Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I4ed9fa70dd95d061f0cd4c81822853b92387e2f6
2020-01-16Add missing property file to xacml tarballJim Hahn1-2/+11
When attempting to run the xacml-pdp CSIT, the log file contains a complain about a missing apps/naming/xacml.properties file; it was missing from the tarball. Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Ie967efb9b82b0aabe513df9ea213867faca06840
2020-01-15Update policy-xacml-pdp for java11 dockerJim Hahn2-3/+3
Issue-ID: POLICY-1586 Change-Id: I6ff51d191a506297cbe69161114c0721b59bb5d2 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-01-14Update sonar configurationPamela Dragosh1-2/+7
policy/parent now has the configuration don't need to evaluate packages and testsuites Issue-ID: POLICY-2321 Change-Id: I957e0d69845afa2fed5907ab3edd8dcf69596a0e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-01-09Enabling logback file to be loaded using oom configmapa.sreekumar1-2/+7
Change-Id: Icda10390a6ff3b6b524907562050658f3b283afd Issue-ID: POLICY-2308 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-12-17Add SDNC naming applicationPamela Dragosh1-0/+31
Requires changes to StdMatchableTranslator to go deeper when searching for matchable attributes. NOTE: will re-visit the StdMatchableTranslator at a later date in order to support more robust Policy Types. And document best practices for defining matchables. Issue-ID: POLICY-1740 Change-Id: I291cf1c2e6eba0a677a3312dd11f0e56178a805b Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-11-15Changed Xacml-pdp to report pdp group defined in XacmlPdpParameters config fileHOCKLA2-2/+4
Ignore the pdp group specified in the PdpUpdate message. Updated junits and test resources. Issue-ID: POLICY-2229 Change-Id: I0c7a33c45424cef6440b0837e1dd22a7487c5d44 Signed-off-by: HOCKLA <ah999m@att.com>
2019-11-13Do not hardcode io.fabric8 pluginPamela Dragosh1-1/+0
policy/parent now has this defined Issue-ID: POLICY-2222 Change-Id: Ia054539a41f58dde26bf30d9d3b0f7f95da3b20d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-10-17override cert storesjhh1-3/+14
Issue-ID: POLICY-2064 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ia98f383de7e1946e49c1f2c6117f2065c84ad26e
2019-09-10Bump versions for xacml-pdp masterJim Hahn3-3/+3
Change-Id: I6ca46b3bbc9529c6fef5a332b224a4de69e3cdef Issue-ID: POLICY-2045 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-09-09Integrate using Policy Type to find MatchablePamela Dragosh1-0/+2
Utilize's Jim's helper class to pull from API policy types definitions so that Xacml PDP can determine which properties are "matchable". Override initialize to set translator parameters. Utilize the metadata section of ToscaProperties to store the matchable field. Updated Matchable Request to be dynamic with respect to the incoming resource attributes. Stored the policy types as JSON. Issue-ID: POLICY-1899 Change-Id: Icff3605495b0a34ebfcdfa54346095ce2d8468a4 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-09-03Change "pap" to "policy-api" in xacml-pdp configJim Hahn1-1/+1
The json config file is really only an example, but the example leads users down the wrong path, because it implies that xacml-pdp connects to "pap" to get policy type information, when it actually talks to "policy-api". Updated the config file. Change-Id: Id2a42264591acd37b7813673fdcaa790257a9d8a Issue-ID: POLICY-1911 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-08-30Get policy type from policy-apiJim Hahn1-0/+8
Added a class to retrieve a policy type from the policy-api. Updated property files to include parameters that are needed to configure it. Updates per review comments: - change PolicyApi to PolicyApiCaller - use HttpClientFactory - removed superfluous constructors from exception classes - changed parameters to use RestServerParameters instead of BusTopicParams Change-Id: I8aad6ca5a733c8ad9cc983496e745ebe7400dd17 Issue-ID: POLICY-1911 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-08-22update keystorejhh1-0/+0
Issue-ID: POLICY-1988 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I544a0bdf63582cdff74765d7fad1b7f993d0bfa0 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-08-07Bump version of policy/xacml-pdpJim Hahn3-3/+3
Change-Id: I2770d2803c79b5eb72b69bb6aa4a1da43a0f6a0b Issue-ID: POLICY-1965 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-30Fix guard table creation during startup issueMichael Mokry1-2/+40
- Added -hpolicydb to the mysql command in the script - Made this configurable by utilizing the existing parameters in xacml.properties for db connections. No OOM or CSIT changes should be needed now. PATCH UPDATE: - used Awk to extract property values - removed echo except one needed for the base64 command, as far as I can tell it is needed when assigning output to a variable, I tried to get it to work unsuccessfully. - added exit code 2 for missing properties as suggested by Jorge and Jim PATCH UPDATE: - remove echo from base64 using Jim's suggestion - Added code to remove escape backslashes from properties file, I didn't see these locally but when testing in windriver they show up in the xacml.properties file on OOM installs - More changes per Jorge's latest review Change-Id: I79c0502d8a4fadd2160785014fcb9db3c0faab5e Issue-ID: POLICY-1934 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2019-07-04Remove topic.properties and incorporate into overall config file for xacmla.sreekumar3-36/+14
Change-Id: I3be6248db65041f5d9b7acfcf0fcd2f49d9d70f8 Issue-ID: POLICY-1744 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-06-28Bump xacml-pdp to 2.1.1-SNAPSHOTPamela Dragosh3-3/+3
Released 2.1.0 Issue-ID: POLICY-1737 Change-Id: Ieb3015e9373a9a71a71f2811cbc6db9315d58109 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-28Remove POLICY_PDPX_HOME in policy-pdpx.sh and Dockerfileshaoqiu2-12/+12
Update the policy-pdpx.sh and Dockerfile according to the comments in commit: https://gerrit.onap.org/r/c/policy/api/+/89972 Issue-ID: POLICY-1702 Change-Id: Id46c108f5893d3e81e2038d9d5063b9f8a5eb5ee Signed-off-by: shaoqiu <tim.huang@est.tech>
2019-06-26Fix xacml-pdp latest tag2.1.0Pamela Dragosh1-12/+12
Eliminating the patch - using Rashmi's changes. Issue-ID: POLICY-1737 Change-Id: Iaacd198aeca5daef71e4356f7446e23b9c65d9ce Signed-off-by: Pamela Dragosh <pdragosh@research.att.com> Signed-off-by: pdragosh <pdragosh@research.att.com>
2019-06-18Create the operationshistory table from pdpxMichael Mokry5-5/+80
Added create table sql statement to the policy-pdpx.sh to create the operationshistory table during xacml-pdp installation Added changes per Jorge's review 1) Added sql file with create table statement 2) Added bash script to execute sql file 3) modified policy-pdpx.sh to execute new bash script 4) other changes Change-Id: Iaae63dc65db1ff9181de12928e072f04c87e50e7 Issue-ID: POLICY-1827 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2019-06-05Fix xacml docker chmodJim Hahn1-1/+1
The chmod in the docker builder for my local VM does not appear to support the "+x" style options. Modified the xacml docker file to use "755" instead. Change-Id: I6cba12e62d84f626e03b3aee33d50d71faa602c4 Issue-ID: POLICY-1829 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-05-30Bump xacml-pdp to version 2.1.0Jim Hahn3-3/+3
Change-Id: I231fa4c077db75d426278f6f718876bb2c76a8db Issue-ID: POLICY-1747 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-05-23Bump to 2.0.2-SNAPSHOTPamela Dragosh3-3/+3
Released 2.0.1 Issue-ID: POLICY-1700 Change-Id: Idc1d8602b276c9ad3199c57723dd053fb1dd48a3 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-16Bump snapshot 2.0.1Pamela Dragosh3-3/+3
Released so bumping to next patch Issue-ID: POLICY-1630 Change-Id: Ib91063848e1a757b0a251052ce8ec61dace85d88 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-14Changes to fix db connection issues in xacml-pdpMichael Mokry1-0/+4
Added code to copy the oom xacml.properties file to the proper directory Made change based on Jorge's comments Change-Id: I0c46a01ca4407fa4d18391ca9ad81d37a0f46969 Issue-ID: POLICY-1760 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2019-04-26Refactor xacml-pdp to remove various statics3.0.2-ONAPjh73581-82/+21
Refactored xacml-pdp to eliminate a number of static fields. Modified junit tests to allocate new ports for each test. Also modified XacmlPolicyUtilsTest to convert path names to match the file system so that the junit will work in OSs other than linux. Replaced logback.xml with a copy of the one from PAP to resolve some issues. Don't print entire message when discarding, as each PDP receives messages for ALL PDPs. Remove shutdown class from Main - just invoke this.shutdown() directly. Added additional comments to CommonRest. Also modified port test parameters. Change-Id: Id8bf7216cdcb59a1a2cb4cb957fa44f640315cfe Issue-ID: POLICY-1645 Signed-off-by: Jim Hahn <jrh3@att.com>