Application Packaging Standard

Last updated 18-Mar-2019

Basic Sample Application

The following instructions help you deploy a basic sample application integrated with the platform built-in generic services and providing typical UI to perform the typical operations with resources such as list, create, configure, change state, and remove.

The application imitates provisioning of VPSes (virtual private servers) for customers.

In this document:

Deployment

Application Deployment

This phase aims at creating an application APS connector and an APS application instance in it. The latter imitates a connection of the platform with an original application.

The platform configuration must meet the installation Prerequisites, that means it must be configured to use the Docker registry and has a service node implementing the endpoint host role.

  1. Download the Basic Sample Application package to your local computer.
  2. In the provider control panel, navigate to Services > Applications and import the package from your local computer. Click the Refresh icon on top right of the screen to ensure the package has been imported.
  3. Open the imported application and on the Instances tab, click Add Instance.
  4. Make sure the Automatically deploy application’s backend option is selected.
  5. Click Next and then Finish on the next screen.

Wait until the new instance appears and its status is Ready. If it takes longer than 2 minutes, navigate to Operations > Tasks to clarify the cause of the delay.

Product Deployment

In this phase, you create a service template and all other required product components in the platform containing OSS.

  1. Create resource types as explained in the Generic Services demo project.
  2. Follow the Create Service Template instructions to create a service template.

Provisioning

Create and subscribe your test customer to the new service template and then test the application functionality as explained in the Provisioning phase of the Generic Services demo project.