Description
A lot of validation has introduced with the SDK. This validation is two folds: pre build validation and source code validation.
The pre-build validation can be done entirely by the tools module since only the tools module interacts with things like the plugin config and the schema file.
However, the source code validation, as well as the manifest creation, has to do with the platform version, not the tools version. Currently that validation lives in tools. Instead, it should call into platform and platform should do checks and generate the manifest.
There is some additional cleanup we could do to make it easier to write new checks. One prototype for this is here: http://reviews.delphix.com/r/48902
┆Issue is synchronized with this Jira Story by Unito