We need to combine both sources of information so that they can be explicitly specified.
For our purposes here assume you are given an explicit identifier for the sourse, i.e cpih.
This makes the process a whole lot simpler and removes the burden of config from providing systems (which given it looks like thats someone trying to write a spreadsheet..... probably a good idea).
cpih example (I might be wrong, please investigate) follows:
Make sure whatever you settle on makes sense, look through our current code and make sure it provides the details we will need in place of the two current sources linked.
Involve other team members, host a session with the team explaining what the items in your config represent.
Implement the change.
In a nutshell, this is "how/can we replace pipeline-config.json and the transform_details dict with a single dict of configuration.
Acceptance Criteria
[ ] Knowledge has been shared on this configuration change
What is this
Currently we have two point of configuration:
The pipeline config provided externally: https://github.com/ONSdigital/dp-data-pipelines/blob/sandbox/tests/fixtures/test-cases/test_pipeline_config_valid_id.json
The (internal to the repo) transform details that we get from here: https://github.com/ONSdigital/dp-data-pipelines/blob/sandbox/dpypelines/pipeline/shared/details.py (that uses the "transform_identifier")
We need to combine both sources of information so that they can be explicitly specified.
For our purposes here assume you are given an explicit identifier for the sourse, i.e cpih.
This makes the process a whole lot simpler and removes the burden of config from providing systems (which given it looks like thats someone trying to write a spreadsheet..... probably a good idea).
cpih example (I might be wrong, please investigate) follows:
dpypelines/pipeline/configuration.py
What to do
In a nutshell, this is "how/can we replace pipeline-config.json and the transform_details dict with a single dict of configuration.
Acceptance Criteria
Note - do not remove the old system just yet.