The guide walks you through the process of binding of application services to the registration of a required domain name on the platform as described in the Bind-to-Domain document. It also directs you through a demo project that logically follows the DNS Management demo project.
Following the demo project in this document, you will get practice in binding your application with the DNS registration.
In this document:
The procedure guide is valid for the platform consisting of both its parts, Operations Support System (OSS) and Business Support System (BSS). Such a configuration allows a provider to sell a domain registration service plan along with a service plan providing a demo application service. The latter will be a parent of the former that will be added as an upsell service plan.
The guide is based on creating a demo application with the following features:
context
resource will subscribe itself to the “bind to domain” event during
the provisioning process.context
will receive and process a “bind to domain” event notification.
The context
resource will store the registered domain name to use it in the VPS provisioning processes.Benefits of the integration:
Following this project, you will create an APS package similar to
the sample package
.
To reach the goals, the application must define the APS types presented on the following resource model:
cloud
- the application root resource representing an APS application instancecontext
- the customer VPS management environmentvps
- represents VPSesCompared with its predecessor, the new resource model also includes
a paDomain
collection of links between the management context
and DNS zones.
This relationship cannot be required since the
management context
resource will bind itself to a new domain zone resource after the latter is provisioned.
Note
To test a demo application you should use a full installation of the platform containing both, the Operations Support System (OSS) and Business Support System (BSS).
Clone the package you have created in the demo project of the DNS Management scenario to the new one by following these steps.
Create a new project basing on the input package and using one of the ways:
bind2domain
name.bind2domain/
.Replace every occurrence of custom application ID and type ID prefix with “http://aps-standard.org/samples/bind2domain/” in all project files. This will replace the old application and types with the new ones.
To verify if there are no typo in the new project, try to build the new package using either Eclipse IDE, IDEA IDE, or the following command from the command line tools:
$ aps build bind2domain
If no errors detected and you have successfully built a new APS package, then proceed to the next step.
In this first step, we identified the purpose of the application, a relevant scenario, and a resource model.
To implement the scenario, you have started the demo project to create and test an APS package similar to the
sample package
.