-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SO-2902: Add multi-language RF2 import support. (#194)
* [rf2] Added tests for multi-language rf2 importer. * [rf2] Changed description, languagerefset file property to collection. * [rf2] Changed logic so it can work with collections. * [rf2] Added test import rf2 archives * [rf2] Added statusCode check for the concept id, renamed variables to match what they represent, members ids instead of concept ids * [rf2] Changed data binding properties. * [rf2] Changed loops to streams moved adding description and language refset files logic outside of loop * [rf2] Merged the two test cases into one. * [rf2] Changed logic of reading and writing of description files and language refset files for net4j indications. * [rf2] Added final modifiers. * [rf2] Fixed test import file changed language code and refset id. * [rf2] Fixed typo. * [rf2] Fixed conceptId of refset in the import file. * [rf2] Added placeholder properties for databinding. * [rf2] Added validation for definition text files, removed extra lines. * [rf2] Added proper monitor progress. Added logic to write textDefinitionFiles * [rf2] Added method to read collection of files and to monitor progress. * [rf2] Removed extra line. * [rf2] Removed extra line. Added logic to handle multiple text definition files. * [rf2] Removed unneeded iteration. * [rf2] Added logic to handle collection of text definition files. * [rf2] Removed extra line. * SO-2902: Simplify test case https://snowowl.atlassian.net/browse/SO-2902 * [snomed.import] Refactor ImportConfiguration - remove unnecessary fields from import config - refactored SnomedRefSetNameCollector: - do not parse description files for each refset URL, parse them only once - "prepare" resolvable refset labels for the client - do not send language refset files twice over the wire * [snomed.import] Fix cloning of stated relationship file * SO-2902: Update license header * SO-2902: Use Pattern.quote instead of Charmatcher.replace * SO-2902: Use try-with-resource for description readers * SO-2902: Fix NPE
- Loading branch information
Showing
17 changed files
with
465 additions
and
553 deletions.
There are no files selected for viewing
Binary file added
BIN
+4.36 KB
...d/api/rest/io/SnomedCT_Release_INT_20150201_descriptions_with_multiple_language_codes.zip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.