Do a partial deployment
You added some new Model Objects to your data solution, and you want to deploy only these new Model Objects while keeping all the data already loaded in the other target objects of your data solution.
To do this, you should do a partial deployment.
Two steps are needed:
Partial generation
To perform a partial deployment, we need to generate code only for the new Model Objects we want to add to the data solution.
Please follow these steps:
- Create a new Data Modeling View
- Add only the new Model Objects you want to deploy to this view
- Generate the current view
Partial deployment
We need the code generated in the previous step to do the partial deployment.
We also need the new Load Control objects.
biGENIUS-X does not generate the Load Control and the helpers (Powershell scripts) during a partial generation.
It will be soon available.
Please:
- Generate all the artifacts of the Project
- Download them
- Copy the following files into the partial generation folder:
- execute.ps1
- replace_placeholders.ps1
- From the LoadControl folder files, pick up the Load Control code related to the new Model Objects only
- Paste this code into a file inside a LoadControl folder within the partial generation folder
- From the partial generation folder:
- Replace the placeholders
- You can use the same JSON file as for a complete deployment
- Replace the placeholders
- Manually execute the following scripts:
- FilteredGeneratorFiles.sql
- L040_Mart_Configuration.sql
Here we go!
You have successfully performed a partial deployment.
You can now load the data by using a specific execution plan, if desired.