vldpyatkov commented on a change in pull request #103:
URL: https://github.com/apache/ignite-3/pull/103#discussion_r619513139
##########
File path:
modules/api/src/main/java/org/apache/ignite/configuration/schemas/network/NetworkConfigurationSchema.java
##########
@@ -23,18 +23,24 @@
import org.apache.ignite.configuration.annotation.Value;
import org.apache.ignite.configuration.storage.ConfigurationType;
-/**
- * Configuration schema for network endpoint subtree.
- */
+@SuppressWarnings("PMD.UnusedPrivateField")
@ConfigurationRoot(rootName = "network", type = ConfigurationType.LOCAL)
public class NetworkConfigurationSchema {
- /** */
+ /** Uniq local node name. */
+ @Value(hasDefault = true)
+ public String name = "";
+
+ /**
+ *
+ */
@Min(1024)
@Max(0xFFFF)
- @Value(hasDefault = true)
- public final int port = 3040;
+ @Value (hasDefault = true)
+ public int port = 47500;
- /** */
- @Value(hasDefault = true)
- public String[] netClusterNodes = {"localhost:" + port};
-}
+ @Value (hasDefault = true)
+ public String[] netClusterNodes = new String[0];
+//
+// @ConfigValue
+// private DiscoveryConfigurationSchema discovery;
+}
Review comment:
Done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]