Azure-Player / azure.datafactory.tools

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

option to only update object properties that are specified in Config file #349

Closed dzfstephen closed 12 months ago

dzfstephen commented 1 year ago

Good morning

A pipeline is already in sandpit environment, and I want to update the existing pipeline properties, like updating an activity's name. I added it into the config file: image

First I did not add it in the rule text file, because the pipeline is already in sandpit environment, I only want to update the pipeline's property. CICD pipeline run successfully, and it shows it pick up the updating request from the config file. see the snapshot image

However, when I log in to Azure Data factory, and checked the pipeline, I found the activity's name has not been updated, it is still same. image

Then I tried to add the pipeline into the Rules text file and the Config Json file. then it worked, it deployed the pipeline to Sandpit environment and then updated the activity name (in the config Json file). however, it also replaced all other properties with old values, like other source datasets ( updated in previous CICD pipeline, not in the config Json file this time).

Does that mean if I want to only update some properties for an existing object in an environment, I have to add it into the Rules text file to deploy it first. is there an option to only update an existing object without to deploy it again first?

Thanks & Regards

Stephen

NowinskiK commented 1 year ago

Sorry, I'm not quite sure what you are trying to achieve here. However, I can't see any error in the tool, hence removing flag "triage".