@vegan-friendly/strapi-plugin-elasticsearch 0.1.0-alpha.2 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin/index.d.ts +8 -0
- package/dist/admin/index.js +92 -0
- package/dist/admin/pluginId.d.ts +2 -0
- package/dist/admin/pluginId.js +8 -0
- package/dist/admin/src/components/Initializer/index.js +2 -1
- package/dist/admin/src/components/SubNavigation/index.js +10 -8
- package/dist/admin/src/pages/ConfigureCollectionList/index.js +40 -28
- package/dist/admin/src/pages/Homepage/index.js +20 -21
- package/dist/admin/src/pluginId.d.ts +1 -1
- package/dist/admin/src/utils/apiUrls.js +1 -0
- package/dist/admin/src/utils/axiosInstance.js +1 -2
- package/dist/package.json +63 -0
- package/dist/server/bootstrap.d.ts +4 -0
- package/dist/server/bootstrap.js +3 -3
- package/dist/server/config/index.d.ts +5 -0
- package/dist/server/config/index.js +2 -1
- package/dist/server/content-types/index.d.ts +83 -2
- package/dist/server/content-types/index.js +9 -5
- package/dist/server/content-types/indexing-logs.d.ts +32 -0
- package/dist/server/content-types/indexing-logs.js +22 -24
- package/dist/server/content-types/tasks.d.ts +46 -0
- package/dist/server/content-types/tasks.js +33 -38
- package/dist/server/controllers/configure-indexing.d.ts +11 -0
- package/dist/server/controllers/configure-indexing.js +3 -2
- package/dist/server/controllers/index.d.ts +33 -5
- package/dist/server/controllers/index.js +15 -11
- package/dist/server/controllers/log-indexing.d.ts +6 -0
- package/dist/server/controllers/log-indexing.js +3 -2
- package/dist/server/controllers/perform-indexing.d.ts +8 -0
- package/dist/server/controllers/perform-indexing.js +3 -2
- package/dist/server/controllers/perform-search.d.ts +4 -1
- package/dist/server/controllers/perform-search.js +11 -8
- package/dist/server/controllers/setup-info.d.ts +6 -0
- package/dist/server/controllers/setup-info.js +2 -1
- package/dist/server/destroy.d.ts +4 -0
- package/dist/server/destroy.js +2 -1
- package/dist/server/index.d.ts +312 -10
- package/dist/server/index.js +25 -21
- package/dist/server/middlewares/index.d.ts +2 -0
- package/dist/server/middlewares/index.js +2 -1
- package/dist/server/policies/index.d.ts +2 -0
- package/dist/server/policies/index.js +2 -1
- package/dist/server/register.d.ts +4 -0
- package/dist/server/register.js +2 -1
- package/dist/server/routes/configure-indexing.d.ts +12 -0
- package/dist/server/routes/configure-indexing.js +2 -1
- package/dist/server/routes/index.d.ts +58 -5
- package/dist/server/routes/index.js +15 -11
- package/dist/server/routes/perform-indexing.d.ts +12 -0
- package/dist/server/routes/perform-indexing.js +2 -1
- package/dist/server/routes/perform-search.d.ts +12 -0
- package/dist/server/routes/perform-search.js +4 -3
- package/dist/server/routes/run-log.d.ts +12 -0
- package/dist/server/routes/run-log.js +3 -2
- package/dist/server/routes/setup-info.d.ts +12 -0
- package/dist/server/routes/setup-info.js +3 -2
- package/dist/server/services/configure-indexing.d.ts +23 -23
- package/dist/server/services/configure-indexing.js +30 -18
- package/dist/server/services/es-interface.d.ts +27 -4
- package/dist/server/services/es-interface.js +13 -14
- package/dist/server/services/helper.d.ts +34 -33
- package/dist/server/services/helper.js +31 -23
- package/dist/server/services/index.d.ts +124 -7
- package/dist/server/services/index.js +19 -15
- package/dist/server/services/log-indexing.d.ts +8 -0
- package/dist/server/services/log-indexing.js +8 -7
- package/dist/server/services/perform-indexing.d.ts +8 -0
- package/dist/server/services/perform-indexing.js +29 -16
- package/dist/server/services/schedule-indexing.d.ts +19 -0
- package/dist/server/services/schedule-indexing.js +13 -12
- package/dist/server/services/transform-content.d.ts +7 -2
- package/dist/server/services/transform-content.js +4 -3
- package/package.json +4 -2
- package/dist/strapi-admin.d.ts +0 -0
- package/dist/strapi-admin.js +0 -2
- package/dist/strapi-server.d.ts +0 -0
- package/dist/strapi-server.js +0 -2
package/dist/server/index.d.ts
CHANGED
@@ -1,10 +1,312 @@
|
|
1
|
-
declare const
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
declare const _default: {
|
2
|
+
register: ({ strapi }: {
|
3
|
+
strapi: any;
|
4
|
+
}) => void;
|
5
|
+
bootstrap: ({ strapi }: {
|
6
|
+
strapi: any;
|
7
|
+
}) => Promise<void>;
|
8
|
+
destroy: ({ strapi }: {
|
9
|
+
strapi: any;
|
10
|
+
}) => void;
|
11
|
+
config: {
|
12
|
+
default: {};
|
13
|
+
validator(): void;
|
14
|
+
};
|
15
|
+
controllers: {
|
16
|
+
configureIndexing: ({ strapi }: {
|
17
|
+
strapi: any;
|
18
|
+
}) => {
|
19
|
+
getContentConfig: (ctx: any) => Promise<any>;
|
20
|
+
setContentConfig: (ctx: any) => Promise<any>;
|
21
|
+
getCollectionConfig: (ctx: any) => Promise<any>;
|
22
|
+
saveCollectionConfig: (ctx: any) => Promise<any>;
|
23
|
+
exportContentConfig: (ctx: any) => Promise<any>;
|
24
|
+
importContentConfig: (ctx: any) => Promise<any>;
|
25
|
+
};
|
26
|
+
performSearch: {
|
27
|
+
search: (ctx: any) => Promise<void>;
|
28
|
+
};
|
29
|
+
logIndexing: ({ strapi }: {
|
30
|
+
strapi: any;
|
31
|
+
}) => {
|
32
|
+
fetchRecentRunsLog: (ctx: any) => Promise<any>;
|
33
|
+
};
|
34
|
+
setupInfo: ({ strapi }: {
|
35
|
+
strapi: any;
|
36
|
+
}) => {
|
37
|
+
getElasticsearchInfo: (ctx: any) => Promise<any>;
|
38
|
+
};
|
39
|
+
performIndexing: ({ strapi }: {
|
40
|
+
strapi: any;
|
41
|
+
}) => {
|
42
|
+
rebuildIndex: (ctx: any) => Promise<any>;
|
43
|
+
indexCollection: (ctx: any) => Promise<any>;
|
44
|
+
triggerIndexingTask: (ctx: any) => Promise<any>;
|
45
|
+
};
|
46
|
+
};
|
47
|
+
routes: {
|
48
|
+
config: {
|
49
|
+
type: string;
|
50
|
+
routes: {
|
51
|
+
method: string;
|
52
|
+
path: string;
|
53
|
+
handler: string;
|
54
|
+
config: {
|
55
|
+
policies: never[];
|
56
|
+
};
|
57
|
+
}[];
|
58
|
+
};
|
59
|
+
search: {
|
60
|
+
type: string;
|
61
|
+
routes: {
|
62
|
+
method: string;
|
63
|
+
path: string;
|
64
|
+
handler: string;
|
65
|
+
config: {
|
66
|
+
policies: never[];
|
67
|
+
};
|
68
|
+
}[];
|
69
|
+
};
|
70
|
+
runLog: {
|
71
|
+
type: string;
|
72
|
+
routes: {
|
73
|
+
method: string;
|
74
|
+
path: string;
|
75
|
+
handler: string;
|
76
|
+
config: {
|
77
|
+
policies: never[];
|
78
|
+
};
|
79
|
+
}[];
|
80
|
+
};
|
81
|
+
setupInfo: {
|
82
|
+
type: string;
|
83
|
+
routes: {
|
84
|
+
method: string;
|
85
|
+
path: string;
|
86
|
+
handler: string;
|
87
|
+
config: {
|
88
|
+
policies: never[];
|
89
|
+
};
|
90
|
+
}[];
|
91
|
+
};
|
92
|
+
performIndexing: {
|
93
|
+
type: string;
|
94
|
+
routes: {
|
95
|
+
method: string;
|
96
|
+
path: string;
|
97
|
+
handler: string;
|
98
|
+
config: {
|
99
|
+
policies: never[];
|
100
|
+
};
|
101
|
+
}[];
|
102
|
+
};
|
103
|
+
};
|
104
|
+
services: {
|
105
|
+
configureIndexing: ({ strapi }: {
|
106
|
+
strapi: any;
|
107
|
+
}) => {
|
108
|
+
initializeStrapiElasticsearch(): Promise<void>;
|
109
|
+
markInitialized(): Promise<void>;
|
110
|
+
isInitialized(): any;
|
111
|
+
cacheConfig(): Promise<void>;
|
112
|
+
getCollectionConfig({ collectionName }: {
|
113
|
+
collectionName: any;
|
114
|
+
}): Promise<{} | null>;
|
115
|
+
getCollectionsConfiguredForIndexing(): Promise<string[]>;
|
116
|
+
isCollectionConfiguredToBeIndexed({ collectionName }: {
|
117
|
+
collectionName: any;
|
118
|
+
}): Promise<boolean>;
|
119
|
+
getContentConfig(): Promise<any>;
|
120
|
+
importContentConfig({ config }: {
|
121
|
+
config: any;
|
122
|
+
}): Promise<any>;
|
123
|
+
setContentConfig({ collection, config }: {
|
124
|
+
collection: any;
|
125
|
+
config: any;
|
126
|
+
}): Promise<any>;
|
127
|
+
};
|
128
|
+
scheduleIndexing: ({ strapi }: {
|
129
|
+
strapi: any;
|
130
|
+
}) => {
|
131
|
+
addFullSiteIndexingTask(): Promise<any>;
|
132
|
+
addCollectionToIndex({ collectionUid }: {
|
133
|
+
collectionUid: any;
|
134
|
+
}): Promise<any>;
|
135
|
+
addItemToIndex({ collectionUid, recordId }: {
|
136
|
+
collectionUid: any;
|
137
|
+
recordId: any;
|
138
|
+
}): Promise<any>;
|
139
|
+
removeItemFromIndex({ collectionUid, recordId }: {
|
140
|
+
collectionUid: any;
|
141
|
+
recordId: any;
|
142
|
+
}): Promise<void>;
|
143
|
+
getItemsPendingToBeIndexed(): Promise<any>;
|
144
|
+
markIndexingTaskComplete(recId: any): Promise<void>;
|
145
|
+
};
|
146
|
+
esInterface: ({ strapi }: {
|
147
|
+
strapi: any;
|
148
|
+
}) => {
|
149
|
+
initializeSearchEngine({ host, uname, password, cert }: {
|
150
|
+
host: any;
|
151
|
+
uname: any;
|
152
|
+
password: any;
|
153
|
+
cert: any;
|
154
|
+
}): Promise<void>;
|
155
|
+
createIndex(indexName: any): Promise<void>;
|
156
|
+
deleteIndex(indexName: any): Promise<void>;
|
157
|
+
attachAliasToIndex(indexName: any): Promise<void>;
|
158
|
+
checkESConnection(): Promise<boolean>;
|
159
|
+
indexDataToSpecificIndex({ itemId, itemData }: {
|
160
|
+
itemId: any;
|
161
|
+
itemData: any;
|
162
|
+
}, iName: any): Promise<void>;
|
163
|
+
indexData({ itemId, itemData }: {
|
164
|
+
itemId: any;
|
165
|
+
itemData: any;
|
166
|
+
}): Promise<void>;
|
167
|
+
removeItemFromIndex({ itemId }: {
|
168
|
+
itemId: any;
|
169
|
+
}): Promise<void>;
|
170
|
+
searchData(searchQuery: any): Promise<any>;
|
171
|
+
};
|
172
|
+
indexer: ({ strapi }: {
|
173
|
+
strapi: any;
|
174
|
+
}) => {
|
175
|
+
rebuildIndex(): Promise<boolean | undefined>;
|
176
|
+
indexCollection(collectionName: any, indexName?: null): Promise<boolean>;
|
177
|
+
indexPendingData(): Promise<boolean>;
|
178
|
+
};
|
179
|
+
logIndexing: ({ strapi }: {
|
180
|
+
strapi: any;
|
181
|
+
}) => {
|
182
|
+
recordIndexingPass(message: any): Promise<void>;
|
183
|
+
recordIndexingFail(message: any): Promise<void>;
|
184
|
+
fetchIndexingLogs(count?: number): Promise<any>;
|
185
|
+
};
|
186
|
+
helper: ({ strapi }: {
|
187
|
+
strapi: any;
|
188
|
+
}) => {
|
189
|
+
getElasticsearchInfo(): Promise<{
|
190
|
+
indexingCronSchedule: any;
|
191
|
+
elasticHost: any;
|
192
|
+
elasticUserName: any;
|
193
|
+
elasticCertificate: any;
|
194
|
+
elasticIndexAlias: any;
|
195
|
+
connected: any;
|
196
|
+
initialized: any;
|
197
|
+
}>;
|
198
|
+
isCollectionDraftPublish({ collectionName }: {
|
199
|
+
collectionName: any;
|
200
|
+
}): boolean;
|
201
|
+
getPopulateAttribute({ collectionName }: {
|
202
|
+
collectionName: any;
|
203
|
+
}): true | {
|
204
|
+
populate: never;
|
205
|
+
} | undefined;
|
206
|
+
getIndexItemId({ collectionName, itemId }: {
|
207
|
+
collectionName: any;
|
208
|
+
itemId: any;
|
209
|
+
}): string;
|
210
|
+
getCurrentIndexName(): Promise<string>;
|
211
|
+
getIncrementedIndexName(): Promise<string>;
|
212
|
+
storeCurrentIndexName(indexName: any): Promise<void>;
|
213
|
+
modifySubfieldsConfigForExtractor(collectionConfig: any): any;
|
214
|
+
extractDataToIndex({ collectionName, data, collectionConfig }: {
|
215
|
+
collectionName: any;
|
216
|
+
data: any;
|
217
|
+
collectionConfig: any;
|
218
|
+
}): {};
|
219
|
+
};
|
220
|
+
transformContent: {
|
221
|
+
transform({ content, from }: {
|
222
|
+
content: any;
|
223
|
+
from: any;
|
224
|
+
}): any;
|
225
|
+
};
|
226
|
+
};
|
227
|
+
contentTypes: {
|
228
|
+
task: {
|
229
|
+
schema: {
|
230
|
+
kind: string;
|
231
|
+
collectionName: string;
|
232
|
+
info: {
|
233
|
+
singularName: string;
|
234
|
+
pluralName: string;
|
235
|
+
displayName: string;
|
236
|
+
description: string;
|
237
|
+
};
|
238
|
+
options: {
|
239
|
+
draftAndPublish: boolean;
|
240
|
+
};
|
241
|
+
pluginOptions: {
|
242
|
+
'content-manager': {
|
243
|
+
visible: boolean;
|
244
|
+
};
|
245
|
+
'content-type-builder': {
|
246
|
+
visible: boolean;
|
247
|
+
};
|
248
|
+
};
|
249
|
+
attributes: {
|
250
|
+
collection_name: {
|
251
|
+
type: string;
|
252
|
+
required: boolean;
|
253
|
+
};
|
254
|
+
item_id: {
|
255
|
+
type: string;
|
256
|
+
};
|
257
|
+
indexing_status: {
|
258
|
+
type: string;
|
259
|
+
enum: string[];
|
260
|
+
required: boolean;
|
261
|
+
default: string;
|
262
|
+
};
|
263
|
+
full_site_indexing: {
|
264
|
+
type: string;
|
265
|
+
};
|
266
|
+
indexing_type: {
|
267
|
+
type: string;
|
268
|
+
enum: string[];
|
269
|
+
default: string;
|
270
|
+
required: boolean;
|
271
|
+
};
|
272
|
+
};
|
273
|
+
};
|
274
|
+
};
|
275
|
+
'indexing-log': {
|
276
|
+
schema: {
|
277
|
+
kind: string;
|
278
|
+
collectionName: string;
|
279
|
+
info: {
|
280
|
+
singularName: string;
|
281
|
+
pluralName: string;
|
282
|
+
displayName: string;
|
283
|
+
description: string;
|
284
|
+
};
|
285
|
+
options: {
|
286
|
+
draftAndPublish: boolean;
|
287
|
+
};
|
288
|
+
pluginOptions: {
|
289
|
+
'content-manager': {
|
290
|
+
visible: boolean;
|
291
|
+
};
|
292
|
+
'content-type-builder': {
|
293
|
+
visible: boolean;
|
294
|
+
};
|
295
|
+
};
|
296
|
+
attributes: {
|
297
|
+
status: {
|
298
|
+
type: string;
|
299
|
+
enum: string[];
|
300
|
+
required: boolean;
|
301
|
+
};
|
302
|
+
details: {
|
303
|
+
type: string;
|
304
|
+
};
|
305
|
+
};
|
306
|
+
};
|
307
|
+
};
|
308
|
+
};
|
309
|
+
policies: {};
|
310
|
+
middlewares: {};
|
311
|
+
};
|
312
|
+
export default _default;
|
package/dist/server/index.js
CHANGED
@@ -1,23 +1,27 @@
|
|
1
1
|
'use strict';
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
const
|
7
|
-
const
|
8
|
-
const
|
9
|
-
const
|
10
|
-
const
|
11
|
-
const
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
const register_1 = __importDefault(require("./register"));
|
7
|
+
const bootstrap_1 = __importDefault(require("./bootstrap"));
|
8
|
+
const destroy_1 = __importDefault(require("./destroy"));
|
9
|
+
const config_1 = __importDefault(require("./config"));
|
10
|
+
const content_types_1 = __importDefault(require("./content-types"));
|
11
|
+
const controllers_1 = __importDefault(require("./controllers"));
|
12
|
+
const routes_1 = __importDefault(require("./routes"));
|
13
|
+
const middlewares_1 = __importDefault(require("./middlewares"));
|
14
|
+
const policies_1 = __importDefault(require("./policies"));
|
15
|
+
const services_1 = __importDefault(require("./services"));
|
16
|
+
exports.default = {
|
17
|
+
register: register_1.default,
|
18
|
+
bootstrap: bootstrap_1.default,
|
19
|
+
destroy: destroy_1.default,
|
20
|
+
config: config_1.default,
|
21
|
+
controllers: controllers_1.default,
|
22
|
+
routes: routes_1.default,
|
23
|
+
services: services_1.default,
|
24
|
+
contentTypes: content_types_1.default,
|
25
|
+
policies: policies_1.default,
|
26
|
+
middlewares: middlewares_1.default,
|
23
27
|
};
|
package/dist/server/register.js
CHANGED
@@ -1,5 +1,58 @@
|
|
1
|
-
declare const
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
declare const _default: {
|
2
|
+
config: {
|
3
|
+
type: string;
|
4
|
+
routes: {
|
5
|
+
method: string;
|
6
|
+
path: string;
|
7
|
+
handler: string;
|
8
|
+
config: {
|
9
|
+
policies: never[];
|
10
|
+
};
|
11
|
+
}[];
|
12
|
+
};
|
13
|
+
search: {
|
14
|
+
type: string;
|
15
|
+
routes: {
|
16
|
+
method: string;
|
17
|
+
path: string;
|
18
|
+
handler: string;
|
19
|
+
config: {
|
20
|
+
policies: never[];
|
21
|
+
};
|
22
|
+
}[];
|
23
|
+
};
|
24
|
+
runLog: {
|
25
|
+
type: string;
|
26
|
+
routes: {
|
27
|
+
method: string;
|
28
|
+
path: string;
|
29
|
+
handler: string;
|
30
|
+
config: {
|
31
|
+
policies: never[];
|
32
|
+
};
|
33
|
+
}[];
|
34
|
+
};
|
35
|
+
setupInfo: {
|
36
|
+
type: string;
|
37
|
+
routes: {
|
38
|
+
method: string;
|
39
|
+
path: string;
|
40
|
+
handler: string;
|
41
|
+
config: {
|
42
|
+
policies: never[];
|
43
|
+
};
|
44
|
+
}[];
|
45
|
+
};
|
46
|
+
performIndexing: {
|
47
|
+
type: string;
|
48
|
+
routes: {
|
49
|
+
method: string;
|
50
|
+
path: string;
|
51
|
+
handler: string;
|
52
|
+
config: {
|
53
|
+
policies: never[];
|
54
|
+
};
|
55
|
+
}[];
|
56
|
+
};
|
57
|
+
};
|
58
|
+
export default _default;
|
@@ -1,13 +1,17 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
const
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
const configure_indexing_1 = __importDefault(require("./configure-indexing"));
|
7
|
+
const perform_search_1 = __importDefault(require("./perform-search"));
|
8
|
+
const run_log_1 = __importDefault(require("./run-log"));
|
9
|
+
const setup_info_1 = __importDefault(require("./setup-info"));
|
10
|
+
const perform_indexing_1 = __importDefault(require("./perform-indexing"));
|
11
|
+
exports.default = {
|
12
|
+
config: configure_indexing_1.default,
|
13
|
+
search: perform_search_1.default,
|
14
|
+
runLog: run_log_1.default,
|
15
|
+
setupInfo: setup_info_1.default,
|
16
|
+
performIndexing: perform_indexing_1.default,
|
13
17
|
};
|
@@ -1,5 +1,6 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
3
4
|
// accessible only from admin UI
|
4
5
|
type: 'content-api',
|
5
6
|
routes: [
|
@@ -8,8 +9,8 @@ module.exports = {
|
|
8
9
|
path: '/search',
|
9
10
|
handler: 'performSearch.search',
|
10
11
|
config: {
|
11
|
-
policies: []
|
12
|
+
policies: [],
|
12
13
|
},
|
13
|
-
}
|
14
|
+
},
|
14
15
|
],
|
15
16
|
};
|
@@ -1,5 +1,6 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
3
4
|
// accessible only from admin UI
|
4
5
|
type: 'admin',
|
5
6
|
routes: [
|
@@ -8,6 +9,6 @@ module.exports = {
|
|
8
9
|
path: '/indexing-run-log',
|
9
10
|
handler: 'logIndexing.fetchRecentRunsLog',
|
10
11
|
config: { policies: [] },
|
11
|
-
}
|
12
|
+
},
|
12
13
|
],
|
13
14
|
};
|
@@ -1,5 +1,6 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
3
4
|
// accessible only from admin UI
|
4
5
|
type: 'admin',
|
5
6
|
routes: [
|
@@ -8,6 +9,6 @@ module.exports = {
|
|
8
9
|
path: '/setup-info',
|
9
10
|
handler: 'setupInfo.getElasticsearchInfo',
|
10
11
|
config: { policies: [] },
|
11
|
-
}
|
12
|
+
},
|
12
13
|
],
|
13
14
|
};
|