diff --git a/src/fireedge/src/server/utils/constants/commands/acl.js b/src/fireedge/src/server/utils/constants/commands/acl.js index e0c8f97f59..d822be3e72 100644 --- a/src/fireedge/src/server/utils/constants/commands/acl.js +++ b/src/fireedge/src/server/utils/constants/commands/acl.js @@ -59,7 +59,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, diff --git a/src/fireedge/src/server/utils/constants/commands/backupjobs.js b/src/fireedge/src/server/utils/constants/commands/backupjobs.js index d6e119524d..dccadefc20 100644 --- a/src/fireedge/src/server/utils/constants/commands/backupjobs.js +++ b/src/fireedge/src/server/utils/constants/commands/backupjobs.js @@ -79,7 +79,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -103,7 +103,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -121,7 +121,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -135,7 +135,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, user: { from: postBody, @@ -153,7 +153,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, ownerUse: { from: postBody, @@ -199,7 +199,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, level: { from: postBody, @@ -217,7 +217,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -227,7 +227,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -237,7 +237,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -247,7 +247,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -257,7 +257,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, priority: { from: postBody, @@ -271,7 +271,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -285,7 +285,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, schedId: { from: postBody, @@ -299,7 +299,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, schedId: { from: postBody, diff --git a/src/fireedge/src/server/utils/constants/commands/cluster.js b/src/fireedge/src/server/utils/constants/commands/cluster.js index 696e385931..a8ca61be6d 100644 --- a/src/fireedge/src/server/utils/constants/commands/cluster.js +++ b/src/fireedge/src/server/utils/constants/commands/cluster.js @@ -65,7 +65,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -75,7 +75,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -93,7 +93,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, host: { from: postBody, @@ -107,7 +107,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, host: { from: postBody, @@ -121,7 +121,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, datastore: { from: postBody, @@ -135,7 +135,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, datastore: { from: postBody, @@ -149,7 +149,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, vnet: { from: postBody, @@ -163,7 +163,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, vnet: { from: postBody, @@ -177,7 +177,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -191,7 +191,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, decrypt: { from: query, diff --git a/src/fireedge/src/server/utils/constants/commands/datastore.js b/src/fireedge/src/server/utils/constants/commands/datastore.js index 1846f5ed9a..5827453863 100644 --- a/src/fireedge/src/server/utils/constants/commands/datastore.js +++ b/src/fireedge/src/server/utils/constants/commands/datastore.js @@ -74,7 +74,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -92,7 +92,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, ownerUse: { from: postBody, @@ -138,7 +138,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, user: { from: postBody, @@ -156,7 +156,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -170,7 +170,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, enable: { from: postBody, @@ -184,7 +184,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, decrypt: { from: query, diff --git a/src/fireedge/src/server/utils/constants/commands/document.js b/src/fireedge/src/server/utils/constants/commands/document.js index 4e7009ab7f..8cf6c15c7b 100644 --- a/src/fireedge/src/server/utils/constants/commands/document.js +++ b/src/fireedge/src/server/utils/constants/commands/document.js @@ -68,7 +68,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -82,7 +82,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -92,7 +92,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -110,7 +110,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, ownerUse: { from: postBody, @@ -156,7 +156,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, user: { from: postBody, @@ -174,7 +174,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -188,7 +188,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, decrypt: { from: query, @@ -202,7 +202,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, lock: { from: postBody, @@ -216,7 +216,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, diff --git a/src/fireedge/src/server/utils/constants/commands/group.js b/src/fireedge/src/server/utils/constants/commands/group.js index 3f0f058582..f7b9608198 100644 --- a/src/fireedge/src/server/utils/constants/commands/group.js +++ b/src/fireedge/src/server/utils/constants/commands/group.js @@ -62,7 +62,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -86,7 +86,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -104,7 +104,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, user: { from: postBody, @@ -118,7 +118,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, user: { from: postBody, @@ -132,7 +132,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, diff --git a/src/fireedge/src/server/utils/constants/commands/hook.js b/src/fireedge/src/server/utils/constants/commands/hook.js index 6f48a7455d..be915f2cbf 100644 --- a/src/fireedge/src/server/utils/constants/commands/hook.js +++ b/src/fireedge/src/server/utils/constants/commands/hook.js @@ -60,7 +60,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -70,7 +70,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -88,7 +88,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -102,7 +102,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, decrypt: { from: query, @@ -116,7 +116,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, lock: { from: postBody, @@ -130,7 +130,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -140,7 +140,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, execution: { from: postBody, diff --git a/src/fireedge/src/server/utils/constants/commands/host.js b/src/fireedge/src/server/utils/constants/commands/host.js index 208db62375..2398af404e 100644 --- a/src/fireedge/src/server/utils/constants/commands/host.js +++ b/src/fireedge/src/server/utils/constants/commands/host.js @@ -72,7 +72,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -82,7 +82,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, status: { from: postBody, @@ -96,7 +96,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -114,7 +114,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -128,7 +128,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, decrypt: { from: query, @@ -142,7 +142,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, diff --git a/src/fireedge/src/server/utils/constants/commands/image.js b/src/fireedge/src/server/utils/constants/commands/image.js index 6d51c3b085..c3fe470368 100644 --- a/src/fireedge/src/server/utils/constants/commands/image.js +++ b/src/fireedge/src/server/utils/constants/commands/image.js @@ -86,7 +86,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -104,7 +104,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, force: { from: postBody, @@ -118,7 +118,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, enable: { from: postBody, @@ -132,7 +132,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, persistent: { from: postBody, @@ -146,7 +146,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, type: { from: postBody, @@ -160,7 +160,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -178,7 +178,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, ownerUse: { from: postBody, @@ -224,7 +224,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, user: { from: postBody, @@ -242,7 +242,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -256,7 +256,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, snapshot: { from: postBody, @@ -270,7 +270,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, snapshot: { from: postBody, @@ -284,7 +284,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, snapshot: { from: postBody, @@ -298,7 +298,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, decrypt: { from: query, @@ -312,7 +312,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, lock: { from: postBody, @@ -326,7 +326,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -336,7 +336,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, datastore: { from: postBody, diff --git a/src/fireedge/src/server/utils/constants/commands/market.js b/src/fireedge/src/server/utils/constants/commands/market.js index 43aed0611b..ad10b58080 100644 --- a/src/fireedge/src/server/utils/constants/commands/market.js +++ b/src/fireedge/src/server/utils/constants/commands/market.js @@ -60,7 +60,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -70,7 +70,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -88,7 +88,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, ownerUse: { from: postBody, @@ -134,7 +134,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, user: { from: postBody, @@ -152,7 +152,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, diff --git a/src/fireedge/src/server/utils/constants/commands/marketapp.js b/src/fireedge/src/server/utils/constants/commands/marketapp.js index 5b53e045a2..34a785316e 100644 --- a/src/fireedge/src/server/utils/constants/commands/marketapp.js +++ b/src/fireedge/src/server/utils/constants/commands/marketapp.js @@ -58,7 +58,7 @@ module.exports = { }, id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -68,7 +68,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -78,7 +78,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, enable: { from: postBody, @@ -92,7 +92,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -110,7 +110,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, ownerUse: { from: postBody, @@ -156,7 +156,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, user: { from: postBody, @@ -174,7 +174,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -198,7 +198,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, lock: { from: postBody, @@ -212,7 +212,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, diff --git a/src/fireedge/src/server/utils/constants/commands/secgroup.js b/src/fireedge/src/server/utils/constants/commands/secgroup.js index 22fb5669a7..28d348bd60 100644 --- a/src/fireedge/src/server/utils/constants/commands/secgroup.js +++ b/src/fireedge/src/server/utils/constants/commands/secgroup.js @@ -62,7 +62,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -76,7 +76,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -86,7 +86,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -104,7 +104,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, recover: { from: postBody, @@ -118,7 +118,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, ownerUse: { from: postBody, @@ -164,7 +164,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, user: { from: postBody, @@ -182,7 +182,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -196,7 +196,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, decrypt: { from: query, diff --git a/src/fireedge/src/server/utils/constants/commands/template.js b/src/fireedge/src/server/utils/constants/commands/template.js index f6a9fca817..b729fb7743 100644 --- a/src/fireedge/src/server/utils/constants/commands/template.js +++ b/src/fireedge/src/server/utils/constants/commands/template.js @@ -66,7 +66,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -84,7 +84,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, image: { from: query, @@ -98,7 +98,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -124,7 +124,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -142,7 +142,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, ownerUse: { from: postBody, @@ -192,7 +192,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, user: { from: postBody, @@ -210,7 +210,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -224,7 +224,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, level: { from: postBody, @@ -242,7 +242,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -252,7 +252,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, extended: { from: query, diff --git a/src/fireedge/src/server/utils/constants/commands/user.js b/src/fireedge/src/server/utils/constants/commands/user.js index 8d5fc1974a..62a18fb3ba 100644 --- a/src/fireedge/src/server/utils/constants/commands/user.js +++ b/src/fireedge/src/server/utils/constants/commands/user.js @@ -85,7 +85,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -95,7 +95,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, password: { from: postBody, @@ -131,7 +131,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -149,7 +149,7 @@ module.exports = { params: { id: { from: postBody, - default: 0, + default: -1, }, driver: { from: postBody, @@ -167,7 +167,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -181,7 +181,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, group: { from: postBody, @@ -195,7 +195,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, group: { from: postBody, @@ -209,7 +209,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, group: { from: query, @@ -223,7 +223,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, enable: { from: postBody, diff --git a/src/fireedge/src/server/utils/constants/commands/vdc.js b/src/fireedge/src/server/utils/constants/commands/vdc.js index 1da79d63e0..dcb191cbc8 100644 --- a/src/fireedge/src/server/utils/constants/commands/vdc.js +++ b/src/fireedge/src/server/utils/constants/commands/vdc.js @@ -74,7 +74,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -84,7 +84,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -102,7 +102,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -135,7 +135,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, group: { from: postBody, @@ -149,7 +149,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, group: { from: query, @@ -163,7 +163,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, zone: { from: postBody, @@ -181,7 +181,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, zone: { from: query, @@ -199,7 +199,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, zone: { from: postBody, @@ -217,7 +217,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, zone: { from: postBody, @@ -235,7 +235,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, zone: { from: postBody, @@ -253,7 +253,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, zone: { from: postBody, @@ -271,7 +271,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, zone: { from: postBody, @@ -289,7 +289,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, zone: { from: query, diff --git a/src/fireedge/src/server/utils/constants/commands/vm.js b/src/fireedge/src/server/utils/constants/commands/vm.js index 0a3e6de006..0919fbd2ce 100644 --- a/src/fireedge/src/server/utils/constants/commands/vm.js +++ b/src/fireedge/src/server/utils/constants/commands/vm.js @@ -150,7 +150,7 @@ module.exports = { }, id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -190,7 +190,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, disk: { from: postBody, @@ -216,7 +216,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, disk: { from: postBody, @@ -234,7 +234,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, disk: { from: query, @@ -252,7 +252,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, disk: { from: postBody, @@ -270,7 +270,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, disk: { from: postBody, @@ -292,7 +292,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -306,7 +306,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, disk: { from: postBody, @@ -320,7 +320,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, disk: { from: postBody, @@ -338,7 +338,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -352,7 +352,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, nic: { from: postBody, @@ -366,7 +366,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, nic: { from: postBody, @@ -388,7 +388,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, nic: { from: postBody, @@ -406,7 +406,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, nic: { from: postBody, @@ -424,7 +424,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, ownerUse: { from: postBody, @@ -470,7 +470,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, user: { from: postBody, @@ -488,7 +488,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -502,7 +502,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -516,7 +516,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, snapshot: { from: postBody, @@ -530,7 +530,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, snapshot: { from: postBody, @@ -544,7 +544,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -562,7 +562,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -580,7 +580,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -594,7 +594,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, operation: { from: postBody, @@ -608,7 +608,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, decrypt: { from: query, @@ -622,7 +622,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -632,7 +632,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, level: { from: postBody, @@ -650,7 +650,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -659,7 +659,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -672,7 +672,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, schedId: { from: postBody, @@ -689,7 +689,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, schedId: { from: postBody, @@ -702,7 +702,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, dsId: { from: postBody, diff --git a/src/fireedge/src/server/utils/constants/commands/vmgroup.js b/src/fireedge/src/server/utils/constants/commands/vmgroup.js index fb9e8342d7..626514910f 100644 --- a/src/fireedge/src/server/utils/constants/commands/vmgroup.js +++ b/src/fireedge/src/server/utils/constants/commands/vmgroup.js @@ -68,7 +68,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -82,7 +82,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, roleId: { from: postBody, @@ -95,7 +95,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, roleId: { from: postBody, @@ -113,7 +113,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -123,7 +123,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -141,7 +141,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, ownerUse: { from: postBody, @@ -187,7 +187,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, user: { from: postBody, @@ -205,7 +205,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: query, @@ -219,7 +219,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, decrypt: { from: query, @@ -233,7 +233,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, lock: { from: postBody, @@ -247,7 +247,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, diff --git a/src/fireedge/src/server/utils/constants/commands/vn.js b/src/fireedge/src/server/utils/constants/commands/vn.js index ce8817f84b..96b748e543 100644 --- a/src/fireedge/src/server/utils/constants/commands/vn.js +++ b/src/fireedge/src/server/utils/constants/commands/vn.js @@ -82,7 +82,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -92,7 +92,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -106,7 +106,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, address: { from: postBody, @@ -120,7 +120,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -134,7 +134,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -148,7 +148,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, range: { from: postBody, @@ -162,7 +162,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -176,7 +176,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -190,7 +190,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -208,7 +208,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, ownerUse: { from: postBody, @@ -254,7 +254,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, user: { from: postBody, @@ -272,7 +272,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -286,7 +286,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, decrypt: { from: query, @@ -300,7 +300,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, level: { from: postBody, @@ -314,7 +314,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -324,7 +324,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, operation: { from: postBody, diff --git a/src/fireedge/src/server/utils/constants/commands/vntemplate.js b/src/fireedge/src/server/utils/constants/commands/vntemplate.js index 0b5ba06226..d53668ba70 100644 --- a/src/fireedge/src/server/utils/constants/commands/vntemplate.js +++ b/src/fireedge/src/server/utils/constants/commands/vntemplate.js @@ -66,7 +66,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -80,7 +80,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -90,7 +90,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -108,7 +108,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -126,7 +126,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, ownerUse: { from: postBody, @@ -172,7 +172,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, user: { from: postBody, @@ -190,7 +190,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -204,7 +204,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, decrypt: { from: query, @@ -218,7 +218,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, level: { from: postBody, @@ -236,7 +236,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, diff --git a/src/fireedge/src/server/utils/constants/commands/vrouter.js b/src/fireedge/src/server/utils/constants/commands/vrouter.js index cc43c63234..ed4f68743d 100644 --- a/src/fireedge/src/server/utils/constants/commands/vrouter.js +++ b/src/fireedge/src/server/utils/constants/commands/vrouter.js @@ -68,7 +68,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, images: { from: query, @@ -82,7 +82,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, number: { from: postBody, @@ -112,7 +112,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -126,7 +126,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, nic: { from: postBody, @@ -140,7 +140,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -158,7 +158,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, ownerUse: { from: postBody, @@ -204,7 +204,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, userId: { from: postBody, @@ -222,7 +222,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -250,7 +250,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, lock: { from: postBody, @@ -264,7 +264,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, diff --git a/src/fireedge/src/server/utils/constants/commands/zone.js b/src/fireedge/src/server/utils/constants/commands/zone.js index 8f4d469649..1acd855982 100644 --- a/src/fireedge/src/server/utils/constants/commands/zone.js +++ b/src/fireedge/src/server/utils/constants/commands/zone.js @@ -56,7 +56,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -66,7 +66,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -84,7 +84,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -98,7 +98,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, decrypt: { from: query,