You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by mp...@apache.org on 2025/04/04 13:41:51 UTC
(ignite-3) branch main updated: IGNITE-22485 Rename deployment.deploymentLocation config value to deployment.location (#5543)
This is an automated email from the ASF dual-hosted git repository.
mpochatkin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new 6d634de0a59 IGNITE-22485 Rename deployment.deploymentLocation config value to deployment.location (#5543)
6d634de0a59 is described below
commit 6d634de0a590030387dfbc586b45c34af0f40fd4
Author: Vadim Pakhnushev <86...@users.noreply.github.com>
AuthorDate: Fri Apr 4 16:41:45 2025 +0300
IGNITE-22485 Rename deployment.deploymentLocation config value to deployment.location (#5543)
---
docs/_docs/administrators-guide/config/node-config.adoc | 4 ++--
.../java/org/apache/ignite/internal/deployment/Unit.java | 2 +-
.../org/apache/ignite/internal/deployunit/DeploymentManagerImpl.java | 2 +-
.../deployunit/configuration/DeploymentConfigurationSchema.java | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/_docs/administrators-guide/config/node-config.adoc b/docs/_docs/administrators-guide/config/node-config.adoc
index 4b076efddcf..695fbac218f 100644
--- a/docs/_docs/administrators-guide/config/node-config.adoc
+++ b/docs/_docs/administrators-guide/config/node-config.adoc
@@ -101,7 +101,7 @@ See the link:developers-guide/clients/overview[Clients] section for information
{
"ignite" : {
"deployment" : {
- "deploymentLocation" : "deployment"
+ "location" : "deployment"
}
}
}
@@ -110,7 +110,7 @@ See the link:developers-guide/clients/overview[Clients] section for information
[cols="1,1,3,1,1,2",opts="header", stripes=none]
|======
|Property|Default|Description|Changeable|Requires Restart|Acceptable Values
-|deploymentLocation|deployment|Relative path to folder in the working directory. All deployment units content will be stored there.| Yes | No | A valid path
+|location|deployment|Relative path to folder in the working directory. All deployment units content will be stored there.| Yes | No | A valid path
|======
=== Network Configuration
diff --git a/modules/code-deployment/src/integrationTest/java/org/apache/ignite/internal/deployment/Unit.java b/modules/code-deployment/src/integrationTest/java/org/apache/ignite/internal/deployment/Unit.java
index 4b4de3fd848..e09445f4b3d 100644
--- a/modules/code-deployment/src/integrationTest/java/org/apache/ignite/internal/deployment/Unit.java
+++ b/modules/code-deployment/src/integrationTest/java/org/apache/ignite/internal/deployment/Unit.java
@@ -95,7 +95,7 @@ class Unit {
Path getNodeUnitDirectory(IgniteImpl ignite) {
String deploymentFolder = ignite.nodeConfiguration()
.getConfiguration(DeploymentExtensionConfiguration.KEY).deployment()
- .deploymentLocation().value();
+ .location().value();
return ignite.workDir()
.resolve(deploymentFolder)
diff --git a/modules/code-deployment/src/main/java/org/apache/ignite/internal/deployunit/DeploymentManagerImpl.java b/modules/code-deployment/src/main/java/org/apache/ignite/internal/deployunit/DeploymentManagerImpl.java
index 465ea7ef2ef..77fa718b417 100644
--- a/modules/code-deployment/src/main/java/org/apache/ignite/internal/deployunit/DeploymentManagerImpl.java
+++ b/modules/code-deployment/src/main/java/org/apache/ignite/internal/deployunit/DeploymentManagerImpl.java
@@ -405,7 +405,7 @@ public class DeploymentManagerImpl implements IgniteDeployment {
@Override
public CompletableFuture<Void> startAsync(ComponentContext componentContext) {
- deployer.initUnitsFolder(workDir.resolve(configuration.deploymentLocation().value()));
+ deployer.initUnitsFolder(workDir.resolve(configuration.location().value()));
deploymentUnitStore.registerNodeStatusListener(nodeStatusWatchListener);
deploymentUnitStore.registerClusterStatusListener(clusterStatusWatchListener);
messaging.subscribe();
diff --git a/modules/code-deployment/src/main/java/org/apache/ignite/internal/deployunit/configuration/DeploymentConfigurationSchema.java b/modules/code-deployment/src/main/java/org/apache/ignite/internal/deployunit/configuration/DeploymentConfigurationSchema.java
index f4206aca385..21381d275cc 100644
--- a/modules/code-deployment/src/main/java/org/apache/ignite/internal/deployunit/configuration/DeploymentConfigurationSchema.java
+++ b/modules/code-deployment/src/main/java/org/apache/ignite/internal/deployunit/configuration/DeploymentConfigurationSchema.java
@@ -29,5 +29,5 @@ public class DeploymentConfigurationSchema {
* Relative path to folder in node working directory where will store all deployment units content.
*/
@Value(hasDefault = true)
- public final String deploymentLocation = "deployment";
+ public final String location = "deployment";
}