Skip to content

Commit 5e2c1ef

Browse files
author
Prasanna Santhanam
committed
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 <tsp@apache.org> Reported-by: Prasanna Santhanam <tsp@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 <tsp@apache.org> 1351405027 +0530
1 parent 5b43d24 commit 5e2c1ef

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

developer/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,10 @@
325325
(category, instance, component, name, value) VALUES
326326
('Hidden', 'DEFAULT', 'management-server', 'init',
327327
'false')</sqlCommand>
328+
<sqlCommand>INSERT INTO `cloud`.`configuration`
329+
(category, instance, component, name, value) VALUES
330+
('Advanced', 'DEFAULT', 'management-server', 'integration.api.port',
331+
'8096')</sqlCommand>
328332
</configuration>
329333
</execution>
330334
</executions>

0 commit comments

Comments
 (0)