|
37 | 37 | ) |
38 | 38 | public interface ArmRpoClient { |
39 | 39 |
|
40 | | - @PostMapping(value = "${darts.storage.arm-api.rpo-url.get-record-management-matter-path}", |
41 | | - consumes = APPLICATION_JSON_VALUE, |
42 | | - produces = APPLICATION_JSON_VALUE |
43 | | - ) |
44 | | - RecordManagementMatterResponse getRecordManagementMatter(@RequestHeader(AUTHORIZATION) String bearerAuth, |
45 | | - @RequestBody EmptyRpoRequest emptyRpoRequest); |
46 | | - |
47 | | - |
48 | | - @PostMapping(value = "${darts.storage.arm-api.rpo-url.get-storage-accounts-path}", |
49 | | - consumes = APPLICATION_JSON_VALUE, |
50 | | - produces = APPLICATION_JSON_VALUE |
51 | | - ) |
52 | | - StorageAccountResponse getStorageAccounts(@RequestHeader(AUTHORIZATION) String bearerToken, |
53 | | - @RequestBody StorageAccountRequest storageAccountRequest); |
54 | | - |
55 | | - |
56 | | - @PostMapping(value = "${darts.storage.arm-api.rpo-url.get-master-index-field-by-record-class-schema-path}", |
57 | | - consumes = APPLICATION_JSON_VALUE, |
58 | | - produces = APPLICATION_JSON_VALUE |
59 | | - ) |
60 | | - MasterIndexFieldByRecordClassSchemaResponse getMasterIndexFieldByRecordClassSchema( |
61 | | - @RequestHeader(AUTHORIZATION) String bearerAuth, @RequestBody MasterIndexFieldByRecordClassSchemaRequest masterIndexFieldByRecordClassSchemaRequest); |
62 | | - |
63 | | - @PostMapping(value = "${darts.storage.arm-api.rpo-url.get-profile-entitlements-path}", |
64 | | - consumes = APPLICATION_JSON_VALUE, |
65 | | - produces = APPLICATION_JSON_VALUE |
66 | | - ) |
67 | | - ProfileEntitlementResponse getProfileEntitlementResponse(@RequestHeader(AUTHORIZATION) String bearerAuth, |
68 | | - @RequestBody EmptyRpoRequest emptyRpoRequest); |
69 | | - |
70 | | - @PostMapping(value = "${darts.storage.arm-api.rpo-url.add-async-search-path}", |
71 | | - consumes = APPLICATION_JSON_VALUE, |
72 | | - produces = APPLICATION_JSON_VALUE |
73 | | - ) |
74 | | - ArmAsyncSearchResponse addAsyncSearch(@RequestHeader(AUTHORIZATION) String bearerAuth, @RequestBody String body); |
75 | | - |
76 | | - @PostMapping(value = "${darts.storage.arm-api.rpo-url.get-indexes-by-matter-id-path}", |
77 | | - consumes = APPLICATION_JSON_VALUE, |
78 | | - produces = APPLICATION_JSON_VALUE |
79 | | - ) |
80 | | - IndexesByMatterIdResponse getIndexesByMatterId(@RequestHeader(AUTHORIZATION) String bearerToken, |
81 | | - @RequestBody IndexesByMatterIdRequest indexesByMatterIdRequest); |
82 | | - |
83 | | - @PostMapping(value = "${darts.storage.arm-api.rpo-url.save-background-search-path}", |
84 | | - consumes = APPLICATION_JSON_VALUE, |
85 | | - produces = APPLICATION_JSON_VALUE |
86 | | - ) |
87 | | - SaveBackgroundSearchResponse saveBackgroundSearch(@RequestHeader(AUTHORIZATION) String bearerToken, |
88 | | - @RequestBody SaveBackgroundSearchRequest saveBackgroundSearchRequest); |
89 | | - |
90 | | - @PostMapping(value = "${darts.storage.arm-api.rpo-url.get-extended-searches-by-matter-path}", |
91 | | - consumes = APPLICATION_JSON_VALUE, |
92 | | - produces = APPLICATION_JSON_VALUE |
93 | | - ) |
94 | | - ExtendedSearchesByMatterResponse getExtendedSearchesByMatter(@RequestHeader(AUTHORIZATION) String bearerToken, |
95 | | - @RequestBody String body); |
96 | | - |
97 | | - @PostMapping(value = "${darts.storage.arm-api.rpo-url.get-production-output-files-path}", |
98 | | - consumes = APPLICATION_JSON_VALUE, |
99 | | - produces = APPLICATION_JSON_VALUE |
100 | | - ) |
101 | | - ProductionOutputFilesResponse getProductionOutputFiles(@RequestHeader(AUTHORIZATION) String bearerToken, |
102 | | - @RequestBody ProductionOutputFilesRequest productionOutputFilesRequest); |
103 | | - |
104 | | - @PostMapping(value = "${darts.storage.arm-api.rpo-url.create-export-based-on-search-results-table-path}", |
105 | | - consumes = APPLICATION_JSON_VALUE, |
106 | | - produces = APPLICATION_JSON_VALUE |
107 | | - ) |
108 | | - CreateExportBasedOnSearchResultsTableResponse createExportBasedOnSearchResultsTable( |
109 | | - @RequestHeader(AUTHORIZATION) String bearerToken, @RequestBody CreateExportBasedOnSearchResultsTableRequest request); |
110 | | - |
111 | | - |
112 | | - @PostMapping(value = "${darts.storage.arm-api.rpo-url.remove-production-path}", |
113 | | - consumes = APPLICATION_JSON_VALUE, |
114 | | - produces = APPLICATION_JSON_VALUE |
115 | | - ) |
116 | | - RemoveProductionResponse removeProduction(@RequestHeader(AUTHORIZATION) String bearerToken, |
117 | | - @RequestBody RemoveProductionRequest removeProductionRequest); |
118 | | - |
119 | | - @PostMapping(value = "${darts.storage.arm-api.rpo-url.get-extended-productions-by-matter}", |
120 | | - consumes = APPLICATION_JSON_VALUE, |
121 | | - produces = APPLICATION_JSON_VALUE |
122 | | - ) |
123 | | - ExtendedProductionsByMatterResponse getExtendedProductionsByMatter(@RequestHeader(AUTHORIZATION) String bearerToken, |
124 | | - @RequestBody String body); |
125 | | - |
126 | | - @GetMapping(value = "${darts.storage.arm-api.rpo-url.download-production-path}", |
127 | | - produces = APPLICATION_OCTET_STREAM_VALUE) |
128 | | - feign.Response downloadProduction(@RequestHeader(AUTHORIZATION) String bearerAuth, |
129 | | - @PathVariable("productionExportFileID") String productionExportFileId); |
130 | | - |
| 40 | + @PostMapping(value = "${darts.storage.arm-api.rpo-url.get-record-management-matter-path}", //NOSONAR |
| 41 | + consumes = APPLICATION_JSON_VALUE, //NOSONAR |
| 42 | + produces = APPLICATION_JSON_VALUE //NOSONAR |
| 43 | + ) //NOSONAR |
| 44 | + RecordManagementMatterResponse getRecordManagementMatter(@RequestHeader(AUTHORIZATION) String bearerAuth, //NOSONAR |
| 45 | + @RequestBody EmptyRpoRequest emptyRpoRequest); //NOSONAR |
| 46 | + |
| 47 | + |
| 48 | + @PostMapping(value = "${darts.storage.arm-api.rpo-url.get-storage-accounts-path}", //NOSONAR |
| 49 | + consumes = APPLICATION_JSON_VALUE, //NOSONAR |
| 50 | + produces = APPLICATION_JSON_VALUE //NOSONAR |
| 51 | + ) //NOSONAR |
| 52 | + StorageAccountResponse getStorageAccounts(@RequestHeader(AUTHORIZATION) String bearerToken, //NOSONAR |
| 53 | + @RequestBody StorageAccountRequest storageAccountRequest); //NOSONAR |
| 54 | + |
| 55 | + |
| 56 | + @PostMapping(value = "${darts.storage.arm-api.rpo-url.get-master-index-field-by-record-class-schema-path}", //NOSONAR |
| 57 | + consumes = APPLICATION_JSON_VALUE, //NOSONAR |
| 58 | + produces = APPLICATION_JSON_VALUE //NOSONAR |
| 59 | + ) //NOSONAR |
| 60 | + MasterIndexFieldByRecordClassSchemaResponse getMasterIndexFieldByRecordClassSchema( //NOSONAR |
| 61 | + @RequestHeader(AUTHORIZATION) String bearerAuth, //NOSONAR |
| 62 | + @RequestBody MasterIndexFieldByRecordClassSchemaRequest //NOSONAR |
| 63 | + masterIndexFieldByRecordClassSchemaRequest); //NOSONAR |
| 64 | + |
| 65 | + @PostMapping(value = "${darts.storage.arm-api.rpo-url.get-profile-entitlements-path}", //NOSONAR |
| 66 | + consumes = APPLICATION_JSON_VALUE, //NOSONAR |
| 67 | + produces = APPLICATION_JSON_VALUE //NOSONAR |
| 68 | + ) //NOSONAR |
| 69 | + ProfileEntitlementResponse getProfileEntitlementResponse(@RequestHeader(AUTHORIZATION) String bearerAuth, //NOSONAR |
| 70 | + @RequestBody EmptyRpoRequest emptyRpoRequest); //NOSONAR |
| 71 | + |
| 72 | + @PostMapping(value = "${darts.storage.arm-api.rpo-url.add-async-search-path}", //NOSONAR |
| 73 | + consumes = APPLICATION_JSON_VALUE, //NOSONAR |
| 74 | + produces = APPLICATION_JSON_VALUE //NOSONAR |
| 75 | + ) //NOSONAR |
| 76 | + ArmAsyncSearchResponse addAsyncSearch(@RequestHeader(AUTHORIZATION) String bearerAuth, @RequestBody String body); //NOSONAR |
| 77 | + |
| 78 | + @PostMapping(value = "${darts.storage.arm-api.rpo-url.get-indexes-by-matter-id-path}", //NOSONAR |
| 79 | + consumes = APPLICATION_JSON_VALUE, //NOSONAR |
| 80 | + produces = APPLICATION_JSON_VALUE //NOSONAR |
| 81 | + ) //NOSONAR |
| 82 | + IndexesByMatterIdResponse getIndexesByMatterId(@RequestHeader(AUTHORIZATION) String bearerToken, //NOSONAR |
| 83 | + @RequestBody IndexesByMatterIdRequest indexesByMatterIdRequest); //NOSONAR |
| 84 | + |
| 85 | + @PostMapping(value = "${darts.storage.arm-api.rpo-url.save-background-search-path}", //NOSONAR |
| 86 | + consumes = APPLICATION_JSON_VALUE, //NOSONAR |
| 87 | + produces = APPLICATION_JSON_VALUE //NOSONAR |
| 88 | + ) //NOSONAR |
| 89 | + SaveBackgroundSearchResponse saveBackgroundSearch(@RequestHeader(AUTHORIZATION) String bearerToken, //NOSONAR |
| 90 | + @RequestBody SaveBackgroundSearchRequest saveBackgroundSearchRequest); //NOSONAR |
| 91 | + |
| 92 | + @PostMapping(value = "${darts.storage.arm-api.rpo-url.get-extended-searches-by-matter-path}", //NOSONAR |
| 93 | + consumes = APPLICATION_JSON_VALUE, //NOSONAR |
| 94 | + produces = APPLICATION_JSON_VALUE //NOSONAR |
| 95 | + ) //NOSONAR |
| 96 | + ExtendedSearchesByMatterResponse getExtendedSearchesByMatter(@RequestHeader(AUTHORIZATION) String bearerToken, //NOSONAR |
| 97 | + @RequestBody String body); //NOSONAR |
| 98 | + |
| 99 | + @PostMapping(value = "${darts.storage.arm-api.rpo-url.get-production-output-files-path}", //NOSONAR |
| 100 | + consumes = APPLICATION_JSON_VALUE, //NOSONAR |
| 101 | + produces = APPLICATION_JSON_VALUE //NOSONAR |
| 102 | + ) //NOSONAR |
| 103 | + ProductionOutputFilesResponse getProductionOutputFiles(@RequestHeader(AUTHORIZATION) String bearerToken, //NOSONAR |
| 104 | + @RequestBody ProductionOutputFilesRequest productionOutputFilesRequest); //NOSONAR |
| 105 | + |
| 106 | + @PostMapping(value = "${darts.storage.arm-api.rpo-url.create-export-based-on-search-results-table-path}", //NOSONAR |
| 107 | + consumes = APPLICATION_JSON_VALUE, //NOSONAR |
| 108 | + produces = APPLICATION_JSON_VALUE //NOSONAR |
| 109 | + ) //NOSONAR |
| 110 | + CreateExportBasedOnSearchResultsTableResponse createExportBasedOnSearchResultsTable( //NOSONAR |
| 111 | + @RequestHeader(AUTHORIZATION) String bearerToken, |
| 112 | + @RequestBody CreateExportBasedOnSearchResultsTableRequest request); //NOSONAR |
| 113 | + |
| 114 | + @PostMapping(value = "${darts.storage.arm-api.rpo-url.remove-production-path}", //NOSONAR |
| 115 | + consumes = APPLICATION_JSON_VALUE, //NOSONAR |
| 116 | + produces = APPLICATION_JSON_VALUE //NOSONAR |
| 117 | + ) //NOSONAR |
| 118 | + RemoveProductionResponse removeProduction(@RequestHeader(AUTHORIZATION) String bearerToken, //NOSONAR |
| 119 | + @RequestBody RemoveProductionRequest removeProductionRequest); //NOSONAR |
| 120 | + |
| 121 | + @PostMapping(value = "${darts.storage.arm-api.rpo-url.get-extended-productions-by-matter}", //NOSONAR |
| 122 | + consumes = APPLICATION_JSON_VALUE, //NOSONAR |
| 123 | + produces = APPLICATION_JSON_VALUE //NOSONAR |
| 124 | + ) //NOSONAR |
| 125 | + ExtendedProductionsByMatterResponse getExtendedProductionsByMatter(@RequestHeader(AUTHORIZATION) String bearerToken, //NOSONAR |
| 126 | + @RequestBody String body); //NOSONAR |
| 127 | + |
| 128 | + @GetMapping(value = "${darts.storage.arm-api.rpo-url.download-production-path}", //NOSONAR |
| 129 | + produces = APPLICATION_OCTET_STREAM_VALUE) //NOSONAR |
| 130 | + feign.Response downloadProduction(@RequestHeader(AUTHORIZATION) String bearerAuth, //NOSONAR |
| 131 | + @PathVariable("productionExportFileID") String productionExportFileId); //NOSONAR |
131 | 132 |
|
132 | 133 | /** |
133 | 134 | * Download production that should only be used in lower environments for testing purposes. |
134 | 135 | */ |
135 | | - @GetMapping(value = "${darts.storage.arm-api.rpo-url.download-production-path}", |
136 | | - produces = APPLICATION_OCTET_STREAM_VALUE) |
137 | | - feign.Response downloadProduction(@RequestHeader(AUTHORIZATION) String bearerAuth, |
138 | | - @RequestHeader("EOD_IDS") String eodIds, |
139 | | - @PathVariable("productionExportFileID") String productionExportFileId); |
| 136 | + @GetMapping(value = "${darts.storage.arm-api.rpo-url.download-production-path}", //NOSONAR |
| 137 | + produces = APPLICATION_OCTET_STREAM_VALUE) //NOSONAR |
| 138 | + feign.Response downloadProduction(@RequestHeader(AUTHORIZATION) String bearerAuth, //NOSONAR |
| 139 | + @RequestHeader("EOD_IDS") String eodIds, //NOSONAR |
| 140 | + @PathVariable("productionExportFileID") String productionExportFileId); //NOSONAR |
140 | 141 |
|
141 | 142 | } |
0 commit comments