Closed fm-tibco closed 4 years ago
I think we also need to add _ "github.com/project-flogo/core/app/propertyresolver"
to the main.go of the engine, right ? I tested the without it and I got the error Failed to create engine: Unsupported property resolver type - env. Resolver not registered.
But adding the above import to main.go works.
The question is should we load the built-in ones by default or have them add that import to the engine.json? If we think it will always be used then we should definitely add the import, if not .. I'm not sure... @mellistibco any thoughts?
I'm inclined towards loading it by default. Since we are providing those as built-in, I think it's fair to have them in without having to explicitly add that in engine.json/flogo.json .
I think it makes sense to have it build-in, either adding in main.go or import.go or elsewhere that we can import automatically.
What kind of change does this PR introduce? (check one with "x")
Fixes:
Fix code to remove extra hop to deprecated method. Update property documentation.