Skip to main content

Check out Port for yourselfย 

Advanced

The GitLab integration supports additional flags to provide extra configuration options, making it easier to customize its behavior to suit your needs.

To use the advanced configuration and additional flags, let's add them as root keys to our integration configuration.
For example, here's how we can add the createMissingRelatedEntities flag:

createMissingRelatedEntities: true
resources:
- kind: merge-request
selector:
query: "true"
port:
entity:
mappings:
... mappings configuration

Using advanced configurationsโ€‹

Let's look at the advanced configuration parameters we can add to the integration configuration:

The deleteDependentEntities parameter is used to enable deletion of dependent Port entities. This is useful when you have two blueprints with a required relation, and the target entity in the relation should be deleted. In this scenario, the delete operation will fail if this flag is set to false if the flag is set to true, the source entity will be deleted as well.

  • Default: false (disabled).
  • Use case: Enable this flag if dependent entities should be deleted when the target entity is deleted.