package com.sfl.coolmonkey.escommons.api.client.setup;

import com.sfl.coolmonkey.escommons.api.model.common.EsCommonsResultResponse;
import com.sfl.coolmonkey.escommons.api.model.setup.request.ChangeIndexAliasRequest;
import com.sfl.coolmonkey.escommons.api.model.setup.request.PrepareIndexRequest;
import com.sfl.coolmonkey.escommons.api.model.setup.request.RemoveIndexByNameRequest;
import com.sfl.coolmonkey.escommons.api.model.setup.response.PrepareIndexResponse;

/**
 * Created by Arthur Asatryan.
 * Date: 7/18/17
 * Time: 2:03 PM
 */
public interface EsCommonsResourceClient {

    EsCommonsResultResponse<PrepareIndexResponse> prepareIndex(final PrepareIndexRequest request);

    EsCommonsResultResponse changeAlias(final ChangeIndexAliasRequest request);

    EsCommonsResultResponse removeIndexByName(final RemoveIndexByNameRequest request);
}

@@ -440,28 +440,203 @@
 esponse.
-PrepareIndex
+ChangeIndexAliasResponse;%0Aimport com.sfl.coolmonkey.escommons.api.model.setup.response.PrepareIndexResponse;%0Aimport com.sfl.coolmonkey.escommons.api.model.setup.response.RemoveIndexByName
 Response
@@ -882,16 +882,42 @@
 Response
+%3CChangeIndexAliasResponse%3E
  changeA
@@ -989,16 +989,43 @@
 Response
+%3CRemoveIndexByNameResponse%3E
  removeI

Apply #25 changes