summaryrefslogtreecommitdiffstats
path: root/packages
AgeCommit message (Collapse)AuthorFilesLines
2020-08-17Preload new guard FilterPamela Dragosh2-0/+2
New guard filter should be pre-loaded. Issue-ID: POLICY-2590 Change-Id: I4c7338400a05f9e766c14f2477e84b10ac0a7f06 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-08-10Remove legacy operational policy from api configRam Krishna Verma2-2/+0
Issue-ID: POLICY-2762 Change-Id: I3aa89da0869d4b55fd1e02a1b84bd902f1d54e40 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-08-03environment variables to support cert. store pathsjhh1-6/+8
Issue-ID: POLICY-2615 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I43f2a684590c5427051fa03bdf9ab0f73dab7085 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-07-10Bump api to 2.3.1-SNAPSHOTRam Krishna Verma3-3/+3
Issue-ID: POLICY-2695 Change-Id: Ic53e2b74f63962426fa8d91d1d85a82d80d7af60 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-06-15get cert store passwords from envjhh1-4/+1
Issue-ID: POLICY-2575 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iba95d843d0cbf38e878915e6db742d5a74a03a5c
2020-05-19Bump api master to 2.3.0-SNAPSHOTJim Hahn3-3/+3
Issue-ID: POLICY-2514 Change-Id: I96a04bc18d92bf63e8fdf3a0b19a695d062633bb Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-24Point api to new parentJim Hahn3-3/+3
Issue-ID: POLICY-2510 Change-Id: Icc055f13ed43ade9c86d9402c1d27ea9ad3e4f9a Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-15Bump api to 2.2.3-SNAPSHOTRam Krishna Verma3-3/+3
Issue-ID: POLICY-2378 Change-Id: I9b20aa5dcdb6517b1abfba2725a19a77e98bb217 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-04-14Bump api to 2.2.2-SNAPSHOTRam Krishna Verma3-3/+3
Issue-ID: POLICY-2378 Change-Id: I29affc99176950f463f7bb8fc41af883e709c4ca Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-03-24Bump api to 2.2.1-SNAPSHOTPamela Dragosh3-3/+3
Issue-ID: POLICY-2378 Change-Id: Ia7b147ebfb6e3222310116da644ac4c820093fe5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
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: I1225afd76b3715500fb398f5151c3d99509e4d88
2020-03-06Removing legacy guard from policy/apiRam Krishna Verma2-6/+8
Renamed the guard policy types per this review: https://gerrit.onap.org/r/c/policy/models/+/103127 Issue-ID: POLICY-2243 Change-Id: I35ef95756483c869d374f36d0a1dfe6b588444c7 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-05Apply policy/models native drools policies changesjhh2-4/+2
Issue-ID: POLICY-2388 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I99da7247540101253206aac93a8da290d9389f8d
2020-03-01Point to docker 2.0.1Pamela Dragosh1-1/+1
Release docker 2.0.1 Issue-ID: POLICY-2378 Change-Id: Ib839cb1a5e8db9e815d41c42421839255072f658 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-02-25Preload default policiesChenfei Gao2-17/+28
Issue-ID: POLICY-2317 Change-Id: I5794e617ea4fb99caf6e7a974a4886e72605979c Signed-off-by: Chenfei Gao <cgao@research.att.com>
2020-02-06Updating module names to resolve conflictsRam Krishna Verma3-6/+9
Issue-ID: POLICY-2355 Change-Id: Ie54b9be776a96f02a62645cc804060e562d994ba Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-02-04Preloading Tosca compliant operational policy type for apex-pdpa.sreekumar2-2/+4
Change-Id: I544e275758945007b4d68d0a6b069f5963780178 Issue-ID: POLICY-2147 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2020-01-21Remove assembly warningPamela Dragosh1-3/+3
Use ${file.separator} Issue-ID: POLICY-2329 Change-Id: I1e5def27e5cc87c86872c13df3db1347543e60e7 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-01-20preload tosca compliant operational policy typesjhh1-0/+1
Issue-ID: POLICY-2148 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I59dc7c4afbf201233d4cbf0240b011e59225864f Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-01-16Use alpine image for policy-apiJim Hahn1-4/+3
Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Ie6ea1f8dffdc6c859f5f09b726e0ed7a65b62f68
2020-01-15Switch to debain for policy-apiJim Hahn1-1/+1
Use the latest jre image for now. Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Ia5e57a5c94fbe40940c6b0b02c1127fd448abcf8
2020-01-15Merge "Update sonar config"Ram Krishna Verma1-1/+5
2020-01-14Update policy-api for java11 dockerJim Hahn2-3/+3
Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Ifeb693b4849dfd07057d2139b9f5b58e2ce3f0e5
2020-01-14Update sonar configPamela Dragosh1-1/+5
Removed configuration that will be in policy/parent. Ignore sub-modules that don't have source code - slight speed improvement. Issue-ID: POLICY-2321 Change-Id: I6f483f80510050347452bd85af5340e81402bbc6 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: I839b687716a72e2538495b46660fa697cdc2f4f8 Issue-ID: POLICY-2308 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2020-01-02Speed up tests on policy-apiliamfallon1-3/+29
Test initialization and shutown of h2 database and REST server only done once at beginning of all API unit tests. Duplicate tests removed, all test done to persistent database and other minor improvements. We need to check coverage after this review, ti may have dropped by a few percent. We should design new tests to bring the coverage back up again. Issue-ID: POLICY-2297 Change-Id: I7ccb9835e01e08c284fdc4602e3a00e946b5e902 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-12-11Update preload optimization typesPamela Dragosh1-9/+11
The type names were updated and added 2 new types. Issue-ID: POLICY-2066 Change-Id: Ibbd149dec1809a9a815a5f6b64a8e7855fcc2010 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-12-06Preloading native policy type for apex-pdpramverma2-2/+4
Preloading native policy type for apex-pdp so that policies can be created and deployed using this policy type. Removed few test cases not working on windows. Issue-ID: POLICY-2279 Change-Id: I8e462118ee21e92fcb862ef94a6d15aec1b893c6 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-11-25Preload the policy types for native policiesChenfei Gao2-2/+8
Issue-ID: POLICY-2212, POLICY-2213 Change-Id: I03be8132699b5af9ea60a06cb0e1332c05886ad9 Signed-off-by: Chenfei Gao <cgao@research.att.com>
2019-11-19Build tar.gz without requiring docker image buildjhh1-0/+3
This allows the tar.gz to be released by LF jobs. Issue-ID: POLICY-2250 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I1e35705c60b7daa86364dd9ca308a6b6708f4ae5
2019-11-13Added changes to make the list of preloaded policy types configurableChenfei Gao2-2/+42
Issue-ID: POLICY-2210 Change-Id: I84b512a783c1fdc0834cf79bdce4c48a7803b884 Signed-off-by: Chenfei Gao <cgao@research.att.com>
2019-11-08Do not hardcode io.fabric8 pluginPamela Dragosh1-1/+0
policy/parent now has this defined Issue-ID: POLICY-2222 Change-Id: I0fde39c1bce25ee8f0e0c1dfd773963dc4bdf6ff Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-10-17override cert storesjhh1-0/+10
Issue-ID: POLICY-2064 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I50b0583bfdf940ed1a4d7a7ac511267c715b7223
2019-09-10Bump versions for api masterJim Hahn3-3/+3
Change-Id: Ic9789f0041e463891d675baac32a7619d9a5bfd4 Issue-ID: POLICY-2045 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: Ia3878cad1ec0eb22b21b09531ed99d33c4d104f2 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-08-13Disbale Jetty messagesBilal A1-0/+2
Issue-ID: POLICY-1771 Signed-off-by: Bilal A <bilal@research.att.com> Change-Id: I0fbf300af65e5500c3cc8e7bddf43bb29d988471
2019-08-07Bump version of policy/apijrh33-3/+3
Change-Id: I919625bd6a439d27c84389a046f6a5545e6f1911 Issue-ID: POLICY-1965 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-06-28Add curly braces in shell script fileshaoqiu1-2/+2
According to comment: https://gerrit.onap.org/r/c/policy/xacml-pdp/+/90495/1/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh#43 Issue-ID: POLICY-1702 Change-Id: I105fe178c9d724f6e443aa2cff49ae02c76b67ca Signed-off-by: shaoqiu <tim.huang@est.tech>
2019-06-26Bump api patch to 2.1.1Pamela Dragosh3-3/+3
Released 2.1.0 Issue-ID: POLICY-1737 Change-Id: I65909e110fd5cb7b8d99863e161562235025a9bd Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-25Remove POLICY_API_HOME in Dockerfileshaoqiu2-12/+12
To use POLICY_HOME not POLICY_XXX_HOME Issue-ID: POLICY-1702 Change-Id: I14e3415f1ee00cd7a82b0d1768eb6c1ab8775424 Signed-off-by: shaoqiu <tim.huang@est.tech>
2019-06-07policy/api must publish docker images with tag X.Y-SNAPSHOT-latestRashmi Pujar1-13/+13
Issue-ID: POLICY-1808 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: Iedd6b7ef98524424ac104e18285a10bb76cd29cc
2019-06-04Fix api 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 api docker file to use "755" instead. Change-Id: Idf376d0d4e2a44ee5a605b473b0307d8770b4ced Issue-ID: POLICY-1829 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-05-30Bump to version 2.1.0Pamela Dragosh3-3/+3
New snapshot due to branch Issue-ID: POLICY-1747 Change-Id: I8f82950ec863987322c39fb7254f9ea8b5d7f471 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-23Bump to 2.0.2-SNAPSHOTPamela Dragosh3-3/+3
Released 2.0.1 Issue-ID: POLICY-1700 Change-Id: I75e2ea1e32dca747f1e093d352909818513f0820 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-16Step snapshot version of policy-apiliamfallon3-3/+3
Change-Id: I41df0fbcb1e3e830ad3e0b93c8a2dc42cf7e2ffb Issue-ID: POLICY-1630 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-04-24Add exact version of parent imageDmitry Puzikov1-2/+2
Change-Id: I70b6f703e7eaf63c348df75e15b93a42834b2b3e Issue-ID: INT-998 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-04-24Rebase api image on policy-common-alpineDmitry Puzikov2-20/+6
Issue-ID: INT-998 Change-Id: I7d128035bb94db860036d9f80151439e79aac8f6 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-04-16One year cert with new component namesjhh1-0/+0
Change-Id: I0c82534c87ae7fe4007d658d3d5645530458230f Issue-ID: POLICY-1580 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-11Add junit tests for endpointsChenfei Gao2-2/+4
Add junit tests to improve code coverage to > 80%. Modify db setting and remove db authorization from persistence. Issue-ID: POLICY-1441 Change-Id: I6070ac9ba6adba836adeeb547610c27dccf577bd Signed-off-by: Chenfei Gao <cgao@research.att.com>
2019-04-10Modify delete safety net and DB lab setupChenfei Gao2-8/+8
Includes: a) Close db connection using try-with-resource b) Modify delete safety net for policy, policy type and legacy policies c) Modify db persistence d) Modify db setup in bootstrap config e) Add unit tests for providers and endpoints Issue-ID: POLICY-1441 Change-Id: Id89bc361c73380df61df35f01f296e47e936e9cf Signed-off-by: Chenfei Gao <cgao@research.att.com>