rename actions back to admin/* and add suffix [s] instead

This commit is contained in:
Britta Weber 2015-09-01 09:44:13 +02:00
parent edac404f22
commit d386d909fc
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ import org.elasticsearch.transport.TransportService;
*/
public class TransportShardFlushAction extends TransportReplicationAction<ShardFlushRequest, ShardFlushRequest, ActionWriteResponse> {
public static final String NAME = "indices:data/write/flush";
public static final String NAME = FlushAction.NAME + "[s]";
@Inject
public TransportShardFlushAction(Settings settings, TransportService transportService, ClusterService clusterService,

View File

@ -45,7 +45,7 @@ import org.elasticsearch.transport.TransportService;
*/
public class TransportShardRefreshAction extends TransportReplicationAction<ReplicationRequest, ReplicationRequest, ActionWriteResponse> {
public static final String NAME = "indices:data/write/refresh";
public static final String NAME = RefreshAction.NAME + "[s]";
@Inject
public TransportShardRefreshAction(Settings settings, TransportService transportService, ClusterService clusterService,