Large csar handling - object store
[sdc.git] / common-app-api / src / main / java / org / openecomp / sdc / be / csar / storage / ArtifactStorageManager.java
index da06db0..0a4f355 100644 (file)
@@ -52,6 +52,16 @@ public interface ArtifactStorageManager {
      *
      * @return {@code true} if enable, {@code false} otherwise
      */
-    boolean isEnabled();
+    default boolean isEnabled() {
+        return false;
+    }
 
+    /**
+     * @return Storage Configuration
+     */
+    ArtifactStorageConfig getStorageConfiguration();
+
+    InputStream get(final ArtifactInfo artifactInfo);
+
+    void delete(ArtifactInfo artifactInfo);
 }