123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242 |
- /*##############################################################################
- 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<string> 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<string, File> 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();
|