cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Databricks job api validation

Mustafa91
New Contributor II

Hey everyone,

โ€‹

I am creating databricks Jobs using ADO pipelines. I am creating the json content using python and in thr release pipeline i call databricks cli create command with the json.

โ€‹

Wโ€‹hat I would like to do is that in my CI pipeline, I need to validate if the generated json content is valid or not. I cannot know if the json is correct or not until I really create the job. Is there cli command or rest api to validate the job json? Smth like "databricks validate ***.json"

2 REPLIES 2

Debayan
Esteemed Contributor III
Esteemed Contributor III

Hi,

Json validator is not integrated with Databricks, however few online validators are available for example: https://jsonlint.com/

https://jsonformatter.curiousconcept.com/

Please let us know if this helps. 

Also please tag @Debayanโ€‹ with your next response which will notify me, Thank you!

Anonymous
Not applicable

Hi @Mustafa Akilliโ€‹ 

Thank you for your question! To assist you better, please take a moment to review the answer and let me know if it best fits your needs.

Please help us select the best solution by clicking on "Select As Best" if it does.

Your feedback will help us ensure that we are providing the best possible service to you.

Thank you!

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.