summaryrefslogtreecommitdiffstats
path: root/models-decisions
AgeCommit message (Collapse)AuthorFilesLines
2019-05-15Step snapshot version of policy modelsliamfallon1-1/+1
Issue-ID: POLICY-1630 Change-Id: I163b4566030f9beebdbb546814b1a7a777ce1205 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-05-03Decision should return dictionaryPamela Dragosh1-2/+1
Should not be an array of policies, should be a dictionary. Issue-ID: POLICY-1735 Change-Id: Ia88ef65dd332933aafbe6b57693344d5d43c53b8 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-04-02Add DecisionExceptionPamela Dragosh2-0/+54
Need this class to capture exceptions during decision and setup the ErrorResponse object to return from REST API. Issue-ID: POLICY-1440 Change-Id: I02cd4f93e671c0d543bf527f5de3cf6831f62c40 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-03-25Add new policy typesPamela Dragosh2-2/+6
These are the models from Optimization team. Please note the new matchable field. I'm trying to get clarification on what that field means. Added also a single file for all the optimization policies. Note, I think some of them may not be right. The hpa one did not render correct. But I can fix that later. Fixed capacity policy which had indentation wrong and VNFPolicy missing type. Added some guard examples. Fixed Decision Response to support fields for all the decisions. Issue-ID: POLICY-1273 Change-Id: Ib0c06cb203f6355e3050f7d8a7a51a0c1437a8a4 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-03-22Implement Database providerliamfallon1-1/+1
This review brings in the structure of the database provider with complete unit test coverage. The provider delegates the details of each database interactino to the appropriate package in the model. Resolved merge conflict. Issue-ID: POLICY-1195 Change-Id: I9d01146415531d18bc9648dcf232b425bc09578d Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-03-18Add decision modelsPamela Dragosh6-0/+271
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>