aboutsummaryrefslogtreecommitdiffstats
path: root/packages
AgeCommit message (Collapse)AuthorFilesLines
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>
2019-04-03Implement policy provider functionsChenfei Gao2-0/+16
Includes: a) Implement policy provider functions b) Implement policy type provider functions c) Implement legacy guard policy provider functions d) Implement legacy operational policy provider functions e) Modify API endpoints to align with provider functions f) Hook up API statistics counter Junit tests for providers and new endpoints will be in next patch/review. Issue-ID: POLICY-1441 Change-Id: I113de95f6e0ea5f5436c072536f5e9a178988e5e Signed-off-by: Chenfei Gao <cgao@research.att.com>
2019-03-17Manually add NSS libraries to images.Jorge Hernandez1-2/+2
Alpine OpenJDK was updated 2 days ago (3/14), this upgrade seems to break java applications that depend on libnss*.so OS libraries, which seem are no longer installed with the jdk Added other nice to have basic utilities for debugging to base image. Change-Id: Ia836c15b17836d46cd61d312f514bd6eb9a8c956 Issue-ID: POLICY-1604 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-06Use Alpine as base docker image in /policy/apishaoqiu2-19/+12
Issue-ID: POLICY-1549 Change-Id: I422ea3d70469dc6d2a840c5ce3aa70117f83864f Signed-off-by: shaoqiu <tim.huang@est.tech>
2019-02-12Change ubuntu version in DockerFileChenfei Gao1-1/+1
Changed ubuntu from 14.04 to 16.04 in DockerFile Issue-ID: POLICY-1270 Change-Id: I17a4ee632eb7fb10ddfb3cd2c0c8d57ff22347ff Signed-off-by: Chenfei Gao <cgao@research.att.com>
2019-02-07Add changes to basic structure of api componentChenfei Gao11-0/+632
Includes: 1) Changed logging from FlexLogger to slf4j and used the logback.xml aligned with v1.2 logging requirements. 2) Added https as a configurable parameter of api rest server. 3) Added aaf as a condfigurable parameter of api rest server. 4) Added AafFilter classes for healthcheck and statistics. 5) Added api statistics REST entry point. 6) Created related junit tests. 7) Packaged docker Issue-ID: POLICY-1270 Change-Id: I638f61361bb052545e8597531ba3d58019bf1f24 Signed-off-by: Chenfei Gao <cgao@research.att.com>