-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetRef() in support package should remove 'vendor' path #224
Comments
@yxuco GetRef most focusing on getting Flogo contribution ref. Are you saying that you put flogo contributions under the vendor? |
Yes, I am compiling Flogo flow as a third-party app (i.e., Hyperledger Fabric v1.4 chaincode), which does not support go module, and so flogo packages are included under vendor folder, and so GetRef() would return the vendor folder path, causing runtime errors. |
yxuco
added a commit
to yxuco/core
that referenced
this issue
Dec 3, 2020
…move 'vendor' path allows trigger developer to pass request parameters to handler w/o going through output mapper
yxuco
added a commit
to yxuco/core
that referenced
this issue
Dec 10, 2020
yxuco
added a commit
to yxuco/core
that referenced
this issue
Jan 4, 2021
…move 'vendor' path allows trigger developer to pass request parameters to handler w/o going through output mapper Resulve issue project-flogo#224 GetRef() in support package should remove 'vendor' path resubmit pull request to resolve issue project-flogo#224 Fix project-flogo#244 Trigger handler should provide option to pass request data to flow without explicit output mapping update per comments on issue project-flogo#246
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current behavior (how does the issue manifest):
When working with older third-party packages that uses /vendor packages, GetRef() returns ref with path including '.../vendor/'
Expected behavior:
To make it work, GetRef() should return only the ref name, excluding the prefix up to '/vendor/'.
Minimal steps to reproduce the problem (not required if feature enhancement):
Please tell us about your environment (Operating system, docker version, browser & web ui version, etc):
OSX
Flogo version (CLI & contrib/lib. If unknown, leave empty or state unknown): 0.X.X
1.1.0
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: