Skip to content

Commit

Permalink
workaround for a temporary problem
Browse files Browse the repository at this point in the history
(this feature is not used in big_coconut_uat)
  • Loading branch information
metas-ts committed Jul 19, 2021
1 parent 5ea5739 commit 8ba3a84
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
package de.metas.externalsystem;

import com.google.common.collect.ImmutableList;
import de.metas.common.util.CoalesceUtil;
import de.metas.externalsystem.alberta.ExternalSystemAlbertaConfig;
import de.metas.externalsystem.alberta.ExternalSystemAlbertaConfigId;
import de.metas.externalsystem.model.I_ExternalSystem_Config;
Expand Down Expand Up @@ -265,7 +266,7 @@ private ExternalSystemParentConfig.ExternalSystemParentConfigBuilder getById(fin
return ExternalSystemParentConfig.builder()
.type(ExternalSystemType.ofCode(externalSystemConfigRecord.getType()))
.id(ExternalSystemParentConfigId.ofRepoId(externalSystemConfigRecord.getExternalSystem_Config_ID()))
.camelUrl(externalSystemConfigRecord.getCamelURL())
.camelUrl(CoalesceUtil.coalesce(externalSystemConfigRecord.getCamelURL(), "NOT-SET")) // TODO: remove when this branch is updated
.name(externalSystemConfigRecord.getName());
}

Expand Down

0 comments on commit 8ba3a84

Please sign in to comment.