flogo update github.com/project-flogo/core. I checked the override, you are correct it doesn’t work. Currently I have a workaround and we can fix it eventually. For work around just add
_ "github.com/project-flogo/core/app/propertyresolver”in the import of src/main.go and make sure you have set the env variable
imports.gothat I use to build a new docker container. The
imports.gocontains all the activities that are important to me, and it saves me a bit of time when starting a new container from scratch
2019-06-27T09:44:14.044+0200 DEBUG [flogo.activity.actreturn] - Mappings: map[image:=$webcam_1.image status:=$webcam_1.status] Failed to create engine: error unmarshalling flow: unable to find a 'webcam_1’ resolver
Quick newbie question:
According to docs, settings are global for the trigger, and handler settings are per instance.
I tried the REST trigger using the Web UI and I was prompted for a port number in both flows. I tried entering both values, and it looks like the compiled app was starting 2 separate servers that wanted to bind to the same address.
Ok, I just figured it out.
I shouldn't be pressing on "New action" at the top. I need to hover over the existing flow and another "New action" button appears that re-uses the same instance of the REST trigger.