aboutsummaryrefslogtreecommitdiffstats
path: root/packages
AgeCommit message (Collapse)AuthorFilesLines
2021-04-07Use sh instead of ash in xacml-pdpJim Hahn2-4/+4
Issue-ID: POLICY-3160 Change-Id: I168a7d4630c487dd9d219f25383cd2f4fd781028 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-19Delete keystores from xacmlJim Hahn1-0/+0
The Keystore is no longer needed in the tarball, as it is supplied externally by the CSITs and Helm charts. Deleted that file. Also modified the junits to use utils-test to generates keystores at runtime, thus deleted the junit keystore file, too. Issue-ID: POLICY-3143 Change-Id: If4966538452a16b22ea3a338eb9656a295641402 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-17Change RestServerParameters to BusTopicParamsJim Hahn1-2/+2
HTTP client parameters should be based on BusTopicParams instead of RestServerParameters, modified the policyApiParameters. Issue-ID: POLICY-3147 Change-Id: I73aa34bec3ab7e27e7a3474260f411ed55b6f933 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-16Update policy-keystore with newer certificatesjhh1-0/+0
Issue-ID: POLICY-3139 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ia0c86441b1c95b45959be070015ea57f106d7002
2021-03-11Bump xacml-pdp 2.5.0-SNAPSHOTPamela Dragosh3-3/+3
Issue-ID: POLICY-3105 Change-Id: I9fd03ff6a405b127c1eabbfe301f3b9ea8327aad Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-03-09Bump xacml to 2.4.2-SNAPSHOTPamela Dragosh3-3/+3
Issue-ID: POLICY-3127 Change-Id: I586fc25f730b708d047999706fd74d6b965bb130 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-02-23bump poms to 2.4.1-SNAPSHOTjhh3-3/+3
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I42c32bbb1ef6e275b8b3a0693492c7e4e61dd6eb
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-16Make xacml pdpType configurablePamela Dragosh2-0/+2
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-10Upgrade dependenciesJim Hahn1-0/+1
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-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>
2020-11-30move all bash to ash shell scripts - xacmlTaka Cho3-18/+13
bash scripts convert to ash Issue-ID: POLICY-2847 Change-Id: I181e353997d8874eaadd73d6c39594c04a856e4c Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-10-27Bump xacml-pdp master to 2.4.0-SNAPSHOTJim Hahn3-3/+3
Bumping minor version now that guilin branch has been created. Also repointed to snapshot versions for dependencies. Issue-ID: POLICY-2875 Change-Id: I145f638d6409f92cf916b08ace10a159d5e52c73 Signed-off-by: Jim Hahn <jrh3@att.com>
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>