Age | Commit message (Collapse) | Author | Files | Lines |
|
This prevents sonar from checking lombok annotations for code coverage.
Change-Id: Idde21c8a4f2fea13bdea989fe94f361b594550a8
Issue-ID: POLICY-1938
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
This also entailed removing the local copy of RestServerParameters.
Change-Id: Ie5c581ab70aee60844d1660fe0a61290de6470ec
Issue-ID: POLICY-1652
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-1771
Signed-off-by: Bilal A <bilal@research.att.com>
Change-Id: I8ea0729ca029c15edcb7564fa35c8811976ca6a8
|
|
Extracted some methods to address cyclomatic complexity.
Created super classes to address duplicate code.
Did not address code coverage.
Change-Id: I2ec07cdad9e671b0e239e2d4ae9395e89b9e4266
Issue-ID: POLICY-1791
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Fixed breakages due to changes made in policy/common to satisfy
sonar.
Also modified the code to allocate ports for junit tests, writing
them into the config files.
Change-Id: Id31d19e0691f7450c3e4158090dac6f3c3849631
Issue-ID: POLICY-1791
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
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>
|
|
Change-Id: I5259b1f2e977f69cdfe7f6391fa8ddc238752776
Issue-ID: POLICY-1746
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
|
|
As per comment on last review, going back to 2.1.0 policy/models
Change-Id: I9ace10dc13590ef498c9a7d0f1fc519957023309
Issue-ID: POLICY-1746
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
|
|
Changing ToStringTester from utils to utils-test.
Correcting the policy/common & policy/models version.
Change-Id: I33a590367732ff315a9b03aca917e4be5f1ae05e
Issue-ID: POLICY-1746
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
|
|
Released 2.1.0
Issue-ID: POLICY-1737
Change-Id: I65909e110fd5cb7b8d99863e161562235025a9bd
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
To use POLICY_HOME not POLICY_XXX_HOME
Issue-ID: POLICY-1702
Change-Id: I14e3415f1ee00cd7a82b0d1768eb6c1ab8775424
Signed-off-by: shaoqiu <tim.huang@est.tech>
|
|
Released common 1.5.0 and models 2.1.0
Issue-ID: POLICY-1737
Change-Id: I95cd82c79d57df1b410ea0deaa2b93dee12878b0
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Policy/parent released
Issue-ID: POLICY-1737
Change-Id: I5d0bb151235da73c95f0b3486da5ea9ba1e7ffcd
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Issue-ID: POLICY-1807
Change-Id: I143f3228fd5e23365c95ee13f2e639f9862fc33e
Signed-off-by: Chenfei Gao <cgao@research.att.com>
|
|
|
|
|
|
Per javadocs, getName() should generally be used instead of
Class.getCanonicalName(). This change only applies to classes; it
does not apply to File objects.
Change-Id: Ia1726f178f906bfdfbd056c50598228cff8e1a2d
Issue-ID: POLICY-1646
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
to increase code coverage
Issue-ID: POLICY-1791
Change-Id: Ie0a5027ad61224c44b30127348c4a81454549fc9
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
to increase code coverage
Issue-ID: POLICY-1791
Change-Id: I9d6632d995b4dfd014b51467a66b95d042d6113c
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
Issue-ID: POLICY-1808
Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca>
Change-Id: Iedd6b7ef98524424ac104e18285a10bb76cd29cc
|
|
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>
|
|
New snapshot due to branch
Issue-ID: POLICY-1747
Change-Id: I8f82950ec863987322c39fb7254f9ea8b5d7f471
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Released 2.0.1
Issue-ID: POLICY-1700
Change-Id: I75e2ea1e32dca747f1e093d352909818513f0820
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
2.0.1 is released
Issue-ID: POLICY-1700
Change-Id: I88ef0a619818c2bde982e6143fdd8360581a26ca
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Add logging of POST requests received via the REST API.
Change-Id: I8c71df3a45b8a3369b48eee06165dd5034c115a6
Issue-ID: POLICY-1777
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
|
|
Per Jim's comment, version integer check should come first before
checking delete elibibility (i.e. checking if policy is deployed
in PDP group or not).
Issue-ID: POLICY-1777
Change-Id: Ibd3d8d05a40ef34c558a2e9389596396a69469fe
Signed-off-by: Chenfei Gao <cgao@research.att.com>
|
|
Issue-ID: POLICY-1775
Change-Id: I50ece282341da05652fb6a2e186a6033ce40bd1e
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
legacy db provider
Includes:
a) Modify legacy API endpoints to retrieve the latest version of legacy policies
b) Modify legacy policy providers to support newly added version enabled features in db provider
c) Fix corresponding junit test failures
Issue-ID: POLICY-1777
Change-Id: I641170b37e2929b5060414832d4b8395493cecdc
Signed-off-by: Chenfei Gao <cgao@research.att.com>
|
|
Change-Id: I41df0fbcb1e3e830ad3e0b93c8a2dc42cf7e2ffb
Issue-ID: POLICY-1630
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Release 2.0.0
Issue-ID: POLICY-1630
Change-Id: I08b3ee06e8a97e7ec08ade2011b37973137fd8df
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
|
|
Change-Id: I656c0caccce674aed51df00dfa2cc80a1677a7ab
Issue-ID: POLICY-1630
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
|
|
policy deployed
Add groupState=ACTIVE and pdpState=ACTIVE to pdpGroupFilter for filtering
returned pdpGroup list with specified policy deployed in it.
Issue-ID: POLICY-1738
Change-Id: Ie777ab1f6438871b2034c8f2fe7a61595a3f633c
Signed-off-by: Chenfei Gao <cgao@research.att.com>
|
|
Includes:
a) Add legacy operational policy type and guard policy types into
preloading list.
b) Fix corresponding junit test failure.
Issue-ID: POLICY-1738
Change-Id: I071e898be31e62f47d427094f1e76069fafd0148
Signed-off-by: Chenfei Gao <cgao@research.att.com>
|
|
Fix api sonar bugs by logging exceptions in api controllers
Issue-ID: POLICY-1710
Change-Id: Ie591e0d4709c43f3e91aa7b94a1305d8814bd695
Signed-off-by: Chenfei Gao <cgao@research.att.com>
|
|
Change-Id: Iee60e74742dce9df03b5409356dcf2cb433c811c
Issue-ID: POLICY-1724
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
The default names were incorrect in the api path.
Issue-ID: POLICY-1704
Change-Id: Ib95a7954c6b4a6fef0e871dfd4130e600e03c957
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Change-Id: I70b6f703e7eaf63c348df75e15b93a42834b2b3e
Issue-ID: INT-998
Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
|
|
Issue-ID: INT-998
Change-Id: I7d128035bb94db860036d9f80151439e79aac8f6
Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
|
|
Change-Id: I0c82534c87ae7fe4007d658d3d5645530458230f
Issue-ID: POLICY-1580
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
|
|
Includes:
a) Preload monitoring and optimization policy types when api
component starts up
b) Fix the failure unit testing delete policy type
c) Enhance several junit test cases to be irrespective of running orders
Issue-ID: POLICY-1441
Change-Id: Ia1ba17d58dfbc9a8ee12e789e3867b20111e9cd2
Signed-off-by: Chenfei Gao <cgao@research.att.com>
|
|
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>
|
|
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>
|
|
|
|
Modify policy and policy type providers to better
support GET/CREATE policy/policy types.
Issue-ID: POLICY-1442
Change-Id: I7a513be4f9dbd5b48b85a948e3bda7b6c6ab7ddb
Signed-off-by: Chenfei Gao <cgao@research.att.com>
|
|
Includes
1) Basic health and stats tests
2) Log analysis script
Change-Id: I239ad1fbb4793873a82cd804da5408f968fce875
Issue-ID: POLICY-1458
Signed-off-by: Bilal A <bilal@research.att.com>
|
|
Use filters to GET wildcard/latest/deployed policies
and policy types.
Junit tests for providers are coming in next patch/review.
Issue-ID: POLICY-1441
Change-Id: Iccd02f395d612ba95728d1bc5808ad16c6f386fe
Signed-off-by: Chenfei Gao <cgao@research.att.com>
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
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>
|
|
to increase code coverage
Issue-ID: POLICY-1606
Change-Id: I03b7680df972f3c809d57e6432e61c2422ecea60
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|