Change action names to indicate it is a plugin action
closes elastic/elasticsearch#10 Original commit: elastic/x-pack-elasticsearch@badae4062a
This commit is contained in:
parent
f6a2a690b2
commit
8bf9b95033
|
@ -11,7 +11,7 @@ import org.elasticsearch.client.ClusterAdminClient;
|
||||||
public class DeleteLicenseAction extends ClusterAction<DeleteLicenseRequest, DeleteLicenseResponse, DeleteLicenseRequestBuilder> {
|
public class DeleteLicenseAction extends ClusterAction<DeleteLicenseRequest, DeleteLicenseResponse, DeleteLicenseRequestBuilder> {
|
||||||
|
|
||||||
public static final DeleteLicenseAction INSTANCE = new DeleteLicenseAction();
|
public static final DeleteLicenseAction INSTANCE = new DeleteLicenseAction();
|
||||||
public static final String NAME = "cluster:admin/license/delete";
|
public static final String NAME = "cluster:admin/plugin/license/delete";
|
||||||
|
|
||||||
private DeleteLicenseAction() {
|
private DeleteLicenseAction() {
|
||||||
super(NAME);
|
super(NAME);
|
||||||
|
|
|
@ -11,7 +11,7 @@ import org.elasticsearch.client.ClusterAdminClient;
|
||||||
public class GetLicenseAction extends ClusterAction<GetLicenseRequest, GetLicenseResponse, GetLicenseRequestBuilder> {
|
public class GetLicenseAction extends ClusterAction<GetLicenseRequest, GetLicenseResponse, GetLicenseRequestBuilder> {
|
||||||
|
|
||||||
public static final GetLicenseAction INSTANCE = new GetLicenseAction();
|
public static final GetLicenseAction INSTANCE = new GetLicenseAction();
|
||||||
public static final String NAME = "cluster:admin/license/get";
|
public static final String NAME = "cluster:admin/plugin/license/get";
|
||||||
|
|
||||||
private GetLicenseAction() {
|
private GetLicenseAction() {
|
||||||
super(NAME);
|
super(NAME);
|
||||||
|
|
|
@ -11,7 +11,7 @@ import org.elasticsearch.client.ClusterAdminClient;
|
||||||
public class PutLicenseAction extends ClusterAction<PutLicenseRequest, PutLicenseResponse, PutLicenseRequestBuilder> {
|
public class PutLicenseAction extends ClusterAction<PutLicenseRequest, PutLicenseResponse, PutLicenseRequestBuilder> {
|
||||||
|
|
||||||
public static final PutLicenseAction INSTANCE = new PutLicenseAction();
|
public static final PutLicenseAction INSTANCE = new PutLicenseAction();
|
||||||
public static final String NAME = "cluster:admin/license/put";
|
public static final String NAME = "cluster:admin/plugin/license/put";
|
||||||
|
|
||||||
private PutLicenseAction() {
|
private PutLicenseAction() {
|
||||||
super(NAME);
|
super(NAME);
|
||||||
|
|
|
@ -87,7 +87,7 @@ import static org.elasticsearch.license.core.ESLicenses.reduceAndMap;
|
||||||
@Singleton
|
@Singleton
|
||||||
public class LicensesService extends AbstractLifecycleComponent<LicensesService> implements ClusterStateListener, LicensesManagerService, LicensesClientService {
|
public class LicensesService extends AbstractLifecycleComponent<LicensesService> implements ClusterStateListener, LicensesManagerService, LicensesClientService {
|
||||||
|
|
||||||
public static final String REGISTER_TRIAL_LICENSE_ACTION_NAME = "internal:cluster/licenses/register_trial_license";
|
public static final String REGISTER_TRIAL_LICENSE_ACTION_NAME = "internal:plugin/licenses/cluster/register_trial_license";
|
||||||
|
|
||||||
private final ESLicenseManager licenseManager;
|
private final ESLicenseManager licenseManager;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue