Fixed issue where component configuration would not propagate on node restart.
Change-Id: I431ce444025cc9a8021dd68fa23c6e8c29fa6c19
diff --git a/core/api/src/main/java/org/onosproject/cfg/ComponentConfigStore.java b/core/api/src/main/java/org/onosproject/cfg/ComponentConfigStore.java
index 0aa1b43..00e8eab 100644
--- a/core/api/src/main/java/org/onosproject/cfg/ComponentConfigStore.java
+++ b/core/api/src/main/java/org/onosproject/cfg/ComponentConfigStore.java
@@ -15,8 +15,11 @@
*/
package org.onosproject.cfg;
+import com.google.common.collect.ImmutableSet;
import org.onosproject.store.Store;
+import java.util.Set;
+
/**
* Service for storing and distributing system-wide configurations for various
* software components.
@@ -42,4 +45,26 @@
*/
void unsetProperty(String componentName, String name);
+
+ /**
+ * Returns set of component configuration property names.
+ *
+ * @param component component name
+ * @return set of property names
+ */
+ default Set<String> getProperties(String component) {
+ return ImmutableSet.of();
+ }
+
+ /**
+ * Returns the string value of the given component configuration property.
+ *
+ * @param component component name
+ * @param name property name; null if no property found
+ * @return set of property names
+ */
+ default String getProperty(String component, String name) {
+ return null;
+ }
+
}