Carlos_Leal | 2021-06-17 13:21:21 UTC | #1
Is there a way (with ARCHY) to validate a yaml file without execute de create command?
Im thinking on validate the existence (on my organization) of a queue, a script, etc.
Thanks in advance Charly
John_Carnell | 2021-06-17 16:34:26 UTC | #2
Hi Charly,
I talked with the Architect team and Archy does not currently pre-validate the external dependencies before trying to import them. As it stands archy sends the yaml to a set of public API services and then it attempts to process them. It only identifies missing dependencies until after it has created the flow
If you are building this into a CI/CD or automation pipeline you can output the results as JSON using the -resultsfile option and then parse the results for errors. You can see the details for it here.
I would suggest if you want a pre-import validation process, you submit a request in our ideas portal.
Thanks, John Carnell Manager, Developer Engagement
system | 2021-07-18 16:34:29 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 11234