diff --git a/metaphor/informatica/extractor.py b/metaphor/informatica/extractor.py index 8faf914f..50ec7ebe 100644 --- a/metaphor/informatica/extractor.py +++ b/metaphor/informatica/extractor.py @@ -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, diff --git a/pyproject.toml b/pyproject.toml index b1454535..cb518e73 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] diff --git a/tests/informatica/expected.json b/tests/informatica/expected.json index 0b0c3a2f..e7b802be 100644 --- a/tests/informatica/expected.json +++ b/tests/informatica/expected.json @@ -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": {