Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Clone Installer [Link]

    Code Block
    languagebash
    titlePrepare 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


  2. Open CLI directory

    Code Block
    languagebash
    titlePrepare Installer
    cd incubator-streampipes-installer
    cd cli


  3. Configure StreamPipes for backend development

    Code Block
    languagebash
    titlePrepare Installer
    ./sp set-template backend-dev
    # Updates the file 'system'. All StreamPipes services required for development are selected


Set-Up repository

  1. Clone StreamPipes [Link]

    Code Block
    languagebash
    titlePrepare Installer
    # SSH
    git clone git@github.com:apache/incubator-streampipes.git
    # HTTPS
    git clone https://github.com/apache/incubator-streampipes.git


  2. Open the project in your IDE

Set-Up Backend

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.

  1. Add a new Application to run configurations
  2. Main class: `org.apache.streampipes.backend.StreamPipesBackendApplication`
  3. Module: streampipes-backend
  4. Environment Variables: streampipes-backend/development/env
  5. Start the application
  6. Navigate to `http://localhost:8030/streampipes-backend/`to see if the backend is running. You should see the following message:

Image Added

Set-Up Connect Master

  1. Add a new Application to run configurations
  2. Main class: `org.apache.streampipes.connect.container.master.init.AdapterMasterContainer`
  3. Module: streampipes-connect-container-master
  4. Environment Variables: streampipes-connect-container-master/development/env
  5. Navigate to `http://localhost:8099/`to check if the connect master is running. You should see the following message:

Image Added