Installing the Custom Sample Operator for your Version

Before you can learn how to build, run, and upload the samples to your Team Studio installation, you must download the custom operator compatible with your product version.

These steps have been tested on both OSX and Microsoft Windows, although this should work easily on a Linux system.

Prerequisites

  • You must have installed and configured the following tools: Java, Maven, and Git.
  • You must have downloaded the Team Studio Custom Operator Framework.

Procedure

  1. Create a directory for the custom operators locally for testing.
  2. Change to that directory using cd myAlpineDirectory/.

    where cd myAlpineDirectory/ is the directory you created.

  3. From the following table to select the branch that matches your version.

    (Different versions of the Custom Operator Framework map to different versions of the Team Studio software.)

    Product Version Custom Operator SDK Samples Branch Name Spark Version
    5.6.1 Version 1.0, Scaladoc, SDK Source, Samples branch-5.6.1 1.3.1
    5.7.x Version 1.3, Scaladoc, SDK Source, Samples branch-5.7 1.5.1
    5.8.x Version 1.4.2, Scaladoc, SDK Source, Samples branch-5.8 1.5.1
    5.9.x Version 1.5.1, Scaladoc, SDK Source, Samples branch-5.9 1.5.1
    6.0 Version 1.6, Scaladoc, SDK Source, Samples branch-6.0 1.5.1
    6.1 Version 1.7, Scaladoc, SDK Source, Samples branch-6.1 1.6.1
    6.2 Version 1.8, Scaladoc, SDK Source, Samples branch-6.2 1.6.1
    6.3 Version 1.9, Scaladoc, SDK Source, Samples branch-6.3 1.6.1
    6.4 Version 1.10, Scaladoc, SDK Source, Samples branch-6.4 2.1.2

    To get the correct version of the samples on your computer, follow these commands:

  4. Type the following command to install the correct version of the samples.
    git clone https://github.com/AlpineNow/CustomPlugins.git
    cd CustomPlugins/
    git checkout branch-6.4 # replace with the branch name from the table above