aboutsummaryrefslogtreecommitdiffstats
path: root/main/src
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2019-10-28 08:51:10 -0400
committerPamela Dragosh <pdragosh@research.att.com>2019-10-28 14:06:51 -0400
commit0b278005ad98bcd862bd348d08f664005e9eda60 (patch)
treefdb6050e35a0d387a89b770f6165aa03b8a8de78 /main/src
parentad4196a174dbf52e575ada6e450613dbfe637284 (diff)
Optimization improvements and test cases
* StdBaseTranslator added helpful support methods and can now add obligations to either rule, policy or policy sets. * StdMatchablePolicyRequest improved to support optional policy-type as part of the request to refine the output results. * Added more tests to ensure that the decision is returning the appropriate results. * Added more Javadoc for code. * Added some sonar fix for either log or throw exception. Issue-ID: POLICY-2066 Change-Id: I90d6d90c2cdbb627e96cfce1d2632b2439a1e477 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'main/src')
-rw-r--r--main/src/test/resources/decisions/decision.optimization.affinity.input.json12
1 files changed, 0 insertions, 12 deletions
diff --git a/main/src/test/resources/decisions/decision.optimization.affinity.input.json b/main/src/test/resources/decisions/decision.optimization.affinity.input.json
deleted file mode 100644
index 1bf18fde..00000000
--- a/main/src/test/resources/decisions/decision.optimization.affinity.input.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "ONAPName": "OOF",
- "ONAPComponent": "OOF-component",
- "ONAPInstance": "OOF-component-instance",
- "action": "optimize",
- "resource": {
- "scope": [],
- "services": ["vCPE"],
- "resources": [],
- "geography": ["US"]
- }
-} \ No newline at end of file