Drop CDS tables only if they exist

During the initialization of SDNC, SDNC tries to install all
the SQL dump provided. While processing the one for CDS, it
was failing to execute the first statement as the table is not
existent; hence was exiting that dump and processing with the
next one. In order to make sure the process creates CDS tables,
make the DROP statement work even if table doesn't exist.

Change-Id: Ifa99b8e1a13ac3828828e8b2a9f9674556f84ced
Issue-ID: CCSDK-682
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>

Former-commit-id: d9dbcdbe0cb870b558ef0415e5c33fef01413128
1 file changed
tree: 973e4447c332cab9e5205aadff9694ae07949ce7
  1. admportal/
  2. configbackuprestore/
  3. docs/
  4. installation/
  5. platform-logic/
  6. SdncReports/
  7. .gitignore
  8. .gitreview
  9. LICENSE.txt
  10. pom.xml
  11. README.md
  12. version.properties
README.md

This source repository contains the code for SDN Controller operations, administration and maintenance utilities. This code depends on the following, which should be downloaded and compiled first:

  1. org.openecomp.sdnc/sdnc-core
  2. org.openecomp.sdnc/sdnc-adaptors
  3. org.openecomp.sdnc/sdnc-northbound
  4. org.openecomp.sdnc/sdnc-plugins

To compile this code:

  1. Make sure your local Maven settings file ($HOME/.m2/settings.xml) contains references to the OpenECOMP repositories and OpenDaylight repositories. See example-settings.xml for an example.

  2. To compile, run "mvn clean install".