diff --git a/app/configs/app_config.py b/app/configs/app_config.py index 52646fe4..f7a388a2 100644 --- a/app/configs/app_config.py +++ b/app/configs/app_config.py @@ -45,7 +45,6 @@ class Connections: url_upload_greenroom = ConfigClass.url_upload_greenroom url_upload_core = ConfigClass.url_upload_core url_status = ConfigClass.url_status - url_lineage = ConfigClass.url_lineage url_download_greenroom = ConfigClass.url_download_greenroom url_download_core = ConfigClass.url_download_core url_v2_download_pre = ConfigClass.url_v2_download_pre diff --git a/app/resources/custom_error.py b/app/resources/custom_error.py index bb093d1c..a20b9d29 100644 --- a/app/resources/custom_error.py +++ b/app/resources/custom_error.py @@ -36,7 +36,6 @@ class Error: 'INVALID_ATTRIBUTE': "Invalid attribute '%s'. Please verify and try again.", 'INVALID_UPLOAD_REQUEST': 'Invalid upload request: %s', 'INVALID_SOURCE_FILE': 'File does not exist or source file provided is invalid: %s', - 'INVALID_LINEAGE': 'Create lineage failed: %s', 'INVALID_PIPELINENAME': ( 'Invalid pipeline name. Pipeline names must be between 1 and 20 characters long and ' 'may only contain lowercase letters, numbers, and/or special characters of -_, .' @@ -66,7 +65,7 @@ class Error: 'It means the resumable file is not the same with previous one.\n' 'Please to double check the file content.' ), - 'UNSUPPORT_TAG_MANIFEST': 'Tagging, lineage and manifest attaching are not supported for folder type.', + 'UNSUPPORT_TAG_MANIFEST': 'Tagging and manifest attaching are not supported for folder type.', 'INVALID_INPUT': 'Invalid input. Please try again.', 'UNSUPPORTED_PROJECT': 'This function is not supported in the given Project %s', 'CREATE_FOLDER_IF_NOT_EXIST': 'Target folder does not exist. Would you like to create a new folder?', diff --git a/app/services/output_manager/error_handler.py b/app/services/output_manager/error_handler.py index bf1d02ae..ac30aeed 100644 --- a/app/services/output_manager/error_handler.py +++ b/app/services/output_manager/error_handler.py @@ -29,7 +29,6 @@ class ECustomizedError(enum.Enum): MISSING_REQUIRED_ATTRIBUTE = 'MISSING_REQUIRED_ATTRIBUTE' INVALID_UPLOAD_REQUEST = 'INVALID_UPLOAD_REQUEST' INVALID_SOURCE_FILE = 'INVALID_SOURCE_FILE' - INVALID_LINEAGE = 'INVALID_LINEAGE' INVALID_PIPELINENAME = 'INVALID_PIPELINENAME' INVALID_PATHS = 'INVALID_PATHS' INVALID_RESUMABLE = 'INVALID_RESUMABLE' diff --git a/env.py b/env.py index 90f67c74..551c322d 100644 --- a/env.py +++ b/env.py @@ -43,7 +43,6 @@ def modify_values(self, settings): settings.url_dataset_v2download = settings.base_url + 'portal/download/core/v2/dataset' settings.url_dataset = settings.base_url + 'portal/v1/dataset' settings.url_validation = settings.base_url + 'v1/files/validation' - settings.url_lineage = settings.url_bff + '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/v1/lineage' return settings