From: Michael Vorburger Date: Wed, 4 Jul 2018 14:25:15 +0000 (+0200) Subject: add missing warn log to AbstractNeutronNorthbound for 442 X-Git-Tag: release/fluorine~8 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=cf590dc94e895af12a92de4a8d477e2a71b3688b;p=neutron.git add missing warn log to AbstractNeutronNorthbound for 442 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 --- diff --git a/northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/AbstractNeutronNorthbound.java b/northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/AbstractNeutronNorthbound.java index 9a922c12d..2ebd7960e 100644 --- a/northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/AbstractNeutronNorthbound.java +++ b/northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/AbstractNeutronNorthbound.java @@ -115,6 +115,7 @@ public abstract class AbstractNeutronNorthbound, 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();