@@ -55,7 +55,6 @@ def mapping_package_processor_load_package_in_mongo_db(
5555 List of notice IDs that were loaded (if load_test_data=True)
5656 """
5757 # Update digest
58- # FIXME refactor for MSSDK transformation rule set structure
5958 update_digest_api_address_for_mapping_package (package )
6059
6160 # Update git hash if provided and field exists
@@ -64,7 +63,6 @@ def mapping_package_processor_load_package_in_mongo_db(
6463 result_notice_ids = []
6564
6665 # Load test data if requested
67- # FIXME refactor for MSSDK's two-level test data structure
6866 if load_test_data :
6967 tests_data = package .transformation_test_data .test_data
7068 notice_repository = NoticeRepository (mongodb_client = mongodb_client )
@@ -75,7 +73,7 @@ def mapping_package_processor_load_package_in_mongo_db(
7573 notice_repository .add (notice = notice )
7674 result_notice_ids .append (notice_id )
7775 mapping_package_repository_mongo_db = MappingPackageRepositoryMongoDB (mongodb_client = mongodb_client )
78- # FIXME: will throw pymongo.errors.DuplicateKeyError if package with same id exists
76+ # will throw pymongo.errors.DuplicateKeyError if package with same id exists
7977 mapping_package_repository_mongo_db .add (package )
8078 return result_notice_ids
8179
@@ -153,7 +151,6 @@ def load_mapping_suite_and_packages_from_github_to_mongo_db(mongodb_client: Mong
153151 log_technical_info (
154152 message = f"Mapping package '{ mssdk_package .id } ' (format '{ detected_version } ' -> '{ converted_version } ') loaded from folder with success" )
155153 mapping_package = _convert_to_mapping_package (mssdk_package )
156- # FIXME: MSSDK validation is currently done during loading, so we have to catch exceptions from there
157154 if mssdk_package :
158155 log_mapping_package_info (
159156 message = f"Mapping package with id={ mapping_package .id } is valid for loading in MongoDB!" ,
0 commit comments