diff --git a/.node-red-data/settings.js b/.node-red-data/settings.js index 0b84fe3..42328c8 100644 --- a/.node-red-data/settings.js +++ b/.node-red-data/settings.js @@ -143,7 +143,7 @@ module.exports = { ******************************************************************************/ /** the tcp port that the Node-RED web server is listening on */ - uiPort: 5051, + uiPort: 5052, /** By default, the Node-RED UI accepts connections on all IPv4 interfaces. * To listen on all IPv6 addresses, set uiHost to "::", diff --git a/compiliance-js/dms2oas.js b/compiliance-js/dms2oas.js index 312b581..386af0e 100644 --- a/compiliance-js/dms2oas.js +++ b/compiliance-js/dms2oas.js @@ -143,7 +143,7 @@ crudConfig.delete = crudConfig.delete || {}; if (!crudConfig.delete.path) { crudConfig.delete.path = singlePath; } -crudConfig.delete.method = crudConfig.delete.method || 'DELETE'; +crudConfig.delete.method = crudConfig.delete.method || 'POST'; crudConfig.detailPath = crudConfig.detailPath || detailPath; crudConfig.version = crudConfig.version || versionSegment; @@ -183,8 +183,8 @@ function extractDataRegion(dmsSchema, fallback) { function extractSchemaInput(message) { if (message && message.req && message.req.body && typeof message.req.body === 'object') { - if (message.req.body.schema !== undefined) { - return message.req.body.schema; + if (message.req.body.dms_schema !== undefined) { + return message.req.body.dms_schema; } if (looksLikeDmsSchema(message.req.body)) { return message.req.body; @@ -193,8 +193,8 @@ function extractSchemaInput(message) { if (message && message.payload !== undefined) { if (message.payload && typeof message.payload === 'object') { - if (message.payload.schema !== undefined) { - return message.payload.schema; + if (message.payload.dms_schema !== undefined) { + return message.payload.dms_schema; } if (looksLikeDmsSchema(message.payload)) { return message.payload; diff --git a/packages/node_modules/node-red/settings.js b/packages/node_modules/node-red/settings.js index 6a0d355..84696b9 100644 --- a/packages/node_modules/node-red/settings.js +++ b/packages/node_modules/node-red/settings.js @@ -442,7 +442,7 @@ module.exports = { projects: { /** To enable the Projects feature, set this value to true */ - enabled: false, + enabled: true, workflow: { /** Set the default projects workflow mode. * - manual - you must manually commit changes