Switch to use the parser from devfile/parser in odo repo #4117
Labels
area/devfile-spec
Issues or PRs related to the Devfile specification and how odo handles and interprets it.
area/refactoring
Issues or PRs related to code refactoring
Projects
Milestone
After devfile/api#183 is completed, we want to switch to use the parser from devfile/parser repo, and remove the parser defined in Odo.
Since the parser library is using devfile go struct defined in devfile/api, this requires some code changes to Odo code base to integrate with the new devfile go struct. product code and test code changes are expected.
**Note: the validate package will temporarily be left in odo, the validator will be implemented in devfile/api repo.
For any call to the following parser functions in odo, need to call
validate.ValidateDevfileData
after, separately:ParseAndValidate
,ParseFromURLAndValidate
,ParseFromDataAndValidate
,The text was updated successfully, but these errors were encountered: