Skip to content

External projects importer

David García Folguera edited this page Jun 21, 2022 · 1 revision

Overview

The Service Composition component integrates with a Service Discovery and Recommendation component, capable of suggesting already developed services that might provide the functionality the user is trying to achieve. These already developed services might come from other repositories outside of SmartCLIDE that have been indexed by the Discovery component. In order to make use of them, we developed a service whose functionality is to retrieve the code from those external repositories and put it inside SmartCLIDE’s own repository, making it easier for the developer to access them.

Functionality

The External Project Importer will be triggered from the Service Composition UI (JBPM workbench) after the user selects one of the suggested services to use. Provided with the external repository URL, the Project Importer will check out the main branch of the given repository and then make use of the Service Creation service to create a SmartCLIDE managed project containing the source code, keeping the original service name and project structure.

external project importer

The user will finally be prompted to checkout the new project, verify the code, and provide needed data to be able to build and deploy the new service.

Note: at the time of writing, the UI related parts are a work in progress. This information will be updated when those parts are completed.

Source code

The source code can be found in the following repository: https://github.com/eclipse-researchlabs/smartclide-external-project-importer

Clone this wiki locally