diff --git a/src/fireedge/src/server/utils/constants/commands/acl.js b/src/fireedge/src/server/utils/constants/commands/acl.js index e3720c66fc..9cec58346d 100644 --- a/src/fireedge/src/server/utils/constants/commands/acl.js +++ b/src/fireedge/src/server/utils/constants/commands/acl.js @@ -55,7 +55,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, diff --git a/src/fireedge/src/server/utils/constants/commands/cluster.js b/src/fireedge/src/server/utils/constants/commands/cluster.js index 9d3c77ef5e..d6ac91ab3f 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: query, @@ -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 f5945d639e..2944f5b83e 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 18e207dab1..8132591315 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: resource, 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 87a75083bb..282c5a0da9 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 55526bea59..fbc6570532 100644 --- a/src/fireedge/src/server/utils/constants/commands/image.js +++ b/src/fireedge/src/server/utils/constants/commands/image.js @@ -84,7 +84,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, }, }, }, @@ -112,7 +112,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, enable: { from: postBody, @@ -126,7 +126,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, persistent: { from: postBody, @@ -140,7 +140,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, type: { from: postBody, @@ -154,7 +154,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -172,7 +172,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, ownerUse: { from: postBody, @@ -218,7 +218,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, user: { from: postBody, @@ -236,7 +236,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, }, snapshot: { from: postBody, @@ -264,7 +264,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, snapshot: { from: postBody, @@ -278,7 +278,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, snapshot: { from: postBody, @@ -292,7 +292,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, decrypt: { from: query, @@ -306,7 +306,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, lock: { from: postBody, @@ -320,7 +320,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, diff --git a/src/fireedge/src/server/utils/constants/commands/market.js b/src/fireedge/src/server/utils/constants/commands/market.js index d3db4fbb6b..498e601f8a 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, }, userId: { from: postBody, @@ -152,7 +152,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -166,7 +166,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, enable: { 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 ae728b4661..5efb280cf9 100644 --- a/src/fireedge/src/server/utils/constants/commands/user.js +++ b/src/fireedge/src/server/utils/constants/commands/user.js @@ -84,7 +84,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -94,7 +94,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, password: { from: postBody, @@ -130,7 +130,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -148,7 +148,7 @@ module.exports = { params: { id: { from: postBody, - default: 0, + default: -1, }, driver: { from: postBody, @@ -166,7 +166,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -180,7 +180,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, group: { from: postBody, @@ -194,7 +194,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, group: { from: postBody, @@ -208,7 +208,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, group: { from: query, @@ -222,7 +222,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 ed68c8bee6..b8ff4279a1 100644 --- a/src/fireedge/src/server/utils/constants/commands/vdc.js +++ b/src/fireedge/src/server/utils/constants/commands/vdc.js @@ -78,7 +78,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -88,7 +88,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, }, name: { from: postBody, @@ -139,7 +139,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, group: { from: postBody, @@ -153,7 +153,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, group: { from: query, @@ -167,7 +167,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, zone: { from: postBody, @@ -185,7 +185,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, zone: { from: query, @@ -203,7 +203,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, zone: { from: postBody, @@ -221,7 +221,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, zone: { from: postBody, @@ -239,7 +239,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, zone: { from: postBody, @@ -257,7 +257,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, zone: { from: postBody, @@ -275,7 +275,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, zone: { from: postBody, @@ -293,7 +293,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 87eceda7bb..f2791d0208 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, @@ -384,7 +384,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, nic: { from: postBody, @@ -402,7 +402,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, ownerUse: { from: postBody, @@ -448,7 +448,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, user: { from: postBody, @@ -466,7 +466,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -480,7 +480,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -494,7 +494,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, snapshot: { from: postBody, @@ -508,7 +508,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, snapshot: { from: postBody, @@ -522,7 +522,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -540,7 +540,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -558,7 +558,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -572,7 +572,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, operation: { from: postBody, @@ -586,7 +586,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, decrypt: { from: query, @@ -600,7 +600,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -610,7 +610,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, level: { from: postBody, @@ -628,7 +628,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -637,7 +637,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -650,7 +650,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, schedId: { from: postBody, @@ -667,7 +667,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, schedId: { 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 9af5397afa..5cff9a045d 100644 --- a/src/fireedge/src/server/utils/constants/commands/vmgroup.js +++ b/src/fireedge/src/server/utils/constants/commands/vmgroup.js @@ -62,7 +62,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, }, }, @@ -72,7 +72,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, template: { from: postBody, @@ -90,7 +90,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, ownerUse: { from: postBody, @@ -136,7 +136,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, user: { from: postBody, @@ -154,7 +154,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, name: { from: postBody, @@ -168,7 +168,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, decrypt: { from: query, @@ -182,7 +182,7 @@ module.exports = { params: { id: { from: resource, - default: 0, + default: -1, }, lock: { from: postBody, @@ -196,7 +196,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 d262347bea..7fd51ee1d9 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 3358de0942..b7669f2069 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, }, userId: { 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, }, lock: { from: postBody, @@ -232,7 +232,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,