fix CS-15814 Description of global configuration 'encode.api.response' is 
incorrect


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

Branch: refs/heads/vpc
Commit: a74c6e310488143ac7633040b59a16269c5fb7c0
Parents: 8d75c8f
Author: Mice Xia <[email protected]>
Authored: Wed Aug 8 16:29:53 2012 +0800
Committer: Mice Xia <[email protected]>
Committed: Wed Aug 8 16:29:53 2012 +0800

----------------------------------------------------------------------
 server/src/com/cloud/configuration/Config.java |    2 +-
 setup/db/db/schema-303to40.sql                 |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/a74c6e31/server/src/com/cloud/configuration/Config.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/configuration/Config.java 
b/server/src/com/cloud/configuration/Config.java
index 534f022..481e5ab 100755
--- a/server/src/com/cloud/configuration/Config.java
+++ b/server/src/com/cloud/configuration/Config.java
@@ -308,7 +308,7 @@ public enum Config {
        AgentLbEnable("Advanced", ManagementServer.class, Boolean.class, 
"agent.lb.enabled", "false", "If agent load balancing enabled in cluster 
setup", null),
        SubDomainNetworkAccess("Advanced", NetworkManager.class, Boolean.class, 
"allow.subdomain.network.access", "true", "Allow subdomains to use networks 
dedicated to their parent domain(s)", null),
        UseExternalDnsServers("Advanced", NetworkManager.class, Boolean.class, 
"use.external.dns", "false", "Bypass internal dns, use exetrnal dns1 and dns2", 
null),
-       EncodeApiResponse("Advanced", ManagementServer.class, Boolean.class, 
"encode.api.response", "false", "Do UTF-8 encoding for the api response, false 
by default", null),
+       EncodeApiResponse("Advanced", ManagementServer.class, Boolean.class, 
"encode.api.response", "false", "Do URL encoding for the api response, false by 
default", null),
        DnsBasicZoneUpdates("Advanced", NetworkManager.class, String.class, 
"network.dns.basiczone.updates", "all", "This parameter can take 2 values: all 
(default) and pod. It defines if DHCP/DNS requests have to be send to all dhcp 
servers in cloudstack, or only to the one in the same pod", "all,pod"),
 
        ClusterMessageTimeOutSeconds("Advanced", ManagementServer.class, 
Integer.class, "cluster.message.timeout.seconds", "300", "Time (in seconds) to 
wait before a inter-management server message post times out.", null),

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/a74c6e31/setup/db/db/schema-303to40.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-303to40.sql b/setup/db/db/schema-303to40.sql
index 39b5265..a44e64e 100644
--- a/setup/db/db/schema-303to40.sql
+++ b/setup/db/db/schema-303to40.sql
@@ -85,4 +85,4 @@ SET SQL_SAFE_UPDATES=0;
 UPDATE `cloud`.`hypervisor_capabilities` SET `max_data_volumes_limit`=13 WHERE 
`hypervisor_type`='XenServer' AND (`hypervisor_version`='6.0' OR 
`hypervisor_version`='6.0.2');
 SET SQL_SAFE_UPDATES=1;
 INSERT INTO `cloud`.`configuration` (`category`, `instance`, `component`, 
`name`, `value`, `description`) VALUES ('Advanced', 'DEFAULT', 
'management-server', 'event.purge.interval', '86400', 'The interval (in 
seconds) to wait before running the event purge thread');
-
+UPDATE `cloud`.`configuration` SET description='Do URL encoding for the api 
response, false by default' WHERE name='encode.api.response';

Reply via email to