Package Custom App | Java SDK | Teradata AppCenter - 2.0 - Packaging the Custom App - Teradata AppCenter

Teradata® AppCenter Java SDK User Guide

prodname
Teradata AppCenter
vrm_release
2.0
created_date
September 2020
category
Programming Reference
User Guide
featnum
B035-1118-090K
  1. Use the following sample Docker file to build the Docker image for your custom app:
    FROM anapsix/alpine-java:jre8 
    LABEL tags="query1,query2" 
    ENV TESTOUTDIR /tmp 
    COPY app.jar app.jar 
    CMD ["java","-jar", "app.jar"]

    Each tag value is the name of a visualization configuration for the app and identifies a unique visualization associated with that app. Multiple tags must be a comma-separated list of whole words with no trailing or leading blank spaces. Using the example Docker file, AppCenter automatically adds two visualizations to the settings. One visualization is named query1, and the other is named query2. For each visualization setting, you select the visualization type and format.

    For example:
    app-vis-Visualization Settings Example

    When you run this app, AppCenter generates the following sankey and bar visualizations:

    sankey sankey Visualization Example

    bar Visualization Example