package alien4cloud.paas.cloudify3;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import alien4cloud.paas.cloudify3.service.OrchestratorDeploymentPropertiesService;

@Configuration
public class PluginFactoryConfiguration {

    @Bean(name = "cloudify-orchestrator")
    public CloudifyOrchestratorFactory cloudifyOrchestratorFactory() {
        return new CloudifyOrchestratorFactory();
    }

    @Bean(name = "deployment-properties-service")
    public OrchestratorDeploymentPropertiesService deploymentPropertiesService() {
        return new OrchestratorDeploymentPropertiesService();
    }
}

@@ -144,16 +144,83 @@
 ation;%0A%0A
+import alien4cloud.paas.cloudify3.service.ArtifactRegistryService;%0A
 import a
@@ -353,16 +353,178 @@
 tion %7B%0A%0A
+    @Bean(name = %22artifact-registry-service%22)%0A    public ArtifactRegistryService artifactRegistryService() %7B%0A        return new ArtifactRegistryService();%0A    %7D%0A%0A
     @Bea

Fix bug cloudify 3 provider opensource, context not initialized