knopkem / dicomweb-proxy

A proxy to translate between dicomweb and traditional dicom dimse services (PACS communication)
Other
66 stars 18 forks source link

Request to specific peer #115

Closed ruben-cruz closed 1 year ago

ruben-cruz commented 1 year ago

First of all congrats on the good job with this tool.

I have just a small question regarding the DICOM peers... I know that it's possible to configure multiple DICOM peers on the config file like this:

config.peers = [
  {
    aet: 'AET1',
    ip: 'localhost',
    port: 1,
  },
{
    aet: 'AET2',
    ip: 'localhost',
    port: 2,
  }
];

But, it's possible to make p.e. QIDO or WADO resquests for a specific peer of the configured list? For example: "http://localhost:5000/aets/AET1/rs/studies"?

knopkem commented 1 year ago

Hi, I'm not aware that differentiating between multiple AETs over one defined Endpoint is part of dicomweb. I think the idea is that each dicomweb provider stands for one AET, thus you would need to have multiple instances of providers. You can already do this:

ruben-cruz commented 1 year ago

@knopkem how can I configure more than one dicomweb-proxy servers? Do I have to create multiple config default.js files or it can be done with just one config file?

knopkem commented 1 year ago

You should checkout the proxy again in another folder and use isolated proxies. Using the same project with two differently configured instances is not possible (without changes)

ruben-cruz commented 1 year ago

@knopkem ok. Thanks for all your help.