Deploying The Advanced Provisioning, Configuration, And Simple Monitoring 401 Reference Application

This web application is a simple html page with accompanying JavaScript and therefore does not require any formal installation. You can copy the files and folders to your web server root or to a specific virtual directory on your web server and then browse to the index.html file.

Files And Folders

File

Purpose

index.html

This is the primary html file for the application. It contains all of the web controls for creating an Organization, Connections, provisioning a Solution, editing the Map, and monitoring the Solution.

index.php

Used to successfully deploy to Heroku. This PHP scripting file redirects to the index.html web page.

app/main.js

Global variables and a document.ready function to hook up click events and initialize various html text controls. Also contains a couple of utility functions.

app/config.js

Contains the configuration required to run the application.

app/Connections.js

Contains functions to create Connections, submit Connection tests, and get Connection test statuses.

app/fieldmapping.js

Contains functions for loading Maps, getting source and target field lists, drag-and-drop for editing the Map, create/edit CHOOSEBYVAL formula, and validating and saving a Map.

app/org.js

Contains functions for getting and creating Organizations, provisioning Cloud Agents, installing Connectors for an Organization.

app/Encryption.js

JavaScript used to encrypt and decrypt string data using the libraries that are within the forge-0.6.15 folder.

app/runtimemonitoring.js

UI manipulation for the Runtime/Monitor tab and a function for showing Solution history.

app/Solutions.js

Functions for retrieving, cloning, preparing and starting Solutions.

vendor/jquery.min.js

Contains jQuery source.

vendor/bootstrap.min.js

Bootstrap source used for the modal window to edit the CHOOSEBYVAL formula on the Configure tab.

vendor/moment.min.js

Moment JavaScript source for date manipulation and display used for the Show History table on the Runtime/Monitor tab.

forge-0.6.15/

Contains JavaScript encryption functions. See https://support.tibco.com/s/article/Sample-Code-For-Connection-Property-Encryption-Using-JavaScript.

css/

Numerous Bootstrap stylesheet files used on the index.html page.

img/

Contains the TIBCO Scribe® image file and icons for deleting mapping and Solution history status.

See

Advanced Provisioning, Configuration, And Simple Monitoring 401

Provisioning The Advanced Provisioning, Configuration, And Simple Monitoring 401 Reference Application

Configuring The Advanced Provisioning, Configuration, And Simple Monitoring 401 Reference Application