Merge "Allow separate registration of DMIDataPlugin and DmiModelPugin"
[cps.git] / cps-service / src / main / java / org / onap / cps / api / CpsAdminService.java
index 5b2e104..7ba9599 100755 (executable)
@@ -41,6 +41,13 @@ public interface CpsAdminService {
      */
     void createDataspace(@NonNull String dataspaceName);
 
+    /**
+     * Delete dataspace.
+     *
+     * @param dataspaceName the name of the dataspace to delete
+     */
+    void deleteDataspace(@NonNull String dataspaceName);
+
     /**
      * Create an Anchor.
      *
@@ -77,4 +84,15 @@ public interface CpsAdminService {
      * @param anchorName    anchor name
      */
     void deleteAnchor(@NonNull String dataspaceName, @NonNull String anchorName);
+
+    /**
+     * Query anchor names for the given module names in the provided dataspace.
+     *
+     *
+     * @param dataspaceName dataspace name
+     * @param moduleNames a collection of module names
+     * @return a collection of anchor names in the given dataspace. The schema set for each anchor must include all the
+     *         given module names
+     */
+    Collection<String> queryAnchorNames(String dataspaceName, Collection<String> moduleNames);
 }