Search Results

Getting Started Web Tutorial

The following is a walkthrough on using the TIBCO Cloud Integration web site to push, scale, and delete a TIBCO BusinessWorks App. This tutorial is aimed at DevOps administrators who have been provided an EAR file of an app from a developer, and want to push, scale, monitor, and administer the app. For more details on each step, click the corresponding link.

Register Your Account

To begin using TIBCO® Cloud Integration, you must register an account and log in to the TIBCO Cloud Integration web site. See Registering a TIBCO Cloud Integration Cloud Account for more details.

Create and Push Your App

Use the TIBCO Cloud Integration web page to create and push your app to TIBCO Cloud Integration.

The following example uses the sample app petstoreapplication_2.0.0.ear and manifest file manifest.json. You must first generate these deployment artifacts using TIBCO Business Studio - Cloud Edition. For a tutorial of this process, see Deploying an App from TIBCO Business Studio - Cloud Edition.

  1. Make sure you are still logged in to the TIBCO Cloud Integration web page using the login and password you created above. Go to the Apps page:

  2. First, create a new app. Click the Apps tab, then click Create. The Create App window is displayed.

  3. Enter the name of the new app. The name must only contain alphanumeric characters (a-z and 0-9) and the underline character _.

  4. Click Create.

    This creates an empty app. The app creation page with the available build types is shown.

    For this example, we will push a TIBCO BusinessWorks App, which is the Pet Store app.

  5. Click the Push a TIBCO BusinessWorks App tile. The Push App window is displayed.

  6. Drag and drop the petstoreapplication_2.0.0.ear and manifest file manifest.json files onto this window. If you are using Chrome, you can drag a folder into this window. You can also click Browse and find the files on your system.

  7. Click Push.

    You will now be shown the progress of the app as it is being uploaded, built, and deployed.

  8. Go back to the Apps page. The app will be listed, but will show a progress bar as the app is being pushed to the server. When it is complete, the indicator circle will turn green.

    See also:

  9. Next, view the app’s endpoint. In the web UI, select the app whose endpoint you want to view. Click 1 Endpoint. By default, the endpoint URL is selected.
  10. To open the URL in a new browser, click View API.

    Note that clicking View API to view in a new browser will open the base URL; you generally need to add a resource path to the URL to see anything. For example, for petstoreapplication you would have to copy the URL and then add the resource path /pet/2.

    See also:

Scaling the App

When you log in to TIBCO Cloud Integration, you will first see the Apps tab. This will list your apps. Let’s start, scale, and stop the app we just pushed.

  1. On the Apps page, find the Pet Store app. If there were several more apps on the page, you could use the Sort control to sort the list, for example, by selecting Last Modified to find the newest apps.

  2. Find the indicator circle at the left of the Pet Store app. This shows if the app is running, and if so, how many instances are currently running. You could also click the Pet Store app to go to the app details page. This also has an indicator circle, and shows more information about the app, such as the app type, when it was modified, the number of running instances, and its endpoint and API.

  3. Click the indicator circle. A control appears, which enables you to change the number of instances.

    Note: The maximum instance count is currently limited to 3.

  4. Click the up arrow to add instances to the app, then click Scale.

  5. You can also remove instances. Click the down arrow, then click Scale.

    See also:

Viewing Performance Metrics

You can monitor the performance metrics of your apps on the Metrics tab of an App details page. This tab displays performance metrics such as CPU and memory usage, network throughput, and uptime. You can select a time range to view historical metrics.

To view metrics:

  1. From the top navigation bar, click Apps.
  2. Click a running app in the listed apps.
  3. Click the Metrics tab.

    The last hour of app metrics are displayed in the Metrics tab.

    The following app metrics are displayed:

    • CPU
    • Memory
    • Network Throughput
    • Uptime
    • Performance graph (CPU and memory over time)
    • Network throughput graph (up and down network traffic over time)
  4. Click a range in the Time range control to select a range of metrics to view.

    See also:

Viewing Logs

You can view app logs for your running app to monitor its performance and debug any potential issues. App logs are shown in a streaming display containing the last hour of logs. You can also display a time/date range of historical logs, or download app logs.

To view and download logs:

  1. Click the Apps tab.
  2. From the top navigation bar, click Apps.
  3. Click the Log tab.

    The last hour of app logs are displayed in a scrolling window in the Log area of the screen, and will continually update in real time. They are refreshed every ten seconds, and new log data is added to the bottom of the display.

    You can search through log entries using the search box.

In addition to real-time logs, you can also view historical logs from a specified range. To view historical logs:

  1. Click a range in the Time range control to select a range of logs to view.

  2. Clicking a time range will deactivate the Realtime control to toggle off real-time logs. To return to real time logs, click the Realtime switch.

To download logs:

  1. On the Log tab, click Download.

    A dialog box appears where date/time range can be selected.

  2. Select a time range, and click Download.

    The log entries within the specified time range will be downloaded in a text format file.

    Note: Log downloads are limited to 10 MB of data.

    See also:

Configure your App

If you needed to change the values of properties in your app that were defined by default in the manifest.json file, you can late-bind new property values for a TIBCO BusinessWorks App. On the Apps page, in the Environment Controls tab, the current values of app properties can be inspected, modified, or reset to their defaults.

Saving the new configuration changes will restart the app with the new values. This enables you to modify properties without pushing and building a new EAR file, speeding up changes for moving from test to production, or changing credentials or other variables.

To configure your app:

  1. Click the Apps tab.
  2. Click your running app in the listed apps.
  3. Click the Environment Controls tab.

    A list of app variables is shown in the Application Variables pane. For each property, the name, type, and value are shown.

  4. To change a property, click the displayed value and enter a new value. To return the value to its default value, click Set to Default.

  5. After you have made changes, the No updates to push text in the upper right will change to two links: Cancel Changes and Update App. Click Update App to restart the app with the new values, or click Cancel Changes to revert changes to the default values.

    See also:

Delete Your App

After you’re done with your app, you can delete it.

  1. On the Apps page, click the action button next to the Pet Store app. Click Delete app.

  2. A confirmation dialog will appear. Click Delete App.

  3. To log out of TIBCO Cloud Integration, click your username in the upper right corner, then click Logout.

    See also: