Search in sources :

Example 1 with AWSMissingResourcesEnumerationService

use of com.vmware.photon.controller.model.adapters.awsadapter.enumeration.AWSMissingResourcesEnumerationService in project photon-model by vmware.

the class TestAWSMissingEnumerationResourcesService method startRequiredServices.

@Override
protected void startRequiredServices() throws Throwable {
    CommandLineArgumentParser.parseFromProperties(this);
    super.startRequiredServices();
    PhotonModelTaskServices.startServices(this.host);
    PhotonModelServices.startServices(this.host);
    this.host.startService(Operation.createPost(UriUtils.buildUri(this.host, AWSMissingResourcesEnumerationService.class)), new AWSMissingResourcesEnumerationService());
    this.host.waitForServiceAvailable(AWSMissingResourcesEnumerationService.SELF_LINK);
    this.host.waitForServiceAvailable(PhotonModelServices.LINKS);
    this.host.waitForServiceAvailable(PhotonModelTaskServices.LINKS);
    this.host.setTimeoutSeconds(900);
}
Also used : AWSMissingResourcesEnumerationService(com.vmware.photon.controller.model.adapters.awsadapter.enumeration.AWSMissingResourcesEnumerationService)

Aggregations

AWSMissingResourcesEnumerationService (com.vmware.photon.controller.model.adapters.awsadapter.enumeration.AWSMissingResourcesEnumerationService)1