package com.eactive.eai.rms.ext.kakaocard.cm;

import java.util.List;

public interface KakaoCardCmService {
   
   static final String CM_DEVELOPER_UPLOAD_PATH_DEFAULT = "/data001/cm/upload/";
   static final String CM_DEVELOPER_AFTER_PATH_DEFAULT  = "/data001/cm/after/";
   static final String CM_DEVELOPER_BACKUP_PATH_DEFAULT = "/data001/cm/backup/";
   
   boolean supportsType(String serviceType);
   
   void startDeploy(String serviceType, String commitId) throws Exception;
   
   void transactionDeployResources(String serviceType, String commitId, List<String> appCodes) throws Exception;
   
   void promote(String serviceType, String commitId);
   
   void rollback(String serviceType, String commitId);

}