* ============LICENSE_END=========================================================
*/
-package org.openecomp.sdc.generator.aai;
+package org.onap.sdc.generator.aai;
-import static org.openecomp.sdc.generator.data.GeneratorConstants.ERROR_CATEGORY;
-import static org.openecomp.sdc.generator.data.GeneratorConstants.ERROR_CODE;
-import static org.openecomp.sdc.generator.data.GeneratorConstants.ERROR_DESCRIPTION;
-import static org.openecomp.sdc.generator.data.GeneratorConstants.GENERATOR_ERROR_CODE;
-import static org.openecomp.sdc.generator.data.GeneratorConstants.GENERATOR_ERROR_SERVICE_INSTANTIATION_FAILED;
-import static org.openecomp.sdc.generator.data.GeneratorConstants.GENERATOR_PARTNER_NAME;
-import static org.openecomp.sdc.generator.data.GeneratorConstants.PARTNER_NAME;
-
-import org.openecomp.sdc.generator.aai.model.Resource;
-import org.openecomp.sdc.generator.aai.model.Service;
-import org.openecomp.sdc.generator.logging.CategoryLogLevel;
+import org.onap.sdc.generator.data.GeneratorConstants;
+import org.onap.sdc.generator.aai.model.Resource;
+import org.onap.sdc.generator.aai.model.Service;
+import org.onap.sdc.generator.logging.CategoryLogLevel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.MDC;
Logger log = LoggerFactory.getLogger(AaiModelGenerator.class.getName());
try {
return AaiModelGenerator.class.cast(
- Class.forName("org.openecomp.sdc.generator.aai.AaiModelGeneratorImpl").newInstance());
+ Class.forName("org.onap.sdc.generator.aai.AaiModelGeneratorImpl").newInstance());
} catch (Exception exception) {
- MDC.put(PARTNER_NAME, GENERATOR_PARTNER_NAME);
- MDC.put(ERROR_CATEGORY, CategoryLogLevel.ERROR.name());
- MDC.put(ERROR_CODE, GENERATOR_ERROR_CODE);
- MDC.put(ERROR_DESCRIPTION, GENERATOR_ERROR_SERVICE_INSTANTIATION_FAILED);
+ MDC.put(GeneratorConstants.PARTNER_NAME, GeneratorConstants.GENERATOR_PARTNER_NAME);
+ MDC.put(GeneratorConstants.ERROR_CATEGORY, CategoryLogLevel.ERROR.name());
+ MDC.put(GeneratorConstants.ERROR_CODE, GeneratorConstants.GENERATOR_ERROR_CODE);
+ MDC.put(
+ GeneratorConstants.ERROR_DESCRIPTION, GeneratorConstants.GENERATOR_ERROR_SERVICE_INSTANTIATION_FAILED);
StringWriter sw = new StringWriter();
log.error(sw.toString(), exception);
}