diff --git a/src/Trax.Dashboard/Components/Pages/Data/MetadataDetailPage.razor b/src/Trax.Dashboard/Components/Pages/Data/MetadataDetailPage.razor index c14f52d..b02477c 100644 --- a/src/Trax.Dashboard/Components/Pages/Data/MetadataDetailPage.razor +++ b/src/Trax.Dashboard/Components/Pages/Data/MetadataDetailPage.razor @@ -123,6 +123,37 @@ +@* ── Execution Host ── *@ +@if (_metadata.HostName is not null || _metadata.HostEnvironment is not null) +{ + + Execution Host + + + + + + + + + + + + + @if (!string.IsNullOrWhiteSpace(_metadata.HostLabels)) + { + + + +
@FormatJson(_metadata.HostLabels)
+
+
+
+ } +
+
+} + @* ── Step Progress (only if in progress with a running step) ── *@ @if (_metadata.TrainState == TrainState.InProgress && !string.IsNullOrWhiteSpace(_metadata.CurrentlyRunningStep)) { diff --git a/src/Trax.Dashboard/Components/Pages/Data/MetadataPage.razor b/src/Trax.Dashboard/Components/Pages/Data/MetadataPage.razor index e2c7a62..652aa5d 100644 --- a/src/Trax.Dashboard/Components/Pages/Data/MetadataPage.razor +++ b/src/Trax.Dashboard/Components/Pages/Data/MetadataPage.razor @@ -96,6 +96,16 @@ Title="Manifest Id" Width="140px" Visible="false" /> + + diff --git a/tests/Trax.Dashboard.Tests.Integration/UnitTests/CyclicDependencyValidationTests.cs b/tests/Trax.Dashboard.Tests.Integration/UnitTests/CyclicDependencyValidationTests.cs index 1ab3db4..0150a70 100644 --- a/tests/Trax.Dashboard.Tests.Integration/UnitTests/CyclicDependencyValidationTests.cs +++ b/tests/Trax.Dashboard.Tests.Integration/UnitTests/CyclicDependencyValidationTests.cs @@ -21,7 +21,7 @@ public class CyclicDependencyValidationTests public void SetUp() { _services = new ServiceCollection(); - var root = new TraxBuilder(_services, new EffectRegistry()); + var root = new TraxBuilder(_services, new EffectRegistry()) { HasDataProvider = true }; _parentBuilder = root.AddEffects(effects => effects) .AddMediator(typeof(IFakeSchedulerTrainA).Assembly); } diff --git a/tests/Trax.Dashboard.Tests.Integration/UnitTests/InferredSchedulingApiTests.cs b/tests/Trax.Dashboard.Tests.Integration/UnitTests/InferredSchedulingApiTests.cs index 52e4f44..573e86a 100644 --- a/tests/Trax.Dashboard.Tests.Integration/UnitTests/InferredSchedulingApiTests.cs +++ b/tests/Trax.Dashboard.Tests.Integration/UnitTests/InferredSchedulingApiTests.cs @@ -22,7 +22,7 @@ public class InferredSchedulingApiTests public void SetUp() { _services = new ServiceCollection(); - var root = new TraxBuilder(_services, new EffectRegistry()); + var root = new TraxBuilder(_services, new EffectRegistry()) { HasDataProvider = true }; _parentBuilder = root.AddEffects(effects => effects) .AddMediator(typeof(IFakeSchedulerTrainA).Assembly); }