Skip to content

Commit

Permalink
Documented changes to the way that REST URLs are built and used
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidCroftDKFZ committed Jan 30, 2025
1 parent e110eed commit fca1360
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,14 @@
* The DirectoryApiRest class provides an interface for interacting with the Directory service.
* This class allows for fetching and updating biobank and collection information, managing star models,
* and performing various validation and correction operations.
*
* It supports a mock mode for testing purposes, where no real Directory interactions are performed.
*
* Most methods will first try using a URL containing the country code, and If that fails, they will
* use a URL without country code. This is because the inclusion of the country code is necessary when
* synchronizing with a national node Directory, but not when synchronizing with the central Directory.
* Both of these cases can occur: larger countries (e.g. DE) tend to have their own national node
* Directories, but smaller countries (e.g. CY) use the central Directory.
*/
public class DirectoryApiRest extends DirectoryApi {
private final DirectoryCallsRest directoryCallsRest;
Expand Down

0 comments on commit fca1360

Please sign in to comment.