private BackendFacade(final ComponentRegistry componentRegistry, final Deployment configuration) {
this.componentRegistry=componentRegistry;
this.scmService =
new SourceCodeManagementService(
this.componentRegistry.getRepositoryRepository(),
this.componentRegistry.getBranchRepository(),
this.componentRegistry.getCommitRepository());
this.enrichmentService=
new EnrichmentService(
this.scmService,
this.componentRegistry.getExecutionRepository(),
this.componentRegistry.getPendingEnrichmentRepository(),
this.componentRegistry.getCompletedEnrichmentRepository(),
this.componentRegistry.getTransactionManager(),
configuration);
this.applicationService=
new ContinuousIntegrationService(
this.componentRegistry.getServiceRepository(),
this.componentRegistry.getBuildRepository(),
this.componentRegistry.getExecutionRepository());
this.integrationService=
new JenkinsIntegrationService(
this.applicationService,
this.enrichmentService,
this.componentRegistry.getTransactionManager());
}