Add requestOptions to DIMSE Server schema to fix authentication errors (OHIF-116)
This commit is contained in:
parent
531d2e283c
commit
05d5b4007b
@ -117,6 +117,10 @@ export const DIMSEServer = new SimpleSchema({
|
|||||||
name: serverNameDefinitions,
|
name: serverNameDefinitions,
|
||||||
type: serverTypeDefinitions,
|
type: serverTypeDefinitions,
|
||||||
wadoUriRoot: wadoUriRootDefinitions,
|
wadoUriRoot: wadoUriRootDefinitions,
|
||||||
|
requestOptions: {
|
||||||
|
type: DICOMWebRequestOptions,
|
||||||
|
label: 'Request Options'
|
||||||
|
},
|
||||||
peers: {
|
peers: {
|
||||||
type: [DIMSEPeer],
|
type: [DIMSEPeer],
|
||||||
label: 'Peer List',
|
label: 'Peer List',
|
||||||
|
|||||||
@ -13,11 +13,17 @@
|
|||||||
"logRequests": true,
|
"logRequests": true,
|
||||||
"logResponses": false,
|
"logResponses": false,
|
||||||
"logTiming": true
|
"logTiming": true
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
"dimse": [{
|
"dimse": [{
|
||||||
"name": "DCM4CHEE_DIMSE",
|
"name": "DCM4CHEE_DIMSE",
|
||||||
"wadoUriRoot": "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/wado",
|
"wadoUriRoot": "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/wado",
|
||||||
|
"requestOptions": {
|
||||||
|
"auth": "admin:admin",
|
||||||
|
"logRequests": true,
|
||||||
|
"logResponses": false,
|
||||||
|
"logTiming": true
|
||||||
|
},
|
||||||
"peers": [
|
"peers": [
|
||||||
{
|
{
|
||||||
"host": "localhost",
|
"host": "localhost",
|
||||||
|
|||||||
@ -1,41 +0,0 @@
|
|||||||
{
|
|
||||||
"servers": {
|
|
||||||
"dicomWeb": [
|
|
||||||
{
|
|
||||||
"name": "Orthanc",
|
|
||||||
"wadoUriRoot" : "http://52.87.58.190:8043/wado",
|
|
||||||
"qidoRoot": "http://localhost:8042/dicom-web",
|
|
||||||
"wadoRoot": "http://localhost:8042/dicom-web",
|
|
||||||
"qidoSupportsIncludeField": false,
|
|
||||||
"imageRendering" : "wadouri",
|
|
||||||
"requestOptions" : {
|
|
||||||
"auth": "orthanc:orthanc",
|
|
||||||
"logRequests" : true,
|
|
||||||
"logResponses" : false,
|
|
||||||
"logTiming" : true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"dimse": [{
|
|
||||||
"name": "OrthancDIMSE",
|
|
||||||
"wadoUriRoot" : "http://52.87.58.190:8043/wado",
|
|
||||||
"peers": [
|
|
||||||
{
|
|
||||||
"host" : "localhost",
|
|
||||||
"port" : 4242,
|
|
||||||
"aeTitle" : "ORTHANC",
|
|
||||||
"default": true,
|
|
||||||
"supportsInstanceRetrievalByStudyUid": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"host" : "0.0.0.0",
|
|
||||||
"port" : 11112,
|
|
||||||
"aeTitle" : "OHIFDCM",
|
|
||||||
"default" : true,
|
|
||||||
"server" : true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}]
|
|
||||||
},
|
|
||||||
"defaultServiceType": "dimse"
|
|
||||||
}
|
|
||||||
@ -1,24 +1,14 @@
|
|||||||
{
|
{
|
||||||
"servers": {
|
"servers": {
|
||||||
"dicomWeb": [
|
|
||||||
{
|
|
||||||
"name": "Orthanc",
|
|
||||||
"wadoUriRoot": "http://localhost:8042/wado",
|
|
||||||
"qidoRoot": "http://localhost:8042/dicom-web",
|
|
||||||
"wadoRoot": "http://localhost:8042/dicom-web",
|
|
||||||
"qidoSupportsIncludeField": false,
|
|
||||||
"imageRendering": "wadouri",
|
|
||||||
"requestOptions": {
|
|
||||||
"auth": "orthanc:orthanc",
|
|
||||||
"logRequests": true,
|
|
||||||
"logResponses": false,
|
|
||||||
"logTiming": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"dimse": [{
|
"dimse": [{
|
||||||
"name": "ORTHANC_DIMSE",
|
"name": "ORTHANC_DIMSE",
|
||||||
"wadoUriRoot": "http://localhost:8042/wado",
|
"wadoUriRoot": "http://localhost:8042/wado",
|
||||||
|
"requestOptions": {
|
||||||
|
"auth": "orthanc:orthanc",
|
||||||
|
"logRequests": true,
|
||||||
|
"logResponses": false,
|
||||||
|
"logTiming": true
|
||||||
|
},
|
||||||
"peers": [
|
"peers": [
|
||||||
{
|
{
|
||||||
"host": "localhost",
|
"host": "localhost",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user