Rewrite IncludeFile implementation
This rewrite addresses several issues:
- IncludeFile were not properly returned in dump and via the client
- Improves logic in create/trigger for step-functions for example
- Properly consider the size of the included file when dumping artifacts
- default value for IncludeFile can also now be a function
The code has been cleaned up overall as well and many more comments added.
Testing[221] @ 00494f307774fe28fe20f0db1cddfeccf60b3e75
Testing[221] @ 00494f307774fe28fe20f0db1cddfeccf60b3e75 PASSED
Please merge #1155 before rebasing.
A quick note on sequencing this PR - we can merge the GCP datastore implementation first, then fast-follow with the changes needed by this PR for Azure and GCP, and then merge this PR. wdyt @romain-intel ?
This has been hanging a while. I would rather we merge this and then GCP. I also want to discuss the "let's move things to plugins" before we continue merging plugins (I keep bringing it up but it keeps getting delayed so we should discuss it).