diff --git a/config-react/ccc.json b/config-react/ccc.json deleted file mode 100644 index d889ddca2..000000000 --- a/config-react/ccc.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "servers": { - "dicomWeb": [ - { - "name": "DCM4CHEE", - "wadoUriRoot": "https://cancer.crowds-cure.org/dcm4chee-arc/aets/DCM4CHEE/wado", - "qidoRoot": "https://cancer.crowds-cure.org/dcm4chee-arc/aets/DCM4CHEE/rs", - "wadoRoot": "https://cancer.crowds-cure.org/dcm4chee-arc/aets/DCM4CHEE/rs", - "qidoSupportsIncludeField": true, - "imageRendering": "wadors", - "thumbnailRendering": "wadors", - "requestOptions": { - "requestFromBrowser": true - } - } - ] - }, - "oidc": [{ - "authServerUrl": "https://cancer.crowds-cure.org/auth/realms/dcm4che", - "authRedirectUri": "http://localhost:5000/callback", - "clientId": "crowds-cure-cancer", - "postLogoutRedirectUri": "http://localhost:5000/logout-redirect.html", - "responseType": "id_token token", - "scope": "email profile openid", - "revokeAccessTokenOnSignout": true, - "extraQueryParams": { - "kc_idp_hint": "crowds-cure-cancer-auth0-oidc", - "client_id": "crowds-cure-cancer" - } - }] -} diff --git a/config-react/local_dcm4chee.json b/config-react/local_dcm4chee.json deleted file mode 100644 index dcadfef52..000000000 --- a/config-react/local_dcm4chee.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "servers": { - "dicomWeb": [ - { - "name": "DCM4CHEE", - "wadoUriRoot": "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/wado", - "qidoRoot": "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs", - "wadoRoot": "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs", - "qidoSupportsIncludeField": true, - "imageRendering": "wadors", - "thumbnailRendering": "wadors", - "requestOptions": { - "requestFromBrowser": true, - "auth": "admin:admin" - } - } - ] - } -} diff --git a/config-react/local_orthanc.json b/config-react/local_orthanc.json deleted file mode 100644 index da1562da9..000000000 --- a/config-react/local_orthanc.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "servers": { - "dicomWeb": [ - { - "name": "Orthanc", - "wadoUriRoot": "http://localhost:8042/wado", - "qidoRoot": "http://localhost:8042/dicom-web", - "wadoRoot": "http://localhost:8042/dicom-web", - "qidoSupportsIncludeField": false, - "imageRendering": "wadors", - "thumbnailRendering": "wadors", - "requestOptions": { - "auth": "orthanc:orthanc", - "logRequests": true, - "logResponses": false, - "logTiming": true - } - } - ] - } -} diff --git a/config-react/public_dicomweb.json b/config-react/public_dicomweb.json deleted file mode 100644 index 699143e69..000000000 --- a/config-react/public_dicomweb.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "servers": { - "dicomWeb": [ - { - "name": "DCM4CHEE", - "wadoUriRoot": "https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/wado", - "qidoRoot": "https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs", - "wadoRoot": "https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs", - "qidoSupportsIncludeField": true, - "imageRendering": "wadors", - "thumbnailRendering": "wadors", - "requestOptions": { - "requestFromBrowser": true - } - } - ] - } -} diff --git a/config/ccc.js b/config/ccc.js new file mode 100644 index 000000000..a8766db8c --- /dev/null +++ b/config/ccc.js @@ -0,0 +1,36 @@ +dicomWebServers = { + servers: { + dicomWeb: [ + { + name: "DCM4CHEE", + wadoUriRoot: + "https://cancer.crowds-cure.org/dcm4chee-arc/aets/DCM4CHEE/wado", + qidoRoot: + "https://cancer.crowds-cure.org/dcm4chee-arc/aets/DCM4CHEE/rs", + wadoRoot: + "https://cancer.crowds-cure.org/dcm4chee-arc/aets/DCM4CHEE/rs", + qidoSupportsIncludeField: true, + imageRendering: "wadors", + thumbnailRendering: "wadors", + requestOptions: { + requestFromBrowser: true + } + } + ] + }, + oidc: [ + { + authServerUrl: "https://cancer.crowds-cure.org/auth/realms/dcm4che", + authRedirectUri: "http://localhost:5000/callback", + clientId: "crowds-cure-cancer", + postLogoutRedirectUri: "http://localhost:5000/logout-redirect.html", + responseType: "id_token token", + scope: "email profile openid", + revokeAccessTokenOnSignout: true, + extraQueryParams: { + kc_idp_hint: "crowds-cure-cancer-auth0-oidc", + client_id: "crowds-cure-cancer" + } + } + ] +} diff --git a/config/local_dcm4chee.js b/config/local_dcm4chee.js new file mode 100644 index 000000000..b4d887fc3 --- /dev/null +++ b/config/local_dcm4chee.js @@ -0,0 +1,19 @@ +dicomWebServers = { + servers: { + dicomWeb: [ + { + name: "DCM4CHEE", + wadoUriRoot: "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/wado", + qidoRoot: "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs", + wadoRoot: "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs", + qidoSupportsIncludeField: true, + imageRendering: "wadors", + thumbnailRendering: "wadors", + requestOptions: { + requestFromBrowser: true, + auth: "admin:admin" + } + } + ] + } +} diff --git a/config/local_orthanc.js b/config/local_orthanc.js new file mode 100644 index 000000000..2aacadfd5 --- /dev/null +++ b/config/local_orthanc.js @@ -0,0 +1,21 @@ +dicomWebServers = { + servers: { + dicomWeb: [ + { + name: "Orthanc", + wadoUriRoot: "http://localhost:8899/wado", + qidoRoot: "http://localhost:8899/dicom-web", + wadoRoot: "http://localhost:8899/dicom-web", + qidoSupportsIncludeField: false, + imageRendering: "wadors", + thumbnailRendering: "wadors", + requestOptions: { + auth: "orthanc:orthanc", + logRequests: true, + logResponses: false, + logTiming: true + } + } + ] + } +} diff --git a/config/public_dicomweb.js b/config/public_dicomweb.js new file mode 100644 index 000000000..4bde53033 --- /dev/null +++ b/config/public_dicomweb.js @@ -0,0 +1,18 @@ +dicomWebServers = { + servers: { + dicomWeb: [ + { + name: "DCM4CHEE", + wadoUriRoot: "https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/wado", + qidoRoot: "https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs", + wadoRoot: "https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs", + qidoSupportsIncludeField: true, + imageRendering: "wadors", + thumbnailRendering: "wadors", + requestOptions: { + requestFromBrowser: true + } + } + ] + } +}; diff --git a/example/index.html b/example/index.html index d8fdae795..c0f41930f 100644 --- a/example/index.html +++ b/example/index.html @@ -1,29 +1,53 @@ - +
- + - - - - - - - - + + + + + + + + - - + + - - + + - - - + + +