You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2015/04/14 13:18:01 UTC

[1/2] git commit: updated refs/heads/4.5 to 65a91c5

Repository: cloudstack
Updated Branches:
  refs/heads/4.5 cb43f2544 -> 65a91c5bf


server: ignore params signatureversion and expires when validating API args

Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d361bf68
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d361bf68
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d361bf68

Branch: refs/heads/4.5
Commit: d361bf684704719902419d372c6ce31d941abe9e
Parents: cb43f25
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Tue Apr 14 15:25:17 2015 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Tue Apr 14 15:32:16 2015 +0530

----------------------------------------------------------------------
 .../src/com/cloud/api/dispatch/ParamGenericValidationWorker.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d361bf68/server/src/com/cloud/api/dispatch/ParamGenericValidationWorker.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/dispatch/ParamGenericValidationWorker.java b/server/src/com/cloud/api/dispatch/ParamGenericValidationWorker.java
index 7aaafbb..6509d11 100644
--- a/server/src/com/cloud/api/dispatch/ParamGenericValidationWorker.java
+++ b/server/src/com/cloud/api/dispatch/ParamGenericValidationWorker.java
@@ -90,7 +90,7 @@ public class ParamGenericValidationWorker implements DispatchWorker {
                     break;
                 }
             }
-            if (!matchedCurrentParam) {
+            if (!matchedCurrentParam && !((String)actualParamName).equalsIgnoreCase("expires") && !((String)actualParamName).equalsIgnoreCase("signatureversion")) {
                 errorMsg.append(" ").append(actualParamName);
                 foundUnknownParam= true;
             }


[2/2] git commit: updated refs/heads/4.5 to 65a91c5

Posted by bh...@apache.org.
packaging: add net-tools dependency on kvm agent

net-tools packages installs ifconfig on centos systems that don't have it
like centos7.

Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/65a91c5b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/65a91c5b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/65a91c5b

Branch: refs/heads/4.5
Commit: 65a91c5bffdccd745a6fbb35d835d787dc0df7ee
Parents: d361bf6
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Tue Apr 14 16:45:38 2015 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Tue Apr 14 16:46:22 2015 +0530

----------------------------------------------------------------------
 packaging/centos63/cloud.spec | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65a91c5b/packaging/centos63/cloud.spec
----------------------------------------------------------------------
diff --git a/packaging/centos63/cloud.spec b/packaging/centos63/cloud.spec
index fb6db9b..e1a2903 100644
--- a/packaging/centos63/cloud.spec
+++ b/packaging/centos63/cloud.spec
@@ -128,6 +128,7 @@ Requires: ipset
 Requires: jsvc
 Requires: jakarta-commons-daemon
 Requires: jakarta-commons-daemon-jsvc
+Requires: net-tools
 Requires: perl
 Requires: libvirt-python
 Requires: qemu-img