policy/models.git
5 years agoMerge "Adding PdpStatistics model to mdoels-pap"
Jorge Hernandez [Fri, 15 Mar 2019 18:01:19 +0000 (18:01 +0000)]
Merge "Adding PdpStatistics model to mdoels-pap"

5 years agoAdding PdpStatistics model to mdoels-pap 38/82438/1
ramverma [Fri, 15 Mar 2019 15:44:58 +0000 (15:44 +0000)]
Adding PdpStatistics model to mdoels-pap

Change-Id: Ie229b76fbd848811fe919d28eead19060a487157
Issue-ID: POLICY-1541
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
5 years agoAdd list of policy groups to API models 36/82436/1
Jim Hahn [Fri, 15 Mar 2019 15:36:16 +0000 (11:36 -0400)]
Add list of policy groups to API models

The PDP Group Deploy REST API should take a list of PdpGroup, not a
single PdpGroup.

Change-Id: I0d626ce16793f5bcb3d34b697116f8545861d9f6
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoFill in legacy JSON models 27/82427/2
Pamela Dragosh [Fri, 15 Mar 2019 14:27:24 +0000 (10:27 -0400)]
Fill in legacy JSON models

Fill in the bodies of the guard and operational
JSON models.

Issue-ID: POLICY-1195
Change-Id: If15dd8fa89e7a2b9d823eab51ac0b0f8819dd9d4
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoMerge "Add serialization for Tosca Model"
Pamela Dragosh [Fri, 15 Mar 2019 13:45:21 +0000 (13:45 +0000)]
Merge "Add serialization for Tosca Model"

5 years agoMerge "Add classes for PDP "simple" REST APIs"
Pamela Dragosh [Fri, 15 Mar 2019 13:11:53 +0000 (13:11 +0000)]
Merge "Add classes for PDP "simple" REST APIs"

5 years agoAdd serialization for Tosca Model 73/82273/6
liamfallon [Fri, 15 Mar 2019 12:36:38 +0000 (12:36 +0000)]
Add serialization for Tosca Model

Added tests for Yaml policy monitoring
Added provider interface calls in provider and structure for handling legacy APIs.

Issue-ID: POLICY-1195
Change-Id: I4825272e0713b9e6a4b89753828de8905bcffbd1
Signed-off-by: liamfallon <liam.fallon@est.tech>
5 years agoAdd classes for PDP "simple" REST APIs 64/82264/1
Jim Hahn [Wed, 13 Mar 2019 21:28:56 +0000 (17:28 -0400)]
Add classes for PDP "simple" REST APIs

Change-Id: I81a624a9cfb93df488bbd447f3ee24d1880048d6
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoAdd DAO Enabled Tosca Model 79/79879/7
liamfallon [Thu, 14 Mar 2019 10:01:58 +0000 (10:01 +0000)]
Add DAO Enabled Tosca Model

Add DAO annotations to TOSCA model
Add keying between concepts and define
foreign keys in objects for translation to DB schema

Added provider interface, factory, and stubbed implementation.

Completed unit test for models-base
Completed unit test for models-dao
Completed unit test for models-tosca

Issue-ID: POLICY-1195
Change-Id: I53a0ba8b7a679b6887b38bdab184b60315e0cf5b
Signed-off-by: liamfallon <liam.fallon@est.tech>
5 years agoMove PDP Group classes to concepts subdirectory 64/82164/1
Jim Hahn [Wed, 13 Mar 2019 18:59:37 +0000 (14:59 -0400)]
Move PDP Group classes to concepts subdirectory

Had already done this, but apparently it didn't make it into a review.

Change-Id: If4b8083ec0ea6286e6531b6f229405473a8d8430
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoAdded PDP Group model classes 51/82051/2
jh7358 [Tue, 12 Mar 2019 17:11:15 +0000 (13:11 -0400)]
Added PDP Group model classes

Change-Id: I16298228f9e390362d4783750274703a4db57811
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoAdding models-pap module to policy/models 57/81957/6
ramverma [Tue, 12 Mar 2019 22:15:38 +0000 (22:15 +0000)]
Adding models-pap module to policy/models

1) Adding models-pap module to policy/models for storing models required
by PAP REST API's.
2) Adding test cases.

Change-Id: I4e8c38f1ebe96e7a50a188f19f4f4a5bed835f99
Issue-ID: POLICY-1541
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
5 years agoAdd DAO module for Models 04/79404/7
liamfallon [Tue, 5 Mar 2019 09:35:16 +0000 (09:35 +0000)]
Add DAO module for Models

This patch set fixes some typos and license headers.

Issue-ID: POLICY-1195
Change-Id: I2d15b00fcb50ea92746ab7c5a87b57efa07196fe
Signed-off-by: liamfallon <liam.fallon@est.tech>
5 years agoRemove lombok version and override 71/79471/1
Pamela Dragosh [Fri, 1 Mar 2019 18:15:19 +0000 (13:15 -0500)]
Remove lombok version and override

Don't need lombok version and the other version tag is overriding
the root pom.xml. Which is the same anyway. Eclipse is good at
flagging these.

