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

Teradata® AppCenter Java SDK User Guide

Product
Teradata AppCenter
Release Number
1.10
Published
July 2020
Language
English (United States)
Last Update
2020-07-13
dita:mapPath
jft1593444327384.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-1118
lifecycle
previous
Product Category
Analytical Ecosystem
  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