Platform hardening for appc-dg-md-sal-store
[appc.git] / appc-dg / appc-dg-shared / appc-dg-mdsal-store / appc-dg-mdsal-bundle / src / main / java / org / onap / appc / mdsal / MDSALStore.java
@@ -62,4 +62,12 @@ public interface MDSALStore {
      */
     void storeJson(String moduleName , String requestId , String configJSON ) throws MDSALStoreException;
 
+    /**
+     * This method will be used to store yang module to MD-SAL store
+     * @param yang - yang module that need to be stored. In String format
+     * @param moduleName - yang module name
+     * @throws MDSALStoreException
+     */
+    void storeYangModuleOnLeader(String yang, String moduleName) throws MDSALStoreException;
+
 }