use of com.vmware.photon.controller.model.adapters.gcp.enumeration.GCPEnumerationAdapterService in project photon-model by vmware.
the class GCPAdapters method startServices.
/**
* The helper function to start all GCP adapter services.
* @param host The host service.
* @throws Throwable Exceptions during provisioning gcp adapters.
*/
public static void startServices(ServiceHost host) throws Throwable {
try {
host.startService(new GCPEnumerationAdapterService());
host.startService(new GCPStatsService());
} catch (Exception e) {
host.log(Level.WARNING, "Exception staring provisioning gcp adapters: %s", Utils.toString(e));
}
}
Aggregations