Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrickboom committed Feb 15, 2024
1 parent 87ece40 commit 7725e0b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
8 changes: 3 additions & 5 deletions advanced-setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ between a DICOM compliant modality and a dicomweb compliant PACS.

This advanced setup includes Keycloak.
The Orthanc user has permissions only on a specific tag, so that not all the studies are available.
Of course, this setup is relevant only if the DICOMweb server to query is Orthanc...

# Description

Expand All @@ -15,9 +16,6 @@ This demo contains the same containers as the sample setup plus:

# Starting the setup

- To start the setup, type: `docker-compose up --build`
- visit Keycloak admin page, get the client secret and put it in the compose, the restart the setup
- To start the setup, type: `docker-compose up -d --build`
- visit Keycloak admin page, get the client secret and put it in the compose, then restart the setup
- still in Keycloak admin page, add an `api-key` attribute (and value) for the user from the proxy

# demo
TODO
4 changes: 0 additions & 4 deletions proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ def OnFind(answers, query, issuerAet, calledAet):
answers.FindAddAnswer(orthanc.CreateDicom(
json.dumps(dicomTagsList), None, orthanc.CreateDicomFlags.NONE))

# todo: test scenario

def WadoRs(request, dicomwebServerAlias = None):

# Let's build the payload
Expand Down Expand Up @@ -202,8 +200,6 @@ def GetOrthancAliasFromAET(AET):
raise Exception('It seems that the modality issuing the original DICOM query is not registered in the Proxy config!')

def OnMove(**request):
print("entering in move------------------")
time.sleep(18)
# fetch the resource from the dicomweb server
if request["SourceAET"] in {None, ''}:
raise Exception('The DICOM query does not contain a value for the SourceAET, unable to process it!')
Expand Down
2 changes: 1 addition & 1 deletion simple-setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ the modality to dicomweb queries. It also converts the dicomweb replies from the

# Starting the setup

To start the setup, type: `docker-compose up --build`
To start the setup, type: `docker-compose up -d --build`

# demo

Expand Down
Binary file added stimuli/CT_small2.dcm
Binary file not shown.

0 comments on commit 7725e0b

Please sign in to comment.