File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
src/main/java/de/samply/directory_sync_service/directory/rest Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 17
17
* The DirectoryApiRest class provides an interface for interacting with the Directory service.
18
18
* This class allows for fetching and updating biobank and collection information, managing star models,
19
19
* and performing various validation and correction operations.
20
+ *
20
21
* It supports a mock mode for testing purposes, where no real Directory interactions are performed.
22
+ *
23
+ * Most methods will first try using a URL containing the country code, and If that fails, they will
24
+ * use a URL without country code. This is because the inclusion of the country code is necessary when
25
+ * synchronizing with a national node Directory, but not when synchronizing with the central Directory.
26
+ * Both of these cases can occur: larger countries (e.g. DE) tend to have their own national node
27
+ * Directories, but smaller countries (e.g. CY) use the central Directory.
21
28
*/
22
29
public class DirectoryApiRest extends DirectoryApi {
23
30
private final DirectoryCallsRest directoryCallsRest ;
You can’t perform that action at this time.
0 commit comments