From 3bccabac70d77c10128f8441c9758fbf0b527f61 Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Mon, 30 Oct 2017 14:53:49 -0400 Subject: [PATCH] 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 --- generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang | 2 +- .../src/main/java/org/onap/sdnc/northbound/GenericResourceApiUtil.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.16.6