Modify delete safety net and DB lab setup

Includes:
a) Close db connection using try-with-resource
b) Modify delete safety net for policy, policy type and legacy policies
c) Modify db persistence
d) Modify db setup in bootstrap config
e) Add unit tests for providers and endpoints

Issue-ID: POLICY-1441
Change-Id: Id89bc361c73380df61df35f01f296e47e936e9cf
Signed-off-by: Chenfei Gao <cgao@research.att.com>
16 files changed
tree: b082f9f4f8f0ebb5aed960bb3491893b5e35a75a
  1. main/
  2. packages/
  3. testsuites/
  4. .gitignore
  5. .gitreview
  6. INFO.yaml
  7. LICENSE.txt
  8. pom.xml
  9. README.md
  10. version.properties
README.md

Copyright 2017-2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode

This source repository contains the ONAP Policy API code.

To build it using Maven 3, run: mvn clean install