You added some new Model Objects to your data Solution, and you want to deploy these Model Objects only to keep all the data already loaded in the other Target Objects of your Data Solution.
To do this, you should use a partial deployment.
Two steps are needed to do this:
Partial generation
To do a partial deployment, we need to generate the code partially, using only the new Model Objects we want to add to the Data Solution.
Please:
- Create a new Data Modeling View
- Add in this view only the new Model Objects to deploy
- Generate the current view
Partial deployment
We need the SQL code generated in the previous chapter 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 relatives to the new Model Objects only
- Paste this code in a file inside a LoadControl folder too in the partial generation folder
- From the partial generation folder:
- Replace the placeholders
- You can use the same JSON file as for complete deployment
- Replace the placeholders
- Execute manually the following scripts:
- FilteredGeneratorFiles.sql
- L040_Mart_Configuration.sql
Here we go!
You did a partial deployment.
You can now load the data by using a specific execution plan if desired.