IBM Streams 4.2

Creating SPL application set projects

You can create an SPL application set project in Streams Studio.

About this task

An SPL application set project is a project that references a collection of SPL projects. You can group a set of related SPL projects together and conveniently build, graph, and deploy the related projects as a single unit.

To create an SPL application set project:

Procedure

  1. From the toolbar, click File > New Project.
  2. Select IBM Streams Studio > SPL Application Set Project.
  3. In the New SPL Application Set Project window, complete the following steps:
    1. In the Project Name field, enter the name of the application set project.
    2. Optional: Clear the Use default location check box and specify the location where you want to create the SPL application set project. If Streams Studio is installed on a Linux system, by default, the SPL application project is created in the current Eclipse workspace. If Streams Studio is installed on a Windows system, by default, the SPL application set project is created in the local workspace, which is local to Windows system where Streams Studio is installed.
  4. Click Finish.
  5. A new SPL application set project is created in the workspace.
  6. Add a set of SPL projects to this application set project as follows:
    1. Open the Project Explorer view.
    2. Select and right-click on the newly created SPL application set project.
    3. From the menu, select Add SPL Application.
    4. In the Add Application window, select one or more applications to be included in this application set. SPL applications are identified by a Main composite that has a build configuration that is attached to it.
      Note: Streams Studio supports only distributed SPL applications in an SPL application set project.
  7. You might want to have more than one instance of the same application in the SPL application project. To include additional application instances:
    1. Select and right-click on the SPL application from the SPL application set project.
    2. From the menu, select Add another instance.
    3. Another instance of the selected application is added to the application set project. You can see the application instance count in the Project Explorer view.
  8. You might want to remove an SPL application from an SPL project. To remove an SPL application:
    1. Select and right-click on the SPL application under the SPL application set project.
    2. From the menu, select Remove all instances.
    3. Alternatively, if you want to remove just one of the application instances from the SPL application set project, select Remove one instance from the menu.