Skip to content

Commit fb68cc4

Browse files
authored
127 support execution stats (#207)
* Changes required for support execution stats Signed-off-by: Lillie Dae <[email protected]>
1 parent 2e79bc8 commit fb68cc4

25 files changed

+189
-80
lines changed

src/Configuration/Monai.Deploy.WorkflowManager.Configuration.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ SPDX-License-Identifier: Apache License 2.0
1717
<PackageReference Include="Monai.Deploy.Storage.MinIO" Version="0.1.0-rc0060" />
1818
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
1919
<PackageReference Include="Monai.Deploy.Storage" Version="0.1.0-rc0060" />
20-
<PackageReference Include="Monai.Deploy.Messaging" Version="0.1.0-rc0047" />
20+
<PackageReference Include="Monai.Deploy.Messaging" Version="0.1.3-rc0006" />
2121
<PackageReference Include="System.IO.Abstractions" Version="17.0.18" />
2222
</ItemGroup>
2323

src/Configuration/packages.lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
},
2525
"Monai.Deploy.Messaging": {
2626
"type": "Direct",
27-
"requested": "[0.1.0-rc0047, )",
28-
"resolved": "0.1.0-rc0047",
29-
"contentHash": "6d2aGuxubGA96+eQhE3ybQPEbjkjZm5srlBN8/Ru44Xutv/IGlplZl9YHcrjclYh/7t6fnJ+06vR/tUqlsM2Fg==",
27+
"requested": "[0.1.3-rc0006, )",
28+
"resolved": "0.1.3-rc0006",
29+
"contentHash": "bYwNb22yQoGe5sl31Kr/zlPjyDylBvFQ3o9hUZQxCHXtSM1igoi+wwIFVB5DD7M/TMGetq0PdaSh5HVr5yOSwg==",
3030
"dependencies": {
3131
"Ardalis.GuardClauses": "4.0.1",
3232
"Microsoft.Extensions.Configuration": "6.0.1",

src/Contracts/Monai.Deploy.WorkflowManager.Contracts.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ SPDX-License-Identifier: Apache License 2.0
1818
<ItemGroup>
1919
<PackageReference Include="AWSSDK.SecurityToken" Version="3.7.1.167" />
2020
<PackageReference Include="MongoDB.Bson" Version="2.15.0" />
21-
<PackageReference Include="Monai.Deploy.Messaging" Version="0.1.0-rc0047" />
21+
<PackageReference Include="Monai.Deploy.Messaging" Version="0.1.3-rc0006" />
2222
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
2323
<PackageReference Include="Microsoft.Extensions.Configuration" Version="6.0.1" />
2424
</ItemGroup>

src/Database/Monai.Deploy.WorkflowManager.Database.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<PackageReference Include="Ardalis.GuardClauses" Version="4.0.1" />
2121
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.1" />
2222
<PackageReference Include="Microsoft.Extensions.Options" Version="6.0.0" />
23-
<PackageReference Include="Monai.Deploy.Messaging" Version="0.1.0-rc0047" />
23+
<PackageReference Include="Monai.Deploy.Messaging" Version="0.1.3-rc0006" />
2424
<PackageReference Include="MongoDB.Bson" Version="2.15.0" />
2525
<PackageReference Include="MongoDB.Driver" Version="2.15.0" />
2626
</ItemGroup>

src/Database/packages.lock.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
},
3030
"Monai.Deploy.Messaging": {
3131
"type": "Direct",
32-
"requested": "[0.1.0-rc0047, )",
33-
"resolved": "0.1.0-rc0047",
34-
"contentHash": "6d2aGuxubGA96+eQhE3ybQPEbjkjZm5srlBN8/Ru44Xutv/IGlplZl9YHcrjclYh/7t6fnJ+06vR/tUqlsM2Fg==",
32+
"requested": "[0.1.3-rc0006, )",
33+
"resolved": "0.1.3-rc0006",
34+
"contentHash": "bYwNb22yQoGe5sl31Kr/zlPjyDylBvFQ3o9hUZQxCHXtSM1igoi+wwIFVB5DD7M/TMGetq0PdaSh5HVr5yOSwg==",
3535
"dependencies": {
3636
"Ardalis.GuardClauses": "4.0.1",
3737
"Microsoft.Extensions.Configuration": "6.0.1",
@@ -246,7 +246,7 @@
246246
"dependencies": {
247247
"AWSSDK.SecurityToken": "3.7.1.167",
248248
"Microsoft.Extensions.Configuration": "6.0.1",
249-
"Monai.Deploy.Messaging": "0.1.0-rc0047",
249+
"Monai.Deploy.Messaging": "0.1.3-rc0006",
250250
"MongoDB.Bson": "2.15.0",
251251
"Newtonsoft.Json": "13.0.1"
252252
}

src/Monai.Deploy.WorkflowManager.Storage/packages.lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@
162162
},
163163
"Monai.Deploy.Messaging": {
164164
"type": "Transitive",
165-
"resolved": "0.1.0-rc0047",
166-
"contentHash": "6d2aGuxubGA96+eQhE3ybQPEbjkjZm5srlBN8/Ru44Xutv/IGlplZl9YHcrjclYh/7t6fnJ+06vR/tUqlsM2Fg==",
165+
"resolved": "0.1.3-rc0006",
166+
"contentHash": "bYwNb22yQoGe5sl31Kr/zlPjyDylBvFQ3o9hUZQxCHXtSM1igoi+wwIFVB5DD7M/TMGetq0PdaSh5HVr5yOSwg==",
167167
"dependencies": {
168168
"Ardalis.GuardClauses": "4.0.1",
169169
"Microsoft.Extensions.Configuration": "6.0.1",
@@ -805,7 +805,7 @@
805805
"dependencies": {
806806
"AWSSDK.SecurityToken": "3.7.1.167",
807807
"Microsoft.Extensions.Configuration": "6.0.1",
808-
"Monai.Deploy.Messaging": "0.1.0-rc0047",
808+
"Monai.Deploy.Messaging": "0.1.3-rc0006",
809809
"MongoDB.Bson": "2.15.0",
810810
"Newtonsoft.Json": "13.0.1"
811811
}

src/PayloadListener/Monai.Deploy.WorkflowManager.PayloadListener.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ SPDX-License-Identifier: Apache License 2.0
2020
<PackageReference Include="Ardalis.GuardClauses" Version="4.0.1" />
2121
<PackageReference Include="Monai.Deploy.Storage" Version="0.1.0-rc0060" />
2222
<PackageReference Include="Monai.Deploy.Storage.MinIO" Version="0.1.0-rc0060" />
23-
<PackageReference Include="Monai.Deploy.Messaging" Version="0.1.0-rc0047" />
23+
<PackageReference Include="Monai.Deploy.Messaging" Version="0.1.3-rc0006" />
2424
</ItemGroup>
2525

2626
<ItemGroup>

src/PayloadListener/packages.lock.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
},
2525
"Monai.Deploy.Messaging": {
2626
"type": "Direct",
27-
"requested": "[0.1.0-rc0047, )",
28-
"resolved": "0.1.0-rc0047",
29-
"contentHash": "6d2aGuxubGA96+eQhE3ybQPEbjkjZm5srlBN8/Ru44Xutv/IGlplZl9YHcrjclYh/7t6fnJ+06vR/tUqlsM2Fg==",
27+
"requested": "[0.1.3-rc0006, )",
28+
"resolved": "0.1.3-rc0006",
29+
"contentHash": "bYwNb22yQoGe5sl31Kr/zlPjyDylBvFQ3o9hUZQxCHXtSM1igoi+wwIFVB5DD7M/TMGetq0PdaSh5HVr5yOSwg==",
3030
"dependencies": {
3131
"Ardalis.GuardClauses": "4.0.1",
3232
"Microsoft.Extensions.Configuration": "6.0.1",
@@ -909,7 +909,7 @@
909909
"dependencies": {
910910
"Microsoft.Extensions.Configuration": "6.0.1",
911911
"Microsoft.Extensions.Options": "6.0.0",
912-
"Monai.Deploy.Messaging": "0.1.0-rc0047",
912+
"Monai.Deploy.Messaging": "0.1.3-rc0006",
913913
"Monai.Deploy.Storage": "0.1.0-rc0060",
914914
"Monai.Deploy.Storage.MinIO": "0.1.0-rc0060",
915915
"Newtonsoft.Json": "13.0.1",
@@ -921,7 +921,7 @@
921921
"dependencies": {
922922
"AWSSDK.SecurityToken": "3.7.1.167",
923923
"Microsoft.Extensions.Configuration": "6.0.1",
924-
"Monai.Deploy.Messaging": "0.1.0-rc0047",
924+
"Monai.Deploy.Messaging": "0.1.3-rc0006",
925925
"MongoDB.Bson": "2.15.0",
926926
"Newtonsoft.Json": "13.0.1"
927927
}
@@ -932,7 +932,7 @@
932932
"Ardalis.GuardClauses": "4.0.1",
933933
"Microsoft.Extensions.Logging.Abstractions": "6.0.1",
934934
"Microsoft.Extensions.Options": "6.0.0",
935-
"Monai.Deploy.Messaging": "0.1.0-rc0047",
935+
"Monai.Deploy.Messaging": "0.1.3-rc0006",
936936
"Monai.Deploy.WorkflowManager.Contracts": "1.0.0",
937937
"Monai.Deploy.WorkflowManager.Logging": "1.0.0",
938938
"MongoDB.Bson": "2.15.0",
@@ -960,7 +960,7 @@
960960
"dependencies": {
961961
"AWSSDK.SecurityToken": "3.7.1.167",
962962
"Ardalis.GuardClauses": "4.0.1",
963-
"Monai.Deploy.Messaging": "0.1.0-rc0047",
963+
"Monai.Deploy.Messaging": "0.1.3-rc0006",
964964
"Monai.Deploy.Storage": "0.1.0-rc0060",
965965
"Monai.Deploy.Storage.MinIO": "0.1.0-rc0060",
966966
"Monai.Deploy.WorkflowManager.Common": "1.0.0",

src/TaskManager/API/ExecutionStatus.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,10 @@ public class ExecutionStatus
2121
/// Gets or sets any errors of the execution.
2222
/// </summary>
2323
public string Errors { get; set; } = string.Empty;
24+
25+
/// <summary>
26+
/// Contains various stats
27+
/// </summary>
28+
public Dictionary<string, object?>? Stats { get; set; }
2429
}
2530
}

src/TaskManager/API/Monai.Deploy.WorkflowManager.TaskManager.API.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ SPDX-License-Identifier: Apache License 2.0
2222
</ItemGroup>
2323

2424
<ItemGroup>
25-
<PackageReference Include="Monai.Deploy.Messaging" Version="0.1.0-rc0047" />
25+
<PackageReference Include="Monai.Deploy.Messaging" Version="0.1.3-rc0006" />
2626
<PackageReference Include="Monai.Deploy.Storage" Version="0.1.0-rc0060" />
2727
<PackageReference Include="Monai.Deploy.Storage.MinIO" Version="0.1.0-rc0060" />
2828
</ItemGroup>

0 commit comments

Comments
 (0)