summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshalomb <shalomb@amdocs.com>2018-04-23 09:37:22 +0300
committershalomb <shalomb@amdocs.com>2018-04-23 09:37:22 +0300
commit82ed394db73c99cfac4c712de2661ea5d60550fd (patch)
tree3a27fc91dbccb14825c18c0318be85754442275d
parent936e80db836550b13ee727a6d5c69eba831ebd72 (diff)
add support of port with 5 digit
Change-Id: I69139e18240e7104153d8c5d76f3bd6eeaa53c09 Issue-ID: SDC-1248 Signed-off-by: shalomb <shalomb@amdocs.com>
-rw-r--r--sdc-distribution-client/src/main/java/org/onap/sdc/utils/DistributionClientConstants.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sdc-distribution-client/src/main/java/org/onap/sdc/utils/DistributionClientConstants.java b/sdc-distribution-client/src/main/java/org/onap/sdc/utils/DistributionClientConstants.java
index 1dcbca3..58be8dc 100644
--- a/sdc-distribution-client/src/main/java/org/onap/sdc/utils/DistributionClientConstants.java
+++ b/sdc-distribution-client/src/main/java/org/onap/sdc/utils/DistributionClientConstants.java
@@ -29,7 +29,8 @@ import java.util.regex.Pattern;
*/
public final class DistributionClientConstants {
public static final String CLIENT_DESCRIPTION = "ASDC Distribution Client Key for %s";
- public static final Pattern FQDN_PATTERN = Pattern.compile("^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])(\\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9]))*(:[0-9]{2,4})*$", Pattern.CASE_INSENSITIVE);
+ public static final Pattern FQDN_PATTERN = Pattern.compile("^" +
+ "([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])(\\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9]))*(:[0-9]{2,5})*$", Pattern.CASE_INSENSITIVE);
public static final String EMAIL = "";
public static final int MIN_POLLING_INTERVAL_SEC = 15;
public static final int POOL_SIZE = 10;