Skip to content

Commit

Permalink
Fix informatica mapping url (#932)
Browse files Browse the repository at this point in the history
* Fix url path

* Bump version
  • Loading branch information
elic-eon authored Jul 31, 2024
1 parent 61137fb commit d1e39ee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion metaphor/informatica/extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,10 @@ def extract_mapping(self) -> Dict[str, MappingDetailResponse]:
type=PipelineType.INFORMATICA_MAPPING,
),
source_info=SourceInfo(
main_url=f"{self._api_base_url}/diUI/products/integrationDesign/main/mapping/{v3_id}",
main_url=urljoin(
self._api_base_url,
f"/diUI/products/integrationDesign/main/mapping/{v3_id}",
),
created_at_source=mapping_detail.createTime,
created_by=mapping_detail.createdBy,
last_updated=mapping_detail.updateTime,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "metaphor-connectors"
version = "0.14.60"
version = "0.14.61"
license = "Apache-2.0"
description = "A collection of Python-based 'connectors' that extract metadata from various sources to ingest into the Metaphor app."
authors = ["Metaphor <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion tests/informatica/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"createdAtSource": "2024-07-17T02:25:28+00:00",
"createdBy": "metaphor-dev",
"lastUpdated": "2024-07-25T07:34:07+00:00",
"mainUrl": "https://usw5.dm-us.informaticacloud.com/saas/diUI/products/integrationDesign/main/mapping/71e4gvVQh8lclejElAZ2qZ",
"mainUrl": "https://usw5.dm-us.informaticacloud.com/diUI/products/integrationDesign/main/mapping/71e4gvVQh8lclejElAZ2qZ",
"updatedBy": "metaphor-dev"
},
"structure": {
Expand Down

0 comments on commit d1e39ee

Please sign in to comment.