I'm still investigating how to enable deployment of global parameters for three different environment and usage of incremental deployment feature. In my case I would have three files under /factory folder:
deep-dev-adf-we
deep-int-adf-we
deep-prd-adf-we
My expectation is that during incremental deployment global parameter "adftools_deployment_state" with hashes will be created in each ADF instance after first initial run on each environment.
I tested the approach on POC environment and I'm running into an issue.
I have currently two files under /factory:
deep-dev-adf-we.json
deep-poc-dev-adf-we.json
Here are the settings:
Two files are recognized:
Global parameters are deployed from:
Later the step "STEP: Updating (incremental) deployment state..." starts and it takes into account FIRST json file found under the /factory folder:
As a result, "adftools_deployment_state" is not deployed to deep-poc-dev-adf-we instance.
I was trying to find this part in the code and what I found so far is that we take always first object from factories:
QUESTION
Is it possible to change the approach and not assume that there is always one Factory file or it would require a big refactoring of the code?
Hello,
I'm still investigating how to enable deployment of global parameters for three different environment and usage of incremental deployment feature. In my case I would have three files under /factory folder:
My expectation is that during incremental deployment global parameter "adftools_deployment_state" with hashes will be created in each ADF instance after first initial run on each environment.
I tested the approach on POC environment and I'm running into an issue. I have currently two files under /factory:
Here are the settings:
Two files are recognized:
Global parameters are deployed from:
Later the step "STEP: Updating (incremental) deployment state..." starts and it takes into account FIRST json file found under the /factory folder:
As a result, "adftools_deployment_state" is not deployed to deep-poc-dev-adf-we instance.
I was trying to find this part in the code and what I found so far is that we take always first object from factories:![image](https://github.com/Azure-Player/azure.datafactory.tools/assets/28823253/e39b4570-24c1-4a59-855e-07315d54f73a)
QUESTION
Thank you in advance! Marta