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(CreateTemplateDeployment::getName(), new CreateTemplateDeployment()); $this->addAction(CreateVcsDeployment::getName(), new CreateVcsDeployment()); $this->addAction(GetDeployment::getName(), new GetDeployment()); $this->addAction(ListDeployments::getName(), new ListDeployments()); $this->addAction(UpdateSiteDeployment::getName(), new UpdateSiteDeployment()); $this->addAction(DeleteDeployment::getName(), new DeleteDeployment()); $this->addAction(DownloadDeployment::getName(), new DownloadDeployment()); $this->addAction(CreateBuild::getName(), new CreateBuild()); $this->addAction(UpdateBuild::getName(), new UpdateBuild()); // 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(ListUsage::getName(), new ListUsage()); $this->addAction(GetUsage::getName(), new GetUsage()); } }