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

  1. Ensure the current integration script has a leap_mapping.yaml within the selected script version

  2. Verify that that the option to "Apply" the mapping appear in the code integration view and click it

The option to "Apply" a previously defined leap mapping
  1. Validate the mapping you applied

  2. 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

A node is added to the graph after applying a previously defined mapping

Last updated

Was this helpful?