Fix typos in GENERIC-RESOURCE-API 59/21359/1
authorDan Timoney <dtimoney@att.com>
Mon, 30 Oct 2017 18:53:49 +0000 (14:53 -0400)
committerDan Timoney <dtimoney@att.com>
Mon, 30 Oct 2017 18:53:57 +0000 (14:53 -0400)
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>
generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang
generic-resource-api/provider/src/main/java/org/onap/sdnc/northbound/GenericResourceApiUtil.java

index 2f45ae2..31582d8 100644 (file)
@@ -1685,7 +1685,7 @@ module GENERIC-RESOURCE-API {
            uses allotted-resource-status;\r
        }\r
    }\r
-   container brg-allotted-respources {\r
+   container brg-allotted-resources {\r
        list brg-allotted-resource {\r
            key "allotted-resource-id";\r
            leaf allotted-resource-id {\r
index c03bc12..04d0b6f 100644 (file)
@@ -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;