import com.att.eelf.configuration.EELFLogger;
import com.att.eelf.configuration.EELFManager;
-import com.google.gson.reflect.TypeToken;
-import java.lang.reflect.Type;
import java.util.Date;
-import java.util.List;
import javax.servlet.http.HttpServletRequest;
-import org.apache.camel.Produce;
-import org.onap.clamp.clds.camel.CamelProxy;
import org.onap.clamp.clds.model.CldsInfo;
-import org.onap.clamp.clds.model.sdc.SdcServiceInfo;
import org.onap.clamp.clds.util.LoggingUtils;
-import org.onap.clamp.clds.util.ONAPLogConstants;
+import org.onap.clamp.clds.util.OnapLogConstants;
import org.slf4j.event.Level;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
@Component
public class CldsService extends SecureServiceBase {
- /**
- * The constant LIST_OF_SDC_SERVICE_INFO_TYPE.
- */
- public static final Type LIST_OF_SDC_SERVICE_INFO_TYPE = new TypeToken<List<SdcServiceInfo>>() {
- }.getType();
- @Produce(uri = "direct:processSubmit")
- private CamelProxy camelProxy;
/**
* The constant securityLogger.
*/
// audit log
LoggingUtils.setTimeContext(startTime, new Date());
securityLogger.info("GET cldsInfo completed");
- util.exiting("200", "Get cldsInfo success", Level.INFO, ONAPLogConstants.ResponseStatus.COMPLETED);
+ util.exiting("200", "Get cldsInfo success", Level.INFO, OnapLogConstants.ResponseStatus.COMPLETED);
return cldsInfo;
}