add missing warn log to AbstractNeutronNorthbound for 442 46/73746/2
authorMichael Vorburger <vorburger@redhat.com>
Wed, 4 Jul 2018 14:25:15 +0000 (16:25 +0200)
committerMichael Vorburger <vorburger@redhat.com>
Wed, 11 Jul 2018 10:42:46 +0000 (12:42 +0200)
In I2c55e707c9d48f78fd60a8e22af6a799976d86bf this was only done for the
bulk operation code path, but forgotten for the single create.

Change-Id: I15943679a9a2ff40de84ba43a01233869465acf9
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/AbstractNeutronNorthbound.java

index 9a922c12d27bffe1e45ad1872a00c646c16d6b53..2ebd7960e75f8c68879c18f2325de28f223335c2 100644 (file)
@@ -115,6 +115,7 @@ public abstract class AbstractNeutronNorthbound<T extends INeutronObject<T>, R e
                 singleton.initDefaults();
                 Result result = neutronCRUD.add(singleton);
                 if (result.equals(DependencyMissing)) {
+                    LOG.warn("create failed due to input missing dependencies: {}", input);
                     return Response.status(HTTP_MISSING_DEPENDENCY).entity(input).build();
                 } else if (result.equals(AlreadyExists)) {
                     return Response.status(HttpURLConnection.HTTP_CONFLICT).entity(input).build();