You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ts...@apache.org on 2012/10/28 07:24:28 UTC
git commit: Summary: Open up the integration api port on the
developer profile
Updated Branches:
refs/heads/master 5b43d245a -> 5e2c1ef26
Summary: Open up the integration api port on the developer profile
Detail: Included the sqlCommand query to insert the
integration.api.port=8096 during managment server boot.
This will only affect developer runs where debugging is enabled.
BUG-ID : CLOUDSTACK-421
Reviewed-by: Prasanna Santhanam <ts...@apache.org>
Reported-by: Prasanna Santhanam <ts...@apache.org>
Testing:
$ mvn clean install
$ mvn -P developer -pl developer -Ddeploydb
$ mvn -pl :cloud-client-ui jetty:run
mysql> select * from configuration where name like 'integr%';
+----------+----------+-------------------+----------------------+-------+-------------+
| category | instance | component | name | value | description |
+----------+----------+-------------------+----------------------+-------+-------------+
| Advanced | DEFAULT | management-server | integration.api.port | 8096 | NULL |
+----------+----------+-------------------+----------------------+-------+-------------+
1 row in set (0.01 sec)
http://localhost:8096/client/api?command=listOsTypes&keyword=CentOS%205.5&response=json
Returns:
{
"listostypesresponse":{
"count":2,
"ostype":[
{
"id":"2474781c-52b6-42a1-aee4-b2ee159bbb41",
"oscategoryid":"2188dd50-5d27-4c41-8f90-97bbadfc2206",
"description":"CentOS 5.5 (32-bit)"
},
{
"id":"fd95b25a-a46c-439e-af5c-1d2f1c149edd",
"oscategoryid":"2188dd50-5d27-4c41-8f90-97bbadfc2206",
"description":"CentOS 5.5 (64-bit)"
}
]
}
}
Signed-off-by: Prasanna Santhanam <ts...@apache.org> 1351405027 +0530
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/5e2c1ef2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/5e2c1ef2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/5e2c1ef2
Branch: refs/heads/master
Commit: 5e2c1ef26e0462bb7b4d990af7ce4edbc97fa63e
Parents: 5b43d24
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Sun Oct 28 11:47:07 2012 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Sun Oct 28 11:47:07 2012 +0530
----------------------------------------------------------------------
developer/pom.xml | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/5e2c1ef2/developer/pom.xml
----------------------------------------------------------------------
diff --git a/developer/pom.xml b/developer/pom.xml
index d2352c2..bba914b 100644
--- a/developer/pom.xml
+++ b/developer/pom.xml
@@ -325,6 +325,10 @@
(category, instance, component, name, value) VALUES
('Hidden', 'DEFAULT', 'management-server', 'init',
'false')</sqlCommand>
+ <sqlCommand>INSERT INTO `cloud`.`configuration`
+ (category, instance, component, name, value) VALUES
+ ('Advanced', 'DEFAULT', 'management-server', 'integration.api.port',
+ '8096')</sqlCommand>
</configuration>
</execution>
</executions>