123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652 |
- /*##############################################################################
- HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- ############################################################################## */
- ESPstruct Task
- {
- string Caption;
- string FileName;
- string TargetPath;
- string SourcePath;
- int Status;
- string Message;
- };
- ESPstruct Component
- {
- string Type;
- string DisplayType;
- string Name;
- string Build;
- string Computer;
- string Instance;
- string InstanceType;
- ESParray<ESPstruct Task> Tasks;
- };
- ESPstruct DeployOptions
- {
- bool Compare;
- bool ConfigFiles;
- bool BuildFiles;
- bool UpgradeBuildFiles;
- bool Start;
- bool Stop;
- bool BackupRename;
- bool BackupCopy;
- bool ArchiveEnv;
- bool Log;
- string ArchivePath;
- };
- ESPstruct WsDeployReqInfo
- {
- string FileName;
- string UserId;
- };
- ESPstruct DeployInfo
- {
- ESParray<ESPstruct Component> Components;
- ESPstruct DeployOptions Options;
- string Status;
- };
- ESPstruct DaliInfo
- {
- string DaliIp;
- string DaliName;
- };
- ESPrequest EmptyRequest
- {
- };
- ESPresponse [exceptions_inline, encode(0)] InitResponse
- {
- string Component;
- string Command;
- };
- ESPrequest DeployRequest
- {
- ESPstruct DeployInfo Deploy;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] DeployResponse
- {
- string Component;
- string Command;
- //ESPstruct DeployInfo Deploy;
- string Deploy;
- string Status;
- };
- ESPresponse [exceptions_inline, encode(0)] GraphResponse
- {
- string GraphContainer;
- };
- ESPrequest NavMenuEventRequest
- {
- string Cmd;
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] NavMenuEventResponse
- {
- string Component;
- string Command;
- string XmlArgs;
- string LastSaved;
- };
- ESPrequest DisplaySettingsRequest
- {
- string Cmd;
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] DisplaySettingsResponse
- {
- string Component;
- string CompDefn;
- string ViewChildNodes;
- string MultiRowNodes;
- string XmlArgs;
- };
- ESPrequest SaveSettingRequest
- {
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] SaveSettingResponse
- {
- string UpdateAttr;
- string UpdateValue;
- string PrevValue;
- string IsSaved;
- string Refresh;
- };
- ESPrequest GetBuildSetInfoRequest
- {
- string Cmd;
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] GetBuildSetInfoResponse
- {
- string Component;
- string XmlArgs;
- };
- ESPrequest GetDeployableCompsRequest
- {
- string Cmd;
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] GetDeployableCompsResponse
- {
- string Component;
- string XmlArgs;
- };
- ESPrequest StartDeploymentRequest
- {
- string SelComps;
- ESPstruct DeployOptions Options;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] StartDeploymentResponse
- {
- string Status;
- };
- ESPrequest GetBuildServerDirsRequest
- {
- string Cmd;
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] GetBuildServerDirsResponse
- {
- string Component;
- string XmlArgs;
- };
- ESPrequest ImportBuildRequest
- {
- string BuildName;
- string BuildUrl;
- string BuildSets;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] ImportBuildResponse
- {
- string Status;
- };
- ESPrequest GetComputersForRoxieRequest
- {
- string Cmd;
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] GetComputersForRoxieResponse
- {
- string Computers;
- string Filters;
- };
- ESPrequest HandleRoxieOperationRequest
- {
- string Cmd;
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] HandleRoxieOperationResponse
- {
- string Status;
- };
- ESPrequest HandleThorTopologyRequest
- {
- string Operation;
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] HandleThorTopologyResponse
- {
- string Status;
- string CompName;
- };
- ESPrequest HandleAttributeDeleteRequest
- {
- string Operation;
- string XmlArgs;
- bool bLeaf;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPrequest HandleAttributeAddRequest
- {
- string Operation;
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] HandleAttributeAddResponse
- {
- string Status;
- string CompName;
- };
- ESPresponse [exceptions_inline, encode(0)] HandleAttributeDeleteResponse
- {
- string Status;
- string CompName;
- };
- ESPrequest HandleComponentRequest
- {
- string Operation;
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] HandleComponentResponse
- {
- string Status;
- string CompName;
- };
- ESPrequest HandleInstanceRequest
- {
- string Operation;
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] HandleInstanceResponse
- {
- string Status;
- string NewName;
- string Duplicates;
- string ReqdCompNames;
- string AddReqdComps;
- };
- ESPrequest AddReqdCompsRequest
- {
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] AddReqdCompsResponse
- {
- string Status;
- string Failures;
- };
- ESPrequest HandleEspServiceBindingsRequest
- {
- string Operation;
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] HandleEspServiceBindingsResponse
- {
- string Status;
- string NewName;
- };
- ESPrequest HandleComputerRequest
- {
- string Operation;
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] HandleComputerResponse
- {
- string Status;
- string CompName;
- };
- ESPrequest HandleTopologyRequest
- {
- string Operation;
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] HandleTopologyResponse
- {
- string Status;
- };
- ESPrequest HandleRowsRequest
- {
- string Operation;
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] HandleRowsResponse
- {
- string Status;
- string CompName;
- };
- ESPrequest HandleAccessRulesRequest
- {
- string Operation;
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPrequest HandleBaseAccessControlListRequest
- {
- string Operation;
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] HandleAccessRulesResponse
- {
- string Status;
- };
- ESPresponse [exceptions_inline, encode(0)] HandleBaseAccessControlListResponse
- {
- string Status;
- };
- ESPrequest GetNavTreeDefnRequest
- {
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] GetNavTreeDefnResponse
- {
- string CompDefn;
- string ReadOnly;
- string LastSaved;
- string LastStarted;
- string Message;
- };
- ESPrequest GetValueRequest
- {
- string Params;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] GetValueResponse
- {
- string Status;
- string ReqValue;
- };
- ESPrequest UnlockUserRequest
- {
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] UnlockUserResponse
- {
- string Status;
- };
- ESPrequest ClientAliveRequest
- {
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] ClientAliveResponse
- {
- string LastSaved;
- string LastStarted;
- string RefreshClient;
- };
- ESPrequest GetEnvironmentRequest
- {
- };
- ESPresponse [exceptions_inline, encode(0)] GetEnvironmentResponse
- {
- string EnvXml;
- };
- ESPrequest SetEnvironmentRequest
- {
- string EnvXml;
- };
- ESPresponse [exceptions_inline, encode(0)] SetEnvironmentResponse
- {
- int ReturnCode;
- string ErrorMsg;
- };
- ESPrequest LockEnvironmentForCloudRequest
- {
- string Ip;
- string UserName;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] LockEnvironmentForCloudResponse
- {
- string Msg;
- int ReturnCode;
- };
- ESPrequest UnlockEnvironmentForCloudRequest
- {
- string Ip;
- string UserName;
- string NewEnvXml;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] UnlockEnvironmentForCloudResponse
- {
- string Msg;
- int ReturnCode;
- };
- ESPrequest SaveEnvironmentForCloudRequest
- {
- string Ip;
- string UserName;
- string NewEnv;
- string Id;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] SaveEnvironmentForCloudResponse
- {
- string Msg;
- int ReturnCode;
- };
- ESPrequest RollbackEnvironmentForCloudRequest
- {
- string Ip;
- string UserName;
- string Id;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] RollbackEnvironmentForCloudResponse
- {
- string Msg;
- int ReturnCode;
- };
- ESPrequest NotifyInitSystemSaveEnvForCloudRequest
- {
- string Ip;
- string UserName;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] NotifyInitSystemSaveEnvForCloudResponse
- {
- string Msg;
- int ReturnCode;
- };
- ESPrequest BuildEnvironmentRequest
- {
- string XmlArgs;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] BuildEnvironmentResponse
- {
- string Status;
- string Message;
- };
- ESPrequest GetSubnetIPAddrRequest
- {
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] GetSubnetIPAddrResponse
- {
- string IPList;
- string Message;
- };
- ESPrequest GetSummaryRequest
- {
- bool PrepareLinkFlag;
- ESPstruct WsDeployReqInfo ReqInfo;
- };
- ESPresponse [exceptions_inline, encode(0)] GetSummaryResponse
- {
- string Status;
- string XmlStr;
- };
- ESPservice [auth_feature("NONE"), exceptions_inline("xslt/exceptions.xslt")] WsDeploy
- {
- ESPmethod[description("Handle an event from the navigation tree menu"), help("")]
- NavMenuEvent(NavMenuEventRequest, NavMenuEventResponse);
- ESPmethod[description("Dependency graph"), help(""), resp_xsl_default("xslt/graph_display.xsl")]
- Graph(EmptyRequest, GraphResponse);
- ESPmethod[description("Display Component Settings"), help(""), resp_xsl_default("xslt/ui_configmgr.xslt")]
- DisplaySettings(DisplaySettingsRequest, DisplaySettingsResponse);
- ESPmethod[description("Save Component Setting"), help("")]
- SaveSetting(SaveSettingRequest, SaveSettingResponse);
- ESPmethod[description("Get BuildSet Info"), help("")]
- GetBuildSetInfo(GetBuildSetInfoRequest, GetBuildSetInfoResponse);
- ESPmethod[description("Get Deployable Components"), help(""), resp_xsl_default("xslt/ui_configmgr.xslt")]
- GetDeployableComps(GetDeployableCompsRequest, GetDeployableCompsResponse);
- ESPmethod[description("Start Deployment"), help("")]
- StartDeployment(StartDeploymentRequest, StartDeploymentResponse);
- ESPmethod[description("Get Build Server Directories"), help("")]
- GetBuildServerDirs(GetBuildServerDirsRequest, GetBuildServerDirsResponse);
- ESPmethod[description("Import Build"), help("")]
- ImportBuild(ImportBuildRequest, ImportBuildResponse);
- ESPmethod[description("Get computers for Roxie components"), help("")]
- GetComputersForRoxie(GetComputersForRoxieRequest, GetComputersForRoxieResponse);
- ESPmethod[description("Add computers to Roxie"), help("")]
- HandleRoxieOperation(HandleRoxieOperationRequest, HandleRoxieOperationResponse);
- ESPmethod[description("Add computers to Thor topology"), help("")]
- HandleThorTopology(HandleThorTopologyRequest, HandleThorTopologyResponse);
- ESPmethod[description("Handle add fom XML view"), help("")]
- HandleAttributeAdd(HandleAttributeAddRequest, HandleAttributeAddResponse);
- ESPmethod[description("Handle branch or leaf deletes from XML view"), help("")]
- HandleAttributeDelete(HandleAttributeDeleteRequest, HandleAttributeDeleteResponse);
- ESPmethod[description("Handle new component operations like add & delete in the environment"), help("")]
- HandleComponent(HandleComponentRequest, HandleComponentResponse);
- ESPmethod[description("Handle new instance operations like add & delete in the environment"), help("")]
- HandleInstance(HandleInstanceRequest, HandleInstanceResponse);
- ESPmethod[description("Handle new Esp Service binding operations like add & delete "), help("")]
- HandleEspServiceBindings(HandleEspServiceBindingsRequest, HandleEspServiceBindingsResponse);
- ESPmethod[description("Handle new hardware operations like add & delete computer e.t.c"), help("")]
- HandleComputer(HandleComputerRequest, HandleComputerResponse);
- ESPmethod[description("Handle Topology operations like add & delete e.t.c"), help("")]
- HandleTopology(HandleTopologyRequest, HandleTopologyResponse);
- ESPmethod[description("Handle row operations like add & delete e.t.c"), help("")]
- HandleRows(HandleRowsRequest, HandleRowsResponse);
- ESPmethod[description("Handle Access Rules Requests suchs as add & delete e.t.c"), help("")]
- HandleAccessRules(HandleAccessRulesRequest, HandleAccessRulesResponse);
- ESPmethod[description("Handle Base Access Control List Requests suchs as add & delete e.t.c"), help("")]
- HandleBaseAccessControlList(HandleBaseAccessControlListRequest, HandleBaseAccessControlListResponse);
- ESPmethod[description("Return nav tree definition for display purposes"), help("")]
- GetNavTreeDefn(GetNavTreeDefnRequest, GetNavTreeDefnResponse);
- ESPmethod[description("Returns the value for the requested field"), help("")]
- GetValue(GetValueRequest, GetValueResponse);
- ESPmethod[description("Unlocks a user that is already connected"), help("")]
- UnlockUser(UnlockUserRequest, UnlockUserResponse);
- ESPmethod[description("Send a signal back to the service that the client is alive"), help("")]
- ClientAlive(ClientAliveRequest, ClientAliveResponse);
- ESPmethod[description("Get the environment as an xml string"), help("")]
- GetEnvironment(GetEnvironmentRequest, GetEnvironmentResponse);
- ESPmethod[description("Validate, update Dali and set the environment that is passed in as an xml string"), help("")]
- SetEnvironment(SetEnvironmentRequest, SetEnvironmentResponse);
- ESPmethod[description("Lock the environment. Only valid as a soapcall in Cloud Environments"), help("")]
- LockEnvironmentForCloud(LockEnvironmentForCloudRequest, LockEnvironmentForCloudResponse);
- ESPmethod[description("Unlock the environment. Only valid as a soapcall in Cloud Environments"), help("")]
- UnlockEnvironmentForCloud(UnlockEnvironmentForCloudRequest, UnlockEnvironmentForCloudResponse);
- ESPmethod[description("Save the environment. Only valid as a soapcall in Cloud Environments"), help("")]
- SaveEnvironmentForCloud(SaveEnvironmentForCloudRequest, SaveEnvironmentForCloudResponse);
- ESPmethod[description("Rollback the environment. Only valid as a soapcall in Cloud Environments"), help("")]
- RollbackEnvironmentForCloud(RollbackEnvironmentForCloudRequest, RollbackEnvironmentForCloudResponse);
- ESPmethod[description("Rollback the environment. Only valid as a soapcall in Cloud Environments"), help("")]
- NotifyInitSystemSaveEnvForCloud(NotifyInitSystemSaveEnvForCloudRequest, NotifyInitSystemSaveEnvForCloudResponse);
- ESPmethod[description("To Build the environment from wizard by providing xml"), help("")]
- BuildEnvironment(BuildEnvironmentRequest, BuildEnvironmentResponse);
- ESPmethod[description("To get the List IP Addresses in cloud environment by executing auto discovery script."), help("")]
- GetSubnetIPAddr(GetSubnetIPAddrRequest, GetSubnetIPAddrResponse);
- ESPmethod[description("To get the environment summary"), help("")]
- GetSummary(GetSummaryRequest, GetSummaryResponse);
- ESPmethod[description("Add the required components on given ip addresses."), help("")]
- AddReqdComps(AddReqdCompsRequest, AddReqdCompsResponse);
- };
- SCMexportdef(WsDeploy);
- SCMapi(WsDeploy) IClientWsDeploy *createWsDeployClient();
|