policy/api.git
5 years agoReference lombok from parent 61/79361/1
Pamela Dragosh [Thu, 28 Feb 2019 14:43:39 +0000 (09:43 -0500)]
Reference lombok from parent

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>
5 years agoAdd more endpoints and swagger annotations 08/78708/6
Chenfei Gao [Mon, 18 Feb 2019 21:28:54 +0000 (16:28 -0500)]
Add more endpoints and swagger annotations

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>
5 years agoMerge "Adds basic stability tests for Policy API"
Liam Fallon [Fri, 22 Feb 2019 10:40:04 +0000 (10:40 +0000)]
Merge "Adds basic stability tests for Policy API"

5 years agoAdds basic stability tests for Policy API 19/78519/5
Bilal A [Thu, 14 Feb 2019 19:49:44 +0000 (14:49 -0500)]
Adds basic stability tests for Policy API

Includes
1) Basic health check test
2) Statistics API test

Change-Id: Iccf20bfc4aae7496a0fad1dcb0e9e8378d94b47a
Issue-ID: POLICY-1458
Signed-off-by: Bilal A <bilal@research.att.com>
5 years agoChange ubuntu version in DockerFile 41/78341/1
Chenfei Gao [Tue, 12 Feb 2019 20:35:45 +0000 (15:35 -0500)]
Change ubuntu version in DockerFile

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>
5 years agoAdd changes to basic structure of api component 77/77677/7
Chenfei Gao [Thu, 31 Jan 2019 21:09:09 +0000 (16:09 -0500)]
Add changes to basic structure of api component

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>
5 years agoAdd intellij file types to .gitignore 18/73418/1
liamfallon [Fri, 23 Nov 2018 12:07:12 +0000 (12:07 +0000)]
Add intellij file types to .gitignore

Issue-ID: POLICY-1264
Change-Id: I06369ecb1837f0c080ff2a47c502f4b0d5e5e51b
Signed-off-by: liamfallon <liam.fallon@est.tech>
5 years agoChange to released common patch 36/71336/1
Pamela Dragosh [Fri, 26 Oct 2018 17:54:21 +0000 (13:54 -0400)]
Change to released common patch

Although this is pointing to released policy/parent v2.0.0,
it points to policy/common 1.3.0 which points to the
policy/parent SNAPSHOT.

Issue-ID: POLICY-1213
Change-Id: I9d4a9faab981ba12fa687f33d0f8661f787dff12
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoFix refering to snapshot in policy/api 55/71155/2
ramverma [Wed, 24 Oct 2018 14:17:05 +0000 (15:17 +0100)]
Fix refering to snapshot in policy/api

Issue-ID: POLICY-1213
Change-Id: Ia0a4adbb00507175df4f574da0699147fa430434
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
5 years agoClean up checkstyle declaration 65/68865/2
Pamela Dragosh [Tue, 25 Sep 2018 13:20:32 +0000 (09:20 -0400)]
Clean up checkstyle declaration

Fixed the path for finding the src files.

Added eclipse lifecycle to ignore the oparent checkstyle
bug.

Cleaned up existing checkstyle issues.

Added entries into .gitignore to ignore debug logging
directories created.

Issue-ID: POLICY-1136
Change-Id: I684038babcb9723cfc4bef2b2a713425ae077599
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoAdd basic main structure for policy-api 69/63969/9
Krishnajinka [Fri, 31 Aug 2018 11:01:30 +0000 (20:01 +0900)]
Add basic main structure for policy-api

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>
5 years agoChanging artifactId for consistency 95/49495/1
ramverma [Wed, 30 May 2018 14:00:02 +0000 (15:00 +0100)]
Changing artifactId for consistency

Change-Id: Iae899d360f2e393150312472d025cd3c6412eebe
Issue-ID: POLICY-806
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
5 years agoChange pom to refer policy parent 25/48925/2
ramverma [Thu, 24 May 2018 11:40:21 +0000 (12:40 +0100)]
Change pom to refer policy parent

Change-Id: Ib3232a12eaef1d1ba9fe00b2194680a18e489f17
Issue-ID: POLICY-806
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
6 years agoUpdate api repo 41/45441/3
Pamela Dragosh [Tue, 1 May 2018 14:05:57 +0000 (10:05 -0400)]
Update api repo

