Azure-Player / azure.datafactory.tools

Tools for deploying Data Factory (v2) in Microsoft Azure
https://azureplayer.net/adftools
MIT License
207 stars 69 forks source link

Ignore missing reference does not work #370

Closed MartaUch closed 10 months ago

MartaUch commented 10 months ago

Hello, It seems that ignoring missing reference feature does not work as suppose to. image image There is a warning indeed, but later error is still raised. Am I missing something?

Kind Regards Marta

NowinskiK commented 10 months ago

All works as expected. The first message (warning ADFT0006) explains situation before deployment: 1) There is reference between objects. 2) Referenced object doesn't exist in local code 3) User decides to ignore such fact (flag IgnoreLackOfReferencedObject = true) 4) Deployment failed due to missing (referenced) object in ADF service In other words - if one uses flag IgnoreLackOfReferencedObject then it's their responsibility to make sure all referenced objects exist in target ADF service. Otherwise the deployment may fail.

MartaUch commented 10 months ago

Hi Kamil, Alright, you are totally right. We are just not deploying all the objects so far using json files and that's why we have such a situations. I was also not testing that on the fully real state of PRD. But we will be improving that step by step and hope soon deployment of ADF will be much better.

Thank you for taking a look at this request :)