Issue-ID: POLICY-1547
Change-Id: I640b9e2e5abd6c88af6d1c63d491c5f2bd3e2ffa
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoMerge "Add basic model object concepts"
Pamela Dragosh [Thu, 28 Feb 2019 17:30:41 +0000 (17:30 +0000)]
Merge "Add basic model object concepts"

5 years agoUpdate INFO.yaml Liam's email 68/79368/1
Pamela Dragosh [Thu, 28 Feb 2019 15:19:42 +0000 (10:19 -0500)]
Update INFO.yaml Liam's email

est.tech

Issue-ID: POLICY-1556
Change-Id: If16fea0ec12e83a71fc84cd17997075f3bb135d2
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoAdd basic model object concepts 86/79186/9
liamfallon [Tue, 26 Feb 2019 13:57:39 +0000 (13:57 +0000)]
Add basic model object concepts

This review introduces the basic concepts that all model objects
inherit from. Using this approach, all concepts that inherit from
these types can use standardized DAO handling and marrshal/unmarshal
handling

This approach is a more generic version of the approach used in the
APEX PDP for model handling. The APEX model handling will inherit this
module.

Issue-ID: POLICY-1264
Change-Id: I35b76659ab66cf3f33bee59a5528e49c7edf7796
Signed-off-by: liamfallon <liam.fallon@est.tech>
5 years agoChange the version of policy parent 23/79223/1
Chenfei Gao [Tue, 26 Feb 2019 20:59:56 +0000 (15:59 -0500)]
Change the version of policy parent

Changed to use 2.1.0-SNAPSHOT for policy/parent while keeping
2.0.0-SNAPSHOT for policy/models.

Issue-ID: POLICY-1515
Change-Id: Ia18a3bd5828540c0d9b6340a2493f84d5a27fa60
Signed-off-by: Chenfei Gao <cgao@research.att.com>
5 years agoAdd POJOs to support policy design API 56/79056/4
Chenfei Gao [Sat, 23 Feb 2019 01:10:11 +0000 (20:10 -0500)]
Add POJOs to support policy design API

Includes:
a) Added POJOs for TOSCA policy type
b) Added POJOs for TOSCA policy
c) Added POJOs for TOSCA custom data type
d) Added junit tests for POJOs

Issue-ID: POLICY-1515
Change-Id: I230b32339c60b7cd3c0b66adfc3f2b1bb38265c5
Signed-off-by: Chenfei Gao <cgao@research.att.com>
5 years agoActivate models component for Dublin 70/77870/1
liamfallon [Tue, 5 Feb 2019 13:41:59 +0000 (13:41 +0000)]
Activate models component for Dublin

Issue-ID: POLICY-1264
Change-Id: I9952fcd0e7219bde77c70ad77a982cead4aa15d7
Signed-off-by: liamfallon <liam.fallon@est.tech>
5 years agoAdd intellij file types to .gitignore 76/73376/1
liamfallon [Thu, 22 Nov 2018 14:07:08 +0000 (14:07 +0000)]
Add intellij file types to .gitignore

Issue-ID: POLICY-1264
Change-Id: I105fd8816cdeaf3901b3f53682431e77edb2c081
Signed-off-by: liamfallon <liam.fallon@est.tech>
5 years agoUpgrade policy/parent 2.0.0 50/71250/1
Pamela Dragosh [Thu, 25 Oct 2018 15:04:04 +0000 (11:04 -0400)]
Upgrade policy/parent 2.0.0

Upgrade to released artifact.

Issue-ID: POLICY-1213
Change-Id: Iac97ab8b1be6a4a46d30d85d02c8e902b5e0acae
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoSetup checkstyle and coverage 89/68889/2
Pamela Dragosh [Tue, 25 Sep 2018 14:06:07 +0000 (10:06 -0400)]
Setup checkstyle and coverage

Remove redundant version.

Add checkstyle and code coverage declarations.

Add ignore of idea and checkstyle.

Change-Id: I136628900968cc8ddc0577eb24965d9a221dedf3
Issue-ID: POLICY-1136
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoRename Policy Modesl to policy-models 11/49111/1
Pamela Dragosh [Fri, 25 May 2018 12:17:28 +0000 (08:17 -0400)]
Rename Policy Modesl to policy-models

ONAP sonar requires this naming convention.

Issue-ID: POLICY-805
Change-Id: I4d40fff79696ef4eeae0af0081862ce726e4c202
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoAdding policy/models module 29/48729/3
eikrwaq [Wed, 23 May 2018 16:17:58 +0000 (17:17 +0100)]
Adding policy/models module

Change-Id: I5d1133fc82b3a61cda10813b15223859e6135dfa
Issue-ID: POLICY-805
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
6 years agoInitialize repo 31/45431/1
Pamela Dragosh [Tue, 1 May 2018 12:42:20 +0000 (08:42 -0400)]
Initialize repo

Add the initialie .gitreview, .gitignore, README and License

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

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

Change-Id: Id45818e846cea36bef34a4f9129f0a51b9b36642
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoInitial empty repository
Jessica Wagantall [Tue, 1 May 2018 01:59:57 +0000 (01:59 +0000)]
Initial empty repository