summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-10-30 14:53:49 -0400
committerDan Timoney <dtimoney@att.com>2017-10-30 14:53:57 -0400
commit3bccabac70d77c10128f8441c9758fbf0b527f61 (patch)
treedfcccf2f815ae120957240dd82e57c269efc94d0
parent60c0d0d645cad9d0fa6286ee3fb6c90cd782764e (diff)
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 <dtimoney@att.com>
-rw-r--r--generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang2
-rw-r--r--generic-resource-api/provider/src/main/java/org/onap/sdnc/northbound/GenericResourceApiUtil.java2
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;