Skip to content

Visualizations Not Working #59

Description

@chrismccownQ

I have created a pipeline and followed the documentation for visualization, yet my pipeline isn't being rendered.

My pipeline class looks like this:

public class DataLookupService(IPipelineStepFactory stepFactory) : IDataLookupService
{
    public IPipeline<PropertyFindings> BuildPipeline(FeatureProcessorRequest message, List<Feature> features)
    {
        var input = new DataLoaderContext(message, features);

        return new PipelineBuilder<DataLoaderContext, PropertyFindings>(stepFactory, input)
            .Add<Step1>()
            .AddIf<Step2>(ctx => condition)
            .Add<Step3>()
            .If(x => condition, inner => inner
                .Add<Step2>()
                .Add<Step3>()
            )
            .Add<Step4>()
            .Add<Step5>()
            .Build();
    }
}

I've registered everything IOC:

services.AddPowerPipe(cfg => cfg.RegisterServicesFromAssembly(typeof(IFeatureServicesMarker).Assembly));
builder.Services.AddPowerPipeVisualization(o => o.ScanFromType(typeof(DataLookupService)));
// ...
app.UsePowerPipeVisualization();

However, when I go to /powerpipe, all I see END OF WORKFLOW

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions