Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 910629cf authored by Pawel GUTOWSKI's avatar Pawel GUTOWSKI
Browse files

Merge pull request #93 in EDELIVERY/smp from EDELIVERY-3164_domain_id_validation to development

* commit 'fe665bcf5547dd6c939182ffc116be922c5baa1f':
  EDELIVERY-3164 Improved Domain ID validation and decreased spring logging level
parents 21ba3f14 e8ce4529
No related branches found
No related tags found
No related merge requests found
......@@ -47,9 +47,7 @@ import static org.apache.commons.lang3.StringUtils.isNotBlank;
@Service
public class ServiceGroupService {
private static final Logger log = LoggerFactory.getLogger(ServiceGroupService.class);
private static final Pattern DOMAIN_ID_PATTERN = Pattern.compile("[a-zA-Z0-9]+");
private static final Pattern DOMAIN_ID_PATTERN = Pattern.compile("[a-zA-Z0-9]{1,50}");
@Autowired
private CaseSensitivityNormalizer caseSensitivityNormalizer;
......
......@@ -20,7 +20,7 @@ log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d [%p] %c %x - %m%n
log4j.logger.org.springframework=DEBUG
# log4j.logger.org.springframework=DEBUG
# Second appender to write to a logfile
log4j.appender.logfile=org.apache.log4j.RollingFileAppender
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment