* ============LICENSE_END=========================================================
*/
-package org.openecomp.sdc.generator.aai.model;
+package org.onap.sdc.generator.aai.model;
-import static org.openecomp.sdc.generator.data.GeneratorConstants.GENERATOR_AAI_CONFIGLPROP_NOT_FOUND;
-
-import org.openecomp.sdc.generator.aai.types.ModelType;
-import org.openecomp.sdc.generator.aai.types.ModelWidget;
-import org.openecomp.sdc.generator.data.ArtifactType;
-import org.openecomp.sdc.generator.data.GeneratorConstants;
-import org.openecomp.sdc.generator.data.WidgetConfigurationUtil;
-import org.openecomp.sdc.generator.error.IllegalAccessException;
+import org.onap.sdc.generator.aai.types.ModelType;
+import org.onap.sdc.generator.data.ArtifactType;
+import org.onap.sdc.generator.data.GeneratorConstants;
+import org.onap.sdc.generator.aai.types.ModelWidget;
+import org.onap.sdc.generator.data.WidgetConfigurationUtil;
+import org.onap.sdc.generator.error.IllegalAccessException;
import java.util.Collections;
import java.util.HashSet;
Properties properties = WidgetConfigurationUtil.getConfig();
String id = properties.getProperty(ArtifactType.AAI.name() + ".model-version-id." + getName());
if (id == null) {
- throw new IllegalArgumentException(String.format(GENERATOR_AAI_CONFIGLPROP_NOT_FOUND,
+ throw new IllegalArgumentException(String.format(
+ GeneratorConstants.GENERATOR_AAI_CONFIGLPROP_NOT_FOUND,
ArtifactType.AAI.name() + ".model-version-id." + getName()));
}
return id;
String id = properties.getProperty(ArtifactType.AAI.name() + ".model-invariant-id."
+ getName());
if (id == null) {
- throw new IllegalArgumentException(String.format(GENERATOR_AAI_CONFIGLPROP_NOT_FOUND,
+ throw new IllegalArgumentException(String.format(
+ GeneratorConstants.GENERATOR_AAI_CONFIGLPROP_NOT_FOUND,
ArtifactType.AAI.name() + ".model-invariant-id." + getName()));
}
return id;