Find or initialize services with instance-level integrations
What does this MR do?
As part of Mass-integration at a Group and Instance Level &2137, we are moving service templates to become instance-level service configuration &2430.
This is the first iteration to deliver the MVC #213857 (closed). The creation of instance-level integrations is currently under a feature flag instance_level_integrations
.
The project integration pages (eg, http://localhost:3000/h5bp/html5-boilerplate/-/services/asana/edit) should pre-populate the settings from the instance-level integration before trying from the template.
find_or_initialize_service
has the following precedence:
- Retrieve the existing service
- Build service from instance-level
- Build service from template
- Build service
Related to #218250 (closed)