Add missing license and change version to 2.0.0. Remove ECOMP
reference.

Issue-ID: POLICY-771
Change-Id: If26d97d90df538a554308ef3bbf612a615f3da03
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoAdd INFO.yaml file 51/45351/2
Jessica Wagantall [Tue, 1 May 2018 03:07:38 +0000 (20:07 -0700)]
Add INFO.yaml file

Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information

Change-Id: If94f6b9015a1d9b0e6cfe024edd4feb49ea17704
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoUpdate oparent version to 1.1.0 29/35829/1
liamfallon [Wed, 14 Mar 2018 21:35:52 +0000 (21:35 +0000)]
Update oparent version to 1.1.0

Directive from ONAP project that all repos should be
updated. Change vierified with a build with .m2 /org/onap
cleared.

Issue-ID: POLICY-693
Change-Id: Ib5d977cfb557bb41036e07971caba3a58cc2d4a7
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
6 years agoCleanup project's name in Sonar 65/11365/1
Jessica Wagantall [Fri, 8 Sep 2017 21:31:14 +0000 (14:31 -0700)]
Cleanup project's name in Sonar

The name parameter in the root pom.xml should
match the project name in gerrit to reflect consistency
in Sonar.

Change-Id: I70551368bbe86a566926870888057d95d9abdcf1
Issue-id: CIMAN-65
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoRemoving duplicate version entries 63/11163/1
Pamela Dragosh [Fri, 8 Sep 2017 16:56:33 +0000 (12:56 -0400)]
Removing duplicate version entries

Eclipse generates warnings for these values which are set in oparent.

Issue-ID: POLICY-216
Change-Id: Ifac11893ff74f06c8a167111207e0c46005135dd
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoAdd distributionManagement for stage site 17/7617/1
Pamela Dragosh [Tue, 15 Aug 2017 15:39:16 +0000 (11:39 -0400)]
Add distributionManagement for stage site

The stage-site jenkins job fails because it is missing this entry.

Issue-Id: POLICY-139
Change-Id: I0bd6755fe07e1c05f15acff17df2f819fda32561
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoMissing nexusproxy property 95/7595/1
Pamela Dragosh [Tue, 15 Aug 2017 12:46:19 +0000 (08:46 -0400)]
Missing nexusproxy property

Forgot to add this property for the deploy to work.

Issue-Id: POLICY-139
Change-Id: I93fcc57c7a298edfe143ac39e8b4448a7e9d549a
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoAdd deploy staging configuration 55/7355/1
Pamela Dragosh [Fri, 11 Aug 2017 15:55:51 +0000 (11:55 -0400)]
Add deploy staging configuration

Unfortunately the last release build went directly
to release. It should go to staging.

Change-Id: I7a6082f7de674dfc0a13ab90d0aefa6f65b70ea3
Issue-Id: POLICY-139
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoAdd stage site properties 07/7207/1
Pamela Dragosh [Thu, 10 Aug 2017 13:40:16 +0000 (09:40 -0400)]
Add stage site properties

Issue-ID: POLICY-139
Change-Id: I123320dd0625544043e008beb73ec042cb900b4f
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoInclude version.properties for release job 27/7127/1
Pamela Dragosh [Wed, 9 Aug 2017 18:30:39 +0000 (14:30 -0400)]
Include version.properties for release job

The release job failed because it could not find the
version.properties file when doing the mvn deploy
command. Adding this file so the release job will
succeed.

Change-Id: I8753e3ba862faa2885948b988835d798b91a6860
Issue-ID: POLICY-139
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoFirst commit, adding parent pom 57/6657/4
Pamela Dragosh [Thu, 3 Aug 2017 16:56:47 +0000 (12:56 -0400)]
First commit, adding parent pom

Issue-ID: POLICY-139
Change-Id: I4599d855b0c5e44e002dac67f683278457fcde81
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoInitial empty repository
Jessica Wagantall [Tue, 20 Jun 2017 05:12:39 +0000 (05:12 +0000)]
Initial empty repository