/*############################################################################## 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. ############################################################################## */ #include "xslprocessor.hpp" // =========================================================================== ESPrequest [ ] DFUXRefListRequest { }; ESPresponse [ encode(0) ] DFUXRefListResponse { [json_inline(1)] string DFUXRefListResult; }; ESPrequest [ ] DFUXRefBuildRequest { string Cluster; }; ESPresponse [ encode(0) ] DFUXRefBuildResponse { [json_inline(1)] string DFUXRefActionResult; }; ESPrequest [ ] DFUXRefLostFilesQueryRequest { string Cluster; }; ESPresponse [ encode(0) ] DFUXRefLostFilesQueryResponse { [json_inline(1)] string DFUXRefLostFilesQueryResult; }; ESPrequest [ ] DFUXRefOrphanFilesQueryRequest { string Cluster; }; ESPresponse [ encode(0) ] DFUXRefOrphanFilesQueryResponse { [json_inline(1)] string DFUXRefOrphanFilesQueryResult; }; ESPrequest [ ] DFUXRefMessagesQueryRequest { string Cluster; }; ESPresponse [ encode(0) ] DFUXRefMessagesQueryResponse { [json_inline(1)] string DFUXRefMessagesQueryResult; }; /*ESPstruct [nil_remove] Directory { string Name; string DirSize; string MaxIP; string MaxSize; string MinIP; string MinSize; string Skew; };*/ ESPrequest [ ] DFUXRefDirectoriesQueryRequest { string Cluster; }; ESPresponse [ encode(0) ] DFUXRefDirectoriesQueryResponse { [json_inline(1)] string DFUXRefDirectoriesQueryResult; }; ESPrequest [ ] DFUXRefFoundFilesQueryRequest { string Cluster; }; ESPresponse [ encode(0) ] DFUXRefFoundFilesQueryResponse { [json_inline(1)] string DFUXRefFoundFilesQueryResult; }; ESPrequest [ ] DFUXRefArrayActionRequest { string Type; string Cluster; string Action; ESParray XRefFiles; }; ESPresponse [ encode(0) ] DFUXRefArrayActionResponse { [json_inline(1)] string DFUXRefArrayActionResult; }; ESPrequest [ ] DFUXRefBuildCancelRequest { }; ESPresponse [ encode(0) ] DFUXRefBuildCancelResponse { [json_inline(1)] string DFUXRefBuildCancelResult; }; ESPrequest DFUXRefCleanDirectoriesRequest { string Cluster; }; ESPresponse [exceptions_inline] DFUXRefCleanDirectoriesResponse { }; ESPrequest DFUXRefUnusedFilesRequest { string ProcessCluster; bool CheckPackageMaps; }; ESPresponse [exceptions_inline] DFUXRefUnusedFilesResponse { unsigned UnusedFileCount; ESParray UnusedFiles; }; // =========================================================================== ESPservice [auth_feature("DEFERRED"), exceptions_inline("./smc_xslt/exceptions.xslt")] WsDFUXRef { ///ESPmethod [resp_xsl_default("./smc_xslt/xref_main.xslt")] DFUXRefList(DFUXRefListRequest, DFUXRefListResponse); ESPmethod [resp_xsl_default("/esp/xslt/xref_main.xslt")] DFUXRefList(DFUXRefListRequest, DFUXRefListResponse); ESPmethod [resp_xsl_default("/esp/xslt/action.xslt")] DFUXRefBuild(DFUXRefBuildRequest, DFUXRefBuildResponse); ESPmethod [resp_xsl_default("/esp/xslt/xref_lost.xslt")] DFUXRefLostFiles(DFUXRefLostFilesQueryRequest, DFUXRefLostFilesQueryResponse); ESPmethod [resp_xsl_default("/esp/xslt/xref_found.xslt")] DFUXRefFoundFiles(DFUXRefFoundFilesQueryRequest, DFUXRefFoundFilesQueryResponse); ESPmethod [resp_xsl_default("/esp/xslt/xref_orphan.xslt")] DFUXRefOrphanFiles(DFUXRefOrphanFilesQueryRequest, DFUXRefOrphanFilesQueryResponse); ESPmethod [resp_xsl_default("/esp/xslt/xref_errwarn.xslt")] DFUXRefMessages(DFUXRefMessagesQueryRequest, DFUXRefMessagesQueryResponse); ESPmethod [resp_xsl_default("/esp/xslt/xref_directories.xslt")] DFUXRefDirectories(DFUXRefDirectoriesQueryRequest, DFUXRefDirectoriesQueryResponse); ESPmethod [auth_feature("DfuXrefAccess:access"), resp_xsl_default("/esp/xslt/action.xslt")] DFUXRefArrayAction(DFUXRefArrayActionRequest, DFUXRefArrayActionResponse); ESPmethod [resp_xsl_default("/esp/xslt/action.xslt")] DFUXRefBuildCancel(DFUXRefBuildCancelRequest, DFUXRefBuildCancelResponse); ESPmethod DFUXRefCleanDirectories(DFUXRefCleanDirectoriesRequest, DFUXRefCleanDirectoriesResponse); ESPmethod [auth_feature("DfuXrefAccess:access")] DFUXRefUnusedFiles(DFUXRefUnusedFilesRequest, DFUXRefUnusedFilesResponse); }; SCMexportdef(WSDFUXREF); SCMapi(WSDFUXREF) IClientWsDFUXRef *createWsDFUXRefClient();