REST/CLI Implementations and Fix for remote url data

Change-Id: I0daeebdd40864179c6b923bed3da0c38f259829e
diff --git a/api/src/main/java/org/opencord/sadis/SubscriberAndDeviceInformationService.java b/api/src/main/java/org/opencord/sadis/SubscriberAndDeviceInformationService.java
index 3b07929..be0a42e 100644
--- a/api/src/main/java/org/opencord/sadis/SubscriberAndDeviceInformationService.java
+++ b/api/src/main/java/org/opencord/sadis/SubscriberAndDeviceInformationService.java
@@ -26,6 +26,13 @@
     public void invalidateAll();
 
     /**
+      * Removes the information associated with the given ID.
+      * @param id
+      *           key to information
+      */
+    public void invalidateId(String id);
+
+    /**
      * Return the information associated with the given ID.
      *
      * @param id
@@ -33,4 +40,14 @@
      * @return information associated with ID, if available, else null
      */
     public SubscriberAndDeviceInformation get(String id);
+
+    /**
+     * Return the information associated with the given ID from the cache.
+     *
+     * @param id
+     *            key to information
+     * @return information associated with ID, if available in the cache, else null
+     */
+    public SubscriberAndDeviceInformation getfromCache(String id);
+
 }