[ 
https://issues.apache.org/jira/browse/QPID-5635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13942914#comment-13942914
 ] 

ASF subversion and git services commented on QPID-5635:
-------------------------------------------------------

Commit 1579904 from [email protected] in branch 'qpid/trunk'
[ https://svn.apache.org/r1579904 ]

QPID-5635: Fix 'partitionCount' attribute setting for BoneCP connection pool UI 
in Web Management console UI

> [Java Broker] Virtualhost host attribute "minConnectionsPerPartition" for 
> BoneCP connection tool is incorrectly set into array value on creation with 
> Web Management console
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-5635
>                 URL: https://issues.apache.org/jira/browse/QPID-5635
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.28
>            Reporter: Alex Rudyy
>
> Virtualhost host attribute "minConnectionsPerPartition" for BoneCP connection 
> tool is incorrectly set into array value on creation with Web Management 
> console
> The attribute  "minConnectionsPerPartition" value is initialized with an 
> array of  length 2, where the first item is set to partitionNumber value and 
> the second item is set to minConnectionsPerPartition value as specified on 
> the UI form.
> Here is the REST request to create the virtual host
> {code:javascript}
> {
> "name":"jdbc",
> "type":"STANDARD",
> "storeType":"jdbc",
> "connectionURL":"jdbc:derby:MyDbTest;create=true",
> "connectionPool":"BONECP",
> "minConnectionsPerPartition":[6,2],
> "maxConnectionsPerPartition":8
> }
> {code}
> An extract from broker configuration store
> {code:javascript}
> "virtualhosts" : [ {
>   "connectionPool" : "BONECP",
>   "connectionURL" : "jdbc:derby:MyDbTest;create=true",
>   "createdBy" : {
>     "name" : "webadmin"
>   },
>   "createdTime" : 1395235140361,
>   "id" : "a6dc504a-7848-4ee2-a592-8e98b5b3abf2",
>   "maxConnectionsPerPartition" : 8,
>   "minConnectionsPerPartition" : [ 6, 2 ],
>   "name" : "jdbc",
>   "storeType" : "jdbc",
>   "type" : "STANDARD"
> }, 
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to