Applying a mapping
How to apply a previously created mapping file
In case a mapping was previously created, it can be applied to the same architecture using the code integration panel.
When is the mapping automatically applied
The mapping is automatically applied when using the CLI to upload a new model to a project that has leap_mapping.yaml in its root directory
The mapping is being directly supplied to the leap projects push command using the
--leap-mapping
flag
How to manually apply a mapping
Ensure the current integration script has a leap_mapping.yaml within the selected script version
Verify that that the option to "Apply" the mapping appear in the code integration view and click it

Validate the mapping you applied
In case the validation is successful - save the changes made to the current configuration by clicking the "save changes" in the left hand side controller

If after applying a mapping to an architecture validate assets fail - it means that either the architecture is not the same (layers could be added if the export process was different), or the server had a major upgrade.
For both cases, we advise to not save the change to the configuration that were applied by the mapping, but to create a new mapping
Last updated
Was this helpful?