UNPKG

1.71 kBJavaScriptView Raw
1module.exports = {
2 url: 'https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/api_builder_deprecations.html#APIBuilderDeprecations-',
3 features: {
4 apiDocPrefix: {
5 id: 'D002',
6 message: 'admin.apiDocPrefix has been deprecated, use apidoc.prefix instead'
7 },
8 disableAPIDoc: {
9 id: 'D003',
10 message: 'admin.disableAPIDoc has been deprecated, use apidoc.disabled instead'
11 },
12 perURLAuthentication: {
13 id: 'D010',
14 message: 'Config settings related to authentication have been deprecated (APIKeyAuthType, and APIKeyAuthPlugin), use accessControl for API security instead'
15 },
16 matchURL: {
17 id: 'D010',
18 message: 'The configured authentication plugin is using using a deprecated method \'matchURL\' for applying security to paths and is potentially insecure'
19 },
20 apiBuilderWeb: {
21 id: 'D011',
22 message: 'API Builder Web feature (routes in web/routes folder) has been deprecated and rendering engines are not registered by default. Please use another custom approach for your web application needs'
23 },
24 codeblock: {
25 id: 'D028',
26 message: 'Codeblocks have been deprecated, use @axway/api-builder-plugin-fn-javascript flow-node or use the axway-flow-sdk to build a custom flow-node'
27 },
28 port: {
29 id: 'D038',
30 message: '\'port\' configuration setting has been deprecated, use \'http.port\' instead'
31 },
32 nodeSupport: {
33 id: 'D039',
34 message: `Using Node.js ${process.version} with API Builder has been deprecated since it is no longer supported or maintained. Use a more recent Node.js version instead`
35 },
36 node10: {
37 id: 'D040',
38 message: 'Using Node.js v10 with API Builder has been deprecated, use a more recent Node.js version instead'
39 }
40 }
41};