Skip to content

Commit

Permalink
Update running-with-java.md
Browse files Browse the repository at this point in the history
Added information on how to use a Syndication Service and how to specify proxy parameters.
  • Loading branch information
tporcham-tk committed Jun 21, 2024
1 parent e7a1f47 commit db5e0f7
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions docs/running-with-java.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,26 @@ Building the index for the International Edition can happen in resource constrai
The following examples use the version URI for the January 2024 International Edition with module `900000000000207008` and version `20240101`.
[See "URIs for Editions and Versions" in the SNOMED CT URI Standard](http:https://snomed.org/uri).

#### Option 1: Loading via the command line
#### Option 1: Using a SNOMED Syndication Service
If you have access to the SNOMED International MLDS service then Snowstorm Lite can download a release automatically from there.

For example:
```
java -jar snowstorm-lite.jar \
--syndicate \
--version-uri=http:https://snomed.info/sct/900000000000207008/version/20240101
```

HTTPS proxy server parameters can also be specified. The parameters `https.proxyUser` and `https.proxyPassword` are optional and only needed if the proxy server requires authentication.

For example:
```
java -jar -Dhttps.proxyHost=<host> -Dhttps.proxyPort=<port> -Dhttps.proxyUser=<user> -Dhttps.proxyPassword=<password> snowstorm-lite.jar \
--syndicate \
--version-uri=http:https://snomed.info/sct/900000000000207008/version/20240101
```

#### Option 2: Loading via the command line
Use the `--load` parameter with the path to a SNOMED CT Edition RF2 archive.
Or alternatively a comma separated list of RF2 paths including an Edition and one or more Extension packages.

Expand All @@ -26,7 +45,7 @@ java -jar snowstorm-lite.jar \
--version-uri=http:https://snomed.info/sct/900000000000207008/version/20240101
```

#### Option 2: Loading via the REST API
#### Option 3: Loading via the REST API
Alternatively the index can be created by uploading the release file:
```
curl --form file=@my-release-files/SnomedCT_InternationalRF2_xxxxx.zip \
Expand Down

0 comments on commit db5e0f7

Please sign in to comment.