use of org.opentosca.toscana.core.transformation.properties.InputProperty in project TOSCAna by StuPro-TOSCAna.
the class KubernetesPushingGopherIT method getInputs.
@Override
protected PropertyInstance getInputs(EffectiveModel model) throws NoSuchPropertyException {
Set<InputProperty> prop = new HashSet<>(plugin.getPlatform().properties);
prop.addAll(model.getInputs().values());
PropertyInstance instance = new PropertyInstance(prop, mock(Transformation.class));
instance.set(DOCKER_PUSH_TO_REGISTRY_PROPERTY_KEY, "true");
instance.set(DOCKER_REGISTRY_USERNAME_PROPERTY_KEY, "test");
instance.set(DOCKER_REGISTRY_PASSWORD_PROPERTY_KEY, "");
instance.set(DOCKER_REGISTRY_URL_PROPERTY_KEY, "127.0.0.1:5000/");
instance.set(DOCKER_REGISTRY_REPOSITORY_PROPERTY_KEY, "gopher");
return instance;
}
Aggregations