File size: 1,141 Bytes
aa739d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
```json
{
  "routes": [
    {
      "source": "MRTRoomService",
      "eventType": "study.uploaded",
      "target": "RadiologyWorkbench",
      "transformations": {
        "map": {
          "studyId": "$.study.id",
          "priority": "$.study.priority",
          "assignedTo": "$.study.radiologist"
        }
      }
    },
    {
      "source": "RadiologyWorkbench",
      "eventType": "report.final",
      "target": "FilesAndDICOM",
      "transformations": {
        "map": {
          "reportId": "$.report.id",
          "studyId": "$.report.studyId",
          "format": "$.report.format"
        }
      }
    },
    {
      "source": "QueueService",
      "eventType": "queue.done",
      "target": "ScoringAndSLA",
      "transformations": {
        "map": {
          "queueId": "$.queue.id",
          "completionTime": "$.queue.completedAt",
          "slaStatus": "$.queue.slaStatus"
        }
      }
    }
  ],
  "tracing": {
    "enabled": true,
    "headerNames": {
      "traceId": "X-Trace-Id",
      "correlationId": "X-Correlation-Id"
    }
  }
}
```

Now let's update the index.html to add these configurations: