The guide demonstrates the process of integrating an application with the built-in Domain Manager application on the platform as described in the Integration with DNS document. It also directs you through a demo project that logically follows the Generic Services demo project.
Follow the demo project in this document if you want to practice in binding your application with the DNS services.
In this document:
The procedure guide and the embedded demo project are based on the following scenario.
Following this project, you will create an APS package similar to
the sample package
.
To reach the goals, the application must implement the APS types presented on the following resource model:
cloud
- an APS type to create the system-wide application root resourcecontext
- an APS type to create the singular VPS management environment in each subscriptionvps
- an APS type to create virtual serversCompared with its predecessor, the new resource model requires
each VPS to have a link with a domain
and the collection of optional links with DNS records in this domain.
Note
A link to a domain is required for integrating the application with the Domain Manager.
Clone the package you have created in the demo project of the Generic Services scenario to the new one by following these steps.
Create a new project basing on the input package and using one of the ways:
dns1p
name.dns1p/
.Replace every occurrence of custom application ID and type ID prefix with “http://aps-standard.org/samples/dns1p/” 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 dns1p
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
.