...
- Java
- Maven
- Here we describe the setup in IntelliJ, but you can use an IDE of your choice
- Docker / Docker Compose
Development Environment
In this setup we will start the backend, connect, and the processors in your IDE. The UI and all the other services run in docker.
...
Clone Installer [Link]
Code Block language bash title Prepare Installer # SSH git clone git@github.com:apache/incubator-streampipes-installer.git # HTTPS git clone https://github.com/apache/incubator-streampipes-installer.git # switch to development branch git checkout dev
Open CLI directory
Code Block language bash title Prepare Installer cd incubator-streampipes-installer cd cli
Configure StreamPipes for backend development
Code Block language bash title Prepare Installer ./spstreampipes env --set-template backend-dev # Updates the file 'system'. All StreamPipes services required for development are selected
Set-Up repository
Start third party services (e.g. CouchDB, Kafka, ... in docker)
Clone StreamPipes [Link]
Code Block language bash title Prepare Installer # SSH git clone git@github.com:apache/incubator-streampipes.git # HTTPS git clone https://github.com/apache/incubator-streampipes.git up -d
Set-Up repository
Open the project in your IDE
...
We provide an environment file for each service in the folder development. This contains the environment variables that must be set to run the service.
- Add a new Application to run configurationsapplication with the following Run/Debug Configurations
- Main class: `orgorg.apache.streampipes.service.backendcore.StreamPipesBackendApplication`StreamPipesBackendApplication
- Use classpath of moduleModule: streampipes-service-backendcore
- Environment Variablesvariables: streampipes-service-backendcore/development/env
- Apply, OK & Start the application
- Navigate to `"http://localhost:8030/streampipes-backend/`to " to see if the backend is running. You should see the following message:
Set-Up Connect Master
- Add a new Application to run configurations
- Main class: `org.apache.streampipes.connect.container.master.init.AdapterMasterContainer`
- Module: streampipes-connect-container-master
- Environment Variables: streampipes-connect-container-master/development/env
- Navigate to `http://localhost:8099/`to check if the connect master is running. You should see the following message:
Instead of the development file, we also provide a startup configuration for IntelliJ under development/runConfigurations, which should be added automatically to the project.