Skip to content

Commit 343bb08

Browse files
authored
Rename SLM package to slm (#44608)
This commit renames the SLM package from snapshotlifecycle to slm. We have all come to know index lifecycle management as ILM, the APIs and settings use ilm, and it would be nice of the package did too. For SLM, let's use slm for all of these including the package name from the beginning.
1 parent 8e0e8c3 commit 343bb08

19 files changed

+42
-42
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/snapshotlifecycle/action/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66

77
/**
88
* Contains the action definitions for SLM. For the transport and rest action implementations, please see the {@code ilm} module's
9-
* {@code org.elasticsearch.xpack.snapshotlifecycle} package.
9+
* {@code org.elasticsearch.xpack.slm} package.
1010
*/
1111
package org.elasticsearch.xpack.core.snapshotlifecycle.action;

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/snapshotlifecycle/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* This is the Snapshot Lifecycle Management (SLM) core package. This package contains the core classes for SLM, including all of the
99
* custom cluster state metadata objects, execution history storage facilities, and the action definitions. For the main SLM service
10-
* implementation classes, please see the {@code ilm}ilm module's {@code org.elasticsearch.xpack.snapshotlifecycle} package.
10+
* implementation classes, please see the {@code ilm}ilm module's {@code org.elasticsearch.xpack.slm} package.
1111
*
1212
* <p>Contained within this specific package are the custom metadata objects and models used through out the SLM service. The names can
1313
* be confusing, so it's important to know the differences between each metadata object.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* you may not use this file except in compliance with the Elastic License.
55
*/
66

7-
package org.elasticsearch.xpack.snapshotlifecycle;
7+
package org.elasticsearch.xpack.slm;
88

99
import org.apache.http.util.EntityUtils;
1010
import org.elasticsearch.action.index.IndexRequestBuilder;

x-pack/plugin/ilm/src/main/java/org/elasticsearch/xpack/indexlifecycle/IndexLifecycle.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -87,16 +87,16 @@
8787
import org.elasticsearch.xpack.indexlifecycle.action.TransportRetryAction;
8888
import org.elasticsearch.xpack.indexlifecycle.action.TransportStartILMAction;
8989
import org.elasticsearch.xpack.indexlifecycle.action.TransportStopILMAction;
90-
import org.elasticsearch.xpack.snapshotlifecycle.SnapshotLifecycleService;
91-
import org.elasticsearch.xpack.snapshotlifecycle.SnapshotLifecycleTask;
92-
import org.elasticsearch.xpack.snapshotlifecycle.action.RestDeleteSnapshotLifecycleAction;
93-
import org.elasticsearch.xpack.snapshotlifecycle.action.RestExecuteSnapshotLifecycleAction;
94-
import org.elasticsearch.xpack.snapshotlifecycle.action.RestGetSnapshotLifecycleAction;
95-
import org.elasticsearch.xpack.snapshotlifecycle.action.RestPutSnapshotLifecycleAction;
96-
import org.elasticsearch.xpack.snapshotlifecycle.action.TransportDeleteSnapshotLifecycleAction;
97-
import org.elasticsearch.xpack.snapshotlifecycle.action.TransportExecuteSnapshotLifecycleAction;
98-
import org.elasticsearch.xpack.snapshotlifecycle.action.TransportGetSnapshotLifecycleAction;
99-
import org.elasticsearch.xpack.snapshotlifecycle.action.TransportPutSnapshotLifecycleAction;
90+
import org.elasticsearch.xpack.slm.SnapshotLifecycleService;
91+
import org.elasticsearch.xpack.slm.SnapshotLifecycleTask;
92+
import org.elasticsearch.xpack.slm.action.RestDeleteSnapshotLifecycleAction;
93+
import org.elasticsearch.xpack.slm.action.RestExecuteSnapshotLifecycleAction;
94+
import org.elasticsearch.xpack.slm.action.RestGetSnapshotLifecycleAction;
95+
import org.elasticsearch.xpack.slm.action.RestPutSnapshotLifecycleAction;
96+
import org.elasticsearch.xpack.slm.action.TransportDeleteSnapshotLifecycleAction;
97+
import org.elasticsearch.xpack.slm.action.TransportExecuteSnapshotLifecycleAction;
98+
import org.elasticsearch.xpack.slm.action.TransportGetSnapshotLifecycleAction;
99+
import org.elasticsearch.xpack.slm.action.TransportPutSnapshotLifecycleAction;
100100

101101
import java.io.IOException;
102102
import java.time.Clock;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* you may not use this file except in compliance with the Elastic License.
55
*/
66

7-
package org.elasticsearch.xpack.snapshotlifecycle;
7+
package org.elasticsearch.xpack.slm;
88

99
import org.apache.logging.log4j.LogManager;
1010
import org.apache.logging.log4j.Logger;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* you may not use this file except in compliance with the Elastic License.
55
*/
66

7-
package org.elasticsearch.xpack.snapshotlifecycle;
7+
package org.elasticsearch.xpack.slm;
88

99
import org.apache.logging.log4j.LogManager;
1010
import org.apache.logging.log4j.Logger;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* you may not use this file except in compliance with the Elastic License.
55
*/
66

7-
package org.elasticsearch.xpack.snapshotlifecycle.action;
7+
package org.elasticsearch.xpack.slm.action;
88

99
import org.elasticsearch.client.node.NodeClient;
1010
import org.elasticsearch.common.settings.Settings;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* you may not use this file except in compliance with the Elastic License.
55
*/
66

7-
package org.elasticsearch.xpack.snapshotlifecycle.action;
7+
package org.elasticsearch.xpack.slm.action;
88

99
import org.elasticsearch.client.node.NodeClient;
1010
import org.elasticsearch.common.settings.Settings;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* you may not use this file except in compliance with the Elastic License.
55
*/
66

7-
package org.elasticsearch.xpack.snapshotlifecycle.action;
7+
package org.elasticsearch.xpack.slm.action;
88

99
import org.elasticsearch.client.node.NodeClient;
1010
import org.elasticsearch.common.Strings;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* you may not use this file except in compliance with the Elastic License.
55
*/
66

7-
package org.elasticsearch.xpack.snapshotlifecycle.action;
7+
package org.elasticsearch.xpack.slm.action;
88

99
import org.elasticsearch.client.node.NodeClient;
1010
import org.elasticsearch.common.settings.Settings;

0 commit comments

Comments
 (0)