aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
AgeCommit message (Collapse)AuthorFilesLines
2019-04-08Remove drools PDP dependencyPamela Dragosh1-3/+1
Removing working memory and use of PolicyEngine from drools in these classes. Cleaned up some unused imports and checkstyle. Issue-ID: POLICY-1264 Change-Id: Id059da9689a721b0eafc6b310adcbdad43574ce7 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-04-01move actors code in drools-applications to policy/modelsning.xi1-0/+1
remove white-space in policy/models Issue-ID: POLICY-1264 Change-Id: I8856fc7cd2c2a57af0031637870ca33c684bacf5 Signed-off-by: ning.xi <ning.xi@est.tech>
2019-03-25migrate model-impl from drools-applicationsHengye1-8/+7
migrate controlloop/common/model-impl from drools-applicaitons to policy/models Issue-ID: POLICY-1264 Change-Id: Ibe0bb5c49a7b1344f4104b30455f52834041e187 Signed-off-by: Hengye <yehui.wang@est.tech>
2019-03-22Add models-pdp to models repoJim Hahn1-0/+1
Also changed supportedPolicyTypes to PfConceptKey. Updated licenses. Removed trailing whitespace from pom. Provide default request id. Rebased to fix merge conflict. Added SupportedPolicyType class. Renamed SupportedPolicyType to PolicyTypeIdent, and moved it to models-base. Also updated models-pap to use it. Deleted models-pdp Policy and replaced it with ToscaPolicy. Updated test method name. Change-Id: Id65f769c2f308c6b56e79978bd50b84f2e0b3d02 Issue-ID: POLICY-1542 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-03-21Add module for error responsesPamela Dragosh1-0/+7
Module will hold a common error message object used by API's to clients for returning an overall error message and list of detail messages and warnings. Added an example and finished a JUnit test. Changed to response code from HTTP Added assertj and used StandardCoder Issue-ID: POLICY-1195 Change-Id: Id0fcf4831b8d03223c590f8085f207dbbbe559b4 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-03-19Move examples into separate moduleliamfallon1-0/+10
Issue-ID: POLICY-1195 Change-Id: Id2dc5b5b490134648ca267e27b795f3f4c03bc7b Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-03-18Add decision modelsPamela Dragosh1-0/+1
Adding various decision models and their serialization handler classes Issue-ID: POLICY-1440 Change-Id: I35abfd9745a86b822f658ec3a512b7355cabf068 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-03-15Adjust snakeyaml versionJim Hahn1-1/+1
Version 1.21 of snakeyaml is breaking junits in policy/pap. Change-Id: Ic7716c49f7797b8461846f1c61717c620471a2b5 Issue-ID: POLICY-1542 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-03-15Fill in legacy JSON modelsPamela Dragosh1-0/+1
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>
2019-03-15Add serialization for Tosca Modelliamfallon1-0/+6
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>
2019-03-14Add DAO Enabled Tosca Modelliamfallon1-1/+8
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>
2019-03-12Adding models-pap module to policy/modelsramverma1-0/+1
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>
2019-03-05Add DAO module for Modelsliamfallon1-11/+40
This patch set fixes some typos and license headers. Issue-ID: POLICY-1195 Change-Id: I2d15b00fcb50ea92746ab7c5a87b57efa07196fe Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-02-28Add basic model object conceptsliamfallon1-2/+12
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>
2019-02-26Change the version of policy parentChenfei Gao1-0/+3
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>
2019-02-26Add POJOs to support policy design APIChenfei Gao1-0/+12
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>
2019-02-05Activate models component for Dublinliamfallon1-3/+3
Issue-ID: POLICY-1264 Change-Id: I9952fcd0e7219bde77c70ad77a982cead4aa15d7 Signed-off-by: liamfallon <liam.fallon@est.tech>
2018-10-25Upgrade policy/parent 2.0.0Pamela Dragosh1-1/+2
Upgrade to released artifact. Issue-ID: POLICY-1213 Change-Id: Iac97ab8b1be6a4a46d30d85d02c8e902b5e0acae Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-09-25Setup checkstyle and coveragePamela Dragosh1-2/+145
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>
2018-05-25Rename Policy Modesl to policy-modelsPamela Dragosh1-2/+2
ONAP sonar requires this naming convention. Issue-ID: POLICY-805 Change-Id: I4d40fff79696ef4eeae0af0081862ce726e4c202 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-05-24Adding policy/models moduleeikrwaq1-0/+43
Change-Id: I5d1133fc82b3a61cda10813b15223859e6135dfa Issue-ID: POLICY-805 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>