Skip to content

Commit 66250fd

Browse files
author
Ronny Kursawe
committed
docs: Adapting documentation for usage of the rpb-uploader-basic-web-service and added description of additional configuration parameters
1 parent 9314723 commit 66250fd

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

README.md

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,23 @@
22

33
The Web DICOM Upload Client is part of the [RPB Infrastructure](https://github.com/ddRPB/rpb#radiotherapy-clinical-research-it-infrastructure). It facilitates the upload of DICOM data via RESTful web services, provided by the [RPB portal](https://github.com/ddRPB/rpb/tree/master/radplanbio-portal/src/main/java/de/dktk/dd/rpb/api/v1). The documentation from user perspective can be found [here](https://rpb-doc.readthedocs.io/en/latest/pacs/pacs.html).
44

5-
## Getting Started
5+
## Getting Started for Testing
66

7-
### Prerequisits
7+
The Uploader needs corresponding web services. If you just want to try it out, there is a [rpb-uploader-basic-webservices](https://github.com/ddRPB/rpb-uploader-basic-webservices) project that provides the services for a basic interaction without installing the real RPB Portal.
88

9-
Prerequisits to work with the uploader are the web services, provided by the RPB portal or an alternative implementation with similar functionality.
9+
Just install a [Tomcat 11](https://tomcat.apache.org/tomcat-11.0-doc/index.html). Drop the "ROOT.war" file from the latest [release](https://github.com/ddRPB/rpb-uploader-basic-webservices/releases) in "webapps" folder. Then create an additional "/uploader" in the "webapps" folder und unzip the "rpb-uploader-....zip" file from the latest [Uploader Release](https://github.com/ddRPB/rpb-uploader/releases).
10+
11+
Open [localhost:8080/uploader](http://localhost:8080/uploader) in your browser.
12+
13+
## Getting Started for Development
14+
15+
### Prerequisites
16+
17+
Prerequisites to work with the uploader are the web services, provided by the RPB portal or an alternative implementation with similar functionality.
18+
19+
If you do not want to start with the complex portal, you can just use the [rpb-uploader-basic-webservices](https://github.com/ddRPB/rpb-uploader-basic-webservices) project described in the [Getting Started for Development](#getting-started-for-testing) section.
20+
21+
During the development, you need to deal with a [same origin policy](https://developer.mozilla.org/en-US/docs/Web/Security/Defenses/Same-origin_policy) of the Browser. Node-JS usually runs on port 3000. The additional Tomcat on port 8080. All network calls from the Uploader to the Portal will be reject, based on that policy. There are some plugins than allow you to switch off this security feature for that specific use case.
1022

1123
### Clone Repository
1224

@@ -44,6 +56,14 @@ In the current version, you need to adjust the parameters:
4456

4557
- /src/index.js - uploaderVersion: version of the uploader that is used in the UI and the De-identification Method Attribute (0012,0063)
4658

59+
#### Mail Service
60+
61+
- /src/index.js - mailServiceEnabled - enables the usage of the portal web service that sends mail notifications
62+
63+
#### Skip Upload Verification
64+
65+
- /src/index.js - skipUploadVerification - the Uploader verifies the upload at the end with a dedicated request and fails if the count of uploaded files does not match the files that the backend returns on that request. Here it is possible to define an array of SOPClassUids that will be ignored by this specific counting.
66+
4767
### Start the App
4868

4969
```
@@ -58,7 +78,7 @@ After the configuration step, you can create a specific release that will be sto
5878
yarn build-webpack
5979
```
6080

61-
The generated code can be found in the "dist" folder.
81+
The generated code can be found in the "dist" folder. This can be directly dropped into a folder on the web server. Probably, you would drop it into an "uploader" folder on the existing Tomcat server of the Portal and avoid the same-origin-policy problem described in the [Prerequisites](#prerequisites) section.
6282

6383
## Releases
6484

0 commit comments

Comments
 (0)