type = Service::TYPE_HTTP; // Sites $this->addAction(CreateSite::getName(), new CreateSite()); $this->addAction(GetSite::getName(), new GetSite()); $this->addAction(ListSites::getName(), new ListSites()); $this->addAction(UpdateSite::getName(), new UpdateSite()); $this->addAction(DeleteSite::getName(), new DeleteSite()); // Frameworks $this->addAction(ListFrameworks::getName(), new ListFrameworks()); // Deployments $this->addAction(CreateDeployment::getName(), new CreateDeployment()); $this->addAction(GetDeployment::getName(), new GetDeployment()); $this->addAction(ListDeployments::getName(), new ListDeployments()); $this->addAction(UpdateDeployment::getName(), new UpdateDeployment()); $this->addAction(DeleteDeployment::getName(), new DeleteDeployment()); $this->addAction(DownloadDeployment::getName(), new DownloadDeployment()); $this->addAction(DownloadBuild::getName(), new DownloadBuild()); $this->addAction(RebuildDeployment::getName(), new RebuildDeployment()); $this->addAction(CancelDeployment::getName(), new CancelDeployment()); // Logs $this->addAction(GetLog::getName(), new GetLog()); $this->addAction(ListLogs::getName(), new ListLogs()); $this->addAction(DeleteLog::getName(), new DeleteLog()); // Variables $this->addAction(CreateVariable::getName(), new CreateVariable()); $this->addAction(GetVariable::getName(), new GetVariable()); $this->addAction(ListVariables::getName(), new ListVariables()); $this->addAction(UpdateVariable::getName(), new UpdateVariable()); $this->addAction(DeleteVariable::getName(), new DeleteVariable()); // Templates $this->addAction(ListTemplates::getName(), new ListTemplates()); $this->addAction(GetTemplate::getName(), new GetTemplate()); // Usage $this->addAction(GetSiteUsage::getName(), new GetSiteUsage()); $this->addAction(GetSitesUsage::getName(), new GetSitesUsage()); } }