Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External app #864

Merged
merged 4 commits into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 45 additions & 1 deletion doc/dependency_decisions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- 3.7.100.14
- 3.7.100.25
- 3.7.105.20
- 3.7.200.13
:when: 2022-10-14 23:36:39.233755632 Z
- - :approve
- AWSSDK.SecurityToken
Expand All @@ -18,13 +19,15 @@
- 3.7.100.14
- 3.7.100.25
- 3.7.101.26
- 3.7.201.9
:when: 2022-10-14 23:36:39.628260680 Z
- - :approve
- Ardalis.GuardClauses
- :who: mocsharp
:why: MIT (https://github.com/ardalis/GuardClauses.Analyzers/raw/master/LICENSE)
:versions:
- 4.0.1
- 4.1.1
:when: 2022-10-14 23:36:39.999308652 Z
- - :approve
- AutoFixture
Expand Down Expand Up @@ -399,6 +402,8 @@
:versions:
- 6.0.1
- 7.0.0
- 2.2.0
- 3.1.0
:when: 2022-10-14 23:37:00.596541774 Z
- - :approve
- Microsoft.Extensions.Configuration.Abstractions
Expand All @@ -414,6 +419,7 @@
:why: MIT (https://github.com/dotnet/runtime/raw/main/LICENSE.TXT)
:versions:
- 3.0.0
- 3.1.0
- 2.2.0
- 7.0.3
:when: 2022-10-14 23:37:01.366955631 Z
Expand Down Expand Up @@ -469,6 +475,7 @@
- :who: mocsharp
:why: MIT (https://github.com/dotnet/runtime/raw/main/LICENSE.TXT)
:versions:
- 3.1.0
- 6.0.0
- 6.0.1
- 2.2.0
Expand Down Expand Up @@ -506,6 +513,7 @@
- 6.0.12
- 6.0.14
- 6.0.15
- 6.0.21
:when: 2022-10-14 23:37:05.589288760 Z
- - :approve
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions
Expand All @@ -515,6 +523,7 @@
- 6.0.12
- 6.0.14
- 6.0.15
- 6.0.21
:when: 2022-10-14 23:37:05.963687838 Z
- - :approve
- Microsoft.Extensions.FileProviders.Abstractions
Expand Down Expand Up @@ -585,6 +594,8 @@
:versions:
- 6.0.0
- 7.0.0
- 2.2.0
- 3.1.0
:when: 2022-10-14 23:37:09.454044811 Z
- - :approve
- Microsoft.Extensions.Logging.Abstractions
Expand All @@ -593,6 +604,7 @@
:versions:
- 6.0.2
- 2.0.0
- 6.0.4
- 7.0.0
:when: 2022-10-14 23:37:09.821156462 Z
- - :approve
Expand Down Expand Up @@ -851,6 +863,7 @@
:versions:
- 4.0.6
- 4.0.7
- 5.0.0
:when: 2022-10-14 23:37:22.726827733 Z
- - :approve
- Moq
Expand Down Expand Up @@ -923,13 +936,15 @@
:why: BSD-3-Clause (https://github.com/App-vNext/Polly/raw/main/LICENSE.txt)
:versions:
- 7.2.3
- 7.2.4
:when: 2022-10-14 23:37:30.185774702 Z
- - :approve
- RabbitMQ.Client
- :who: mocsharp
:why: Apache-2.0 (https://github.com/rabbitmq/rabbitmq-dotnet-client/raw/main/LICENSE-APACHE2)
:versions:
- 6.4.0
- 6.5.0
:when: 2022-10-14 23:37:30.555988654 Z
- - :approve
- Serilog
Expand Down Expand Up @@ -1195,7 +1210,15 @@
:why: MIT (https://github.com/dotnet/runtime/raw/main/LICENSE.TXT)
:versions:
- 5.0.0
- 4.3.0
:when: 2022-10-14 23:37:45.155805918 Z
- - :approve
- System.ComponentModel
- :who: nsouth
:why: MICROSOFT .NET LIBRARY License (http://go.microsoft.com/fwlink/?LinkId=329770)
:versions:
- 4.3.0
:when: 2023-8-18 08:53:45.155805918 Z
- - :approve
- System.Configuration.ConfigurationManager
- :who: mocsharp
Expand Down Expand Up @@ -1381,6 +1404,13 @@
:versions:
- 4.3.0
:when: 2022-10-14 23:37:55.295846123 Z
- - :approve
- System.IO.Hashing
- :who: nsouth
:why: MIT
:versions:
- 7.0.0
:when: 2023-8-18 08:53:55.295846123 Z
- - :approve
- System.IdentityModel.Tokens.Jwt
- :who: mocsharp
Expand Down Expand Up @@ -1425,6 +1455,7 @@
:why: MIT (https://github.com/dotnet/corefx/raw/master/LICENSE.TXT)
:versions:
- 4.5.4
- 4.5.5
:when: 2022-10-14 23:37:58.271685148 Z
- - :approve
- System.Net.Http
Expand Down Expand Up @@ -1902,6 +1933,7 @@
:versions:
- 4.7.1
- 6.0.0
- 7.0.0
:when: 2022-10-14 23:38:26.916570960 Z
- - :approve
- System.Threading.Tasks
Expand Down Expand Up @@ -2336,6 +2368,7 @@
:versions:
- 0.1.21
- 0.1.23
- 0.1.25
:when: 2022-12-15 21:43:10.781625468 Z
- - :approve
- Monai.Deploy.Messaging.RabbitMQ
Expand All @@ -2344,6 +2377,7 @@
:versions:
- 0.1.21
- 0.1.23
- 0.1.25
:when: 2022-12-15 21:43:20.975488411 Z
- - :approve
- Monai.Deploy.Storage
Expand All @@ -2353,6 +2387,7 @@
- 0.2.10
- 0.2.13
- 0.2.15
- 0.2.18
:when: 2022-11-02 21:43:46.964761113 Z
- - :approve
- Monai.Deploy.Storage.MinIO
Expand All @@ -2362,6 +2397,7 @@
- 0.2.10
- 0.2.13
- 0.2.15
- 0.2.18
:when: 2022-11-02 21:43:57.620687413 Z
- - :approve
- Monai.Deploy.Storage.S3Policy
Expand All @@ -2371,6 +2407,7 @@
- 0.2.10
- 0.2.13
- 0.2.15
- 0.2.18
:when: 2022-11-02 21:44:06.994266372 Z
- - :approve
- MongoDB.Bson
Expand Down Expand Up @@ -2553,6 +2590,7 @@
:why: MIT (https://raw.githubusercontent.com/CommunityToolkit/WindowsCommunityToolkit/main/License.md)
:versions:
- 7.1.2
- 8.1.0
:when: 2023-05-17 14:44:00.000000000 Z
- - :approve
- fo-dicom
Expand All @@ -2561,5 +2599,11 @@
:versions:
- 5.0.3
:when: 2023-05-17 14:44:00.000000000 Z

- - :approve
- CommunityToolkit.HighPerformance
- :who: nsouth
:why: MIT
:versions:
- 8.1.0
:when: 2023-08-18 09:09:00.000000000 Z

6 changes: 6 additions & 0 deletions guidelines/mwm-workflow-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ These tasks are borken down into different types:
| ---- | ------- |
| Router | A task to control the flow through a workflow |
| Export | A task to trigger the exporting of data |
| External App | A task to trigger execution of an external app |
| `Plugin_Name` | A task which has a matching Plugin installed & enabled |


Expand Down Expand Up @@ -402,6 +403,11 @@ Example (output sent to another task if the patient is female, otherwise to PACS

Export destinations define an external location to which the output of the task can be sent. This will take the form of an event published to a pub/sub service notifying of an available export to a specific destination reference. Most commonly, the export location will be a PACs system and the notification will be picked up by the Monai Informatics Gateway.

#### External App
These are task types that allow for execution of external apps and in
structure are identical to the Export type above.


#### Plugin
These are tasks are Named the same as the installed Pluging.
The task also requires these extra attributes:-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Monai.Deploy.Messaging" Version="0.1.23" />
<PackageReference Include="Monai.Deploy.Storage" Version="0.2.15" />
<PackageReference Include="Monai.Deploy.Messaging" Version="0.1.25" />
<PackageReference Include="Monai.Deploy.Storage" Version="0.2.18" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions src/Shared/Configuration/WorkflowManagerOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ public class WorkflowManagerOptions : PagedOptions
[ConfigurationKeyName("dicomTagsDisallowed")]
public string DicomTagsDisallowed { get; set; } = string.Empty;

[ConfigurationKeyName("migExternalAppPlugins")]
public List<string> MigExternalAppPlugins { get; set; }

public WorkflowManagerOptions()
{
Messaging = new MessageBrokerConfiguration();
Expand Down
Loading
Loading