aboutsummaryrefslogtreecommitdiffstats
path: root/main/pom.xml
AgeCommit message (Collapse)AuthorFilesLines
2019-09-16Add changes to support application/yaml in apiChenfei Gao1-0/+5
Issue-ID: POLICY-2101 Change-Id: I0860ff11231b6a649f52355d8d9333eec7d78826 Signed-off-by: Chenfei Gao <cgao@research.att.com>
2019-09-10Bump versions for api masterJim Hahn1-1/+1
Change-Id: Ic9789f0041e463891d675baac32a7619d9a5bfd4 Issue-ID: POLICY-2045 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-09-05Knock on of changing policy types to mapliamfallon1-2/+6
This review adapts policy-api for the change in the structure of the toasca service template from a list of maps to a plain map. DUplication of policy types and policies removed and policy-models examples used instead. Issue-ID: POLICY-2047 Change-Id: Ie1fdeef79289348005314c5de9b2e37c0c45d786 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-08-07Bump version of policy/apijrh31-1/+1
Change-Id: I919625bd6a439d27c84389a046f6a5545e6f1911 Issue-ID: POLICY-1965 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-06-26Use ToStringTester from utils-testramverma1-0/+6
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>
2019-06-26Bump api patch to 2.1.1Pamela Dragosh1-1/+1
Released 2.1.0 Issue-ID: POLICY-1737 Change-Id: I65909e110fd5cb7b8d99863e161562235025a9bd Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-30Bump to version 2.1.0Pamela Dragosh1-1/+1
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 Dragosh1-1/+1
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-apiliamfallon1-1/+1
Change-Id: I41df0fbcb1e3e830ad3e0b93c8a2dc42cf7e2ffb Issue-ID: POLICY-1630 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-04-05Incorporate filters in provider functionsChenfei Gao1-0/+5
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>
2019-04-03Implement policy provider functionsChenfei Gao1-0/+9
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-15Hotfix for compilation errorsChenfei Gao1-0/+5
Added hotfix for compilation errors due to model package name change. Issue-ID: POLICY-1515 Change-Id: Ia58671234bc5a5cfe201ee448d38adca870333b3 Signed-off-by: Chenfei Gao <cgao@research.att.com>
2019-03-07Add code to follow ONAP API CVS guidelinesChenfei Gao1-1/+1
Includes: a) Added custom headers of versioning info into API response. b) Added custom header of requestID into API response for fulfilling logging v1.2 requirements by copying from client's request header. If no requestID is contained in client's request header, API server will randomly generate one and include it in response header. c) Added extension annotations into swagger to comply with swagger 2.0 spec extension requirements posted in the table of ONAP API CVS guidelines wiki page. d) Updated the package name of TOSCA model POJOs. Issue-ID: POLICY-1270 Change-Id: Ia9e0f18c088604636008201fe5a149dc5fa21de3 Signed-off-by: Chenfei Gao <cgao@research.att.com>
2019-02-28Reference lombok from parentPamela Dragosh1-1/+0
Policy/parent now declares lombok dependency - remove the version so that we are consistent. Issue-ID: POLICY-1547 Change-Id: Ic283cceaed0d8f55530a6357d788d15a826d1b52 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-02-27Add more endpoints and swagger annotationsChenfei Gao1-0/+11
Includes: a) Organized swagger models into new rest.model package b) Organized provider classes into new rest.provider package c) Added policyType GET/POST/DELETE endpoints d) Added policy GET/POST/DELETE endpoints e) Added swagger annotations for the new endpoints Issue-ID: POLICY-1515 Change-Id: Ia159a4cfebdad36cb1b4a5cc6456d07d2fde09ee Signed-off-by: Chenfei Gao <cgao@research.att.com>
2019-02-07Add changes to basic structure of api componentChenfei Gao1-11/+3
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>
2018-09-03Add basic main structure for policy-apiKrishnajinka1-0/+86
Define main pom xml and update to include main. Add the main exception parameters rest startstop classes. Add test cases. Modify comments Issue-ID: POLICY-1066 Change-Id: I2e878a58eef4f021e3a9a991738194127edf4d16 Signed-off-by: krisjinka <kris.jinka@samsung.com> Signed-off-by: krishnajinka <kris.jinka@samsung.com>