From: Dan Timoney Date: Mon, 30 Oct 2017 18:53:49 +0000 (-0400) Subject: Fix typos in GENERIC-RESOURCE-API X-Git-Tag: v1.2.1~6 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=sdnc%2Fnorthbound.git;a=commitdiff_plain;h=3bccabac70d77c10128f8441c9758fbf0b527f61 Fix typos in GENERIC-RESOURCE-API Updated location of Yang-mapping properties file and fixed typo in Yang model for GENERIC-RESOURCE-API. Change-Id: I379274beefd5673cca5096ff3769b552e0475535 Issue-ID: SDNC-151 Signed-off-by: Dan Timoney --- diff --git a/generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang b/generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang index 2f45ae25..31582d8d 100644 --- a/generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang +++ b/generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang @@ -1685,7 +1685,7 @@ module GENERIC-RESOURCE-API { uses allotted-resource-status; } } - container brg-allotted-respources { + container brg-allotted-resources { list brg-allotted-resource { key "allotted-resource-id"; leaf allotted-resource-id { diff --git a/generic-resource-api/provider/src/main/java/org/onap/sdnc/northbound/GenericResourceApiUtil.java b/generic-resource-api/provider/src/main/java/org/onap/sdnc/northbound/GenericResourceApiUtil.java index c03bc120..04d0b6fe 100644 --- a/generic-resource-api/provider/src/main/java/org/onap/sdnc/northbound/GenericResourceApiUtil.java +++ b/generic-resource-api/provider/src/main/java/org/onap/sdnc/northbound/GenericResourceApiUtil.java @@ -14,7 +14,7 @@ public class GenericResourceApiUtil extends MdsalHelper { private static final Logger LOG = LoggerFactory.getLogger(GenericResourceApiUtil.class); - public static final String PROPERTIES_FILE="/opt/bvc/controller/configuration/generic-resource-api.properties"; + public static final String PROPERTIES_FILE="/opt/opendaylight/current/configuration/generic-resource-api.properties"; private static Properties properties;