Skip to content

Commit 69604ce

Browse files
deploy/helm: add orthanc as destination
Signed-off-by: Jordi Massaguer Pla <[email protected]>
1 parent 4d68aca commit 69604ce

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

deploy/helm/README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,13 @@ install the Monai Informatics Gateway.
195195

196196
2. Configure the aeTitle:
197197

198-
``` kubectl exec -ti mig-monai bash ```
199-
``` curl --location --request POST 'http://localhost:5000/config/ae/' --header 'Content-Type: application/json' --data-raw '{ "aeTitle": "MONAISCU", "name": "MONAISCU" }' ```
198+
```
199+
MIG=$(kubectl get pods --no-headers -o=name --selector=app.kubernetes.io/instance=mig)
200+
kubectl exec -ti ${MIG} -- curl --location --request POST 'http://localhost:5000/config/ae/' --header 'Content-Type: application/json' --data-raw '{ "aeTitle": "MONAISCU", "name": "MONAISCU" }```
201+
kubectl exec -ti ${MIG} -- curl --location --request POST http://localhost:5000/config/destination --header 'Content-Type: application/json' --data-raw '{"name": "ORTHANC", "hostIp": "orthanc-monai", "port": 4242, "aeTitle": "ORTHANC"}'
200202
201-
Note without this extra step, you will not be able to connect Orthanc.
203+
Note without this extra step, you will not be able to connect to and from
204+
Orthanc.
202205
203206
And now is time to install Orthanc, the last piece.
204207
@@ -280,7 +283,7 @@ You can still use the REST api.
280283
281284
Select "upload dcm image"
282285
283-
You can use one from .... FIXME
286+
You can use [0]
284287
285288
### Send the dcm to MIG
286289
@@ -428,5 +431,15 @@ More info at:
428431
429432
https://github.com/Project-MONAI/monai-deploy-informatics-gateway/blob/develop/docs/api/rest/config.md
430433
434+
1- If you see an error in the Informatics Gateway Log that could not
435+
connect to the destination AE, it is because the Informatics
436+
Gateway lacks the configuration about ORTHANC as the destination.
437+
438+
More info at:
439+
440+
https://github.com/Project-MONAI/monai-deploy-informatics-gateway/blob/develop/docs/api/rest/config.md
431441
432442
443+
[0] https://drive.google.com/file/d/1d8Scm3q-kHTqr_-KfnXH0rPnCgKld2Iy/view?usp=sharing
444+
a DICOM dataset that was converted to DICOM from Medical Decathlon
445+
training and validation images (see https://github.com/Project-MONAI/monai-deploy/tree/main/deploy/monai-deploy-express#running-a-monai-deploy-workflow)

0 commit comments

Comments
 (0)