Switched from Dropwizard to Springboot
[holmes/common.git] / holmes-actions / src / main / java / org / onap / holmes / common / utils / CommonUtils.java
index 9aa2e0b..837baed 100644 (file)
 
 package org.onap.holmes.common.utils;
 
-import org.jvnet.hk2.annotations.Service;
+
+import org.springframework.stereotype.Component;
 
 import java.util.regex.Pattern;
 
-@Service
+@Component
 public class CommonUtils {
 
     final static public String IP_REG = "(http(s)?://)?(\\d+\\.\\d+\\.\\d+\\.\\d+)(:(\\d+))?";