Change-Id: I78bbe797d4eff5aa02c08ab719594784d4d322f5
Issue-ID: AAI-714
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
*/
package org.onap.aai.introspection;
*/
package org.onap.aai.introspection;
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
import org.eclipse.persistence.jaxb.JAXBContextFactory;
import org.onap.aai.db.props.AAIProperties;
import org.eclipse.persistence.jaxb.JAXBContextFactory;
import org.onap.aai.db.props.AAIProperties;
import java.util.regex.Pattern;
public class PojoInjestor {
import java.util.regex.Pattern;
public class PojoInjestor {
+ private static final EELFLogger LOGGER = EELFManager.getInstance().getLogger(PojoInjestor.class);
private String POJO_CLASSPATH = "org.onap.aai.domain.yang";
private final Pattern classNamePattern = Pattern.compile("\\.(v\\d+)\\.");
private String POJO_CLASSPATH = "org.onap.aai.domain.yang";
private final Pattern classNamePattern = Pattern.compile("\\.(v\\d+)\\.");
}
context = JAXBContextFactory.createContext(POJO_CLASSPATH, this.getClass().getClassLoader());
} catch (JAXBException e) {
}
context = JAXBContextFactory.createContext(POJO_CLASSPATH, this.getClass().getClassLoader());
} catch (JAXBException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
+ LOGGER.error(e.getMessage(),e);