project-flogo / flogo-web

Project Flogo Web UI
http://flogo.io
BSD 3-Clause "New" or "Revised" License
65 stars 36 forks source link

[Temp] Fix the build step of server start up #1257

Closed apandura-tibco closed 4 years ago

apandura-tibco commented 4 years ago

Temporary fix to the broken flogo engine build when the streams are added to it.

This will fix the following error while starting the server / container:

Error building project: # github.com/project-flogo/stream/pipeline
/Users/fcastill/go/pkg/mod/github.com/project-flogo/stream@v0.2.1-rc.1/pipeline/context.go:294:30: cannot use newCtx (type *ExecutionContext) as type activity.Context in argument to invokeCallback:
    *ExecutionContext does not implement activity.Context (missing GetTracingContext method)
/Users/fcastill/go/pkg/mod/github.com/project-flogo/stream@v0.2.1-rc.1/pipeline/context.go:332:28: cannot use newCtx (type *ExecutionContext) as type activity.Context in argument to invokeCallback:
    *ExecutionContext does not implement activity.Context (missing GetTracingContext method)

This is a temporary fix and does not solve the issue with generating a binary from the web ui which has streams in it.