[SDC-29] rebase continue work to align source
[sdc.git] / catalog-model / src / main / java / org / openecomp / sdc / be / model / operations / api / IConsumerOperation.java
index ed43b7c..cab49fe 100644 (file)
@@ -24,6 +24,8 @@ import org.openecomp.sdc.be.resources.data.ConsumerData;
 
 import fj.data.Either;
 
+import java.util.List;
+
 public interface IConsumerOperation {
 
        /**
@@ -95,4 +97,10 @@ public interface IConsumerOperation {
         */
        Either<ConsumerData, StorageOperationStatus> getCredentials(String consumerName);
 
+       /**
+        *
+        * @return all consumers
+     */
+       Either<List<ConsumerData>, StorageOperationStatus> getAll();
+
 }