Here you can learn how to use the new Pro server feature for managing artifact versions for stream and task apps used with Spring Cloud Data Flow for VMware Tanzu (SCDF).

New application version alerts and continuous delivery

The SCDF Pro dashboard can register applications by automatically retrieving the available versions from artifacts in the backing artifact repository. With this automation in place, users can update existing Streams with these new versions of the registered applications.

After an application's artifact is registered in SCDF's application registry, the server retrieves the latest available versions associated with the image by using the artifact repository REST API.

Note: The current implementation checks for new versions available above (that is, more recent than) the current default version. For instance, if you have an app registered with a version of 2.0.0, all the versions above 2.0.0 are retrieved (if available) and listed in the SCDF Dashboard as available versions.

You can update the registered artifacts from the Applications page. You can check for:

  • updates on all the registered applications
  • updates on the applications that are used by the Streams
  • updates on the applications that are used by the Tasks

alt-text=""

Note: Since this operation involves getting the versions of all the corresponding images, it may take a few seconds to minutes depending on how many applications you have registered.

After the updates are available, the corresponding application is updated with the i icon to alert that there are new versions available. For instance, in the following screenshot, you can see that the application filter has new versions available.

alt-text="The updates check is shown in a dialog box."

After the application versions are available, you can either:

  • Register the available version(s) with SCDF by choosing them individually.
  • For stream applications, you can update the streams with the new versions of the applications.

Bulk stream updates

The following example shows how to perform a Stream update:

Go to Streams page to see the list of streams.

alt-text=""

Click Update Version(s).

After clicking Update Version(s), all the applications that are used by the Streams are updated with the available versions, and the Applications form is shown with the list of applications that have new versions available.

alt-text=""

Here you can choose the applications you would like to update. Proceed by clicking Next.

alt-text=""

For each selected application, you can see the list of available versions.

The available versions shown here are the net-new versions for the same application.

You can also choose a version to be the default version for the application in the SCDF application registry. Going forward, this new version is used as the default version for stream deployments.

alt-text=""

You can select the version for all the other applications by selecting the application and the version on the dialog box.

alt-text=""

After the new versions are selected for the applications, you can:

  1. Register the newly selected version of each of the application that is part of the stream.
  2. Mark the selected version as the default version (if there is a preferred version).
  3. Run the Stream update operation to update the version for each application to the selected version.

alt-text=""

alt-text=""

alt-text=""

Single stream update

If you prefer to update a single stream by choosing only the specific versions of the applications associated with that stream, then you can perform a single stream update by setting the application versions.

alt-text=""

After selecting the stream, you can choose the application versions and click Update the stream.

alt-text=""

Individual application update

You can update the versions of the individual applications.

Go to the Applications page.

alt-text=""

Click the ellipsis icon available to the left of the individual application and click Manage Version.

alt-text=""

You see a form where you can select the latest available versions and mark them to be registered with SCDF.

You can register multiple versions this way.

alt-text=""

alt-text=""

You also have the option to mark any of the currently selected versions as the default version for the application and proceed with the registration.

alt-text="Click Make Default on the Confirmation dialog box."

alt-text="An in-progress dialog box appears."

check-circle-line exclamation-circle-line close-line
Scroll to top icon