Navigation Menu

Skip to content

Commit

Permalink
Fix mbean name used to create fabric, tweak overview box sizes a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
gashcrumb committed Aug 28, 2013
1 parent 014514d commit 419b51a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/fabric/js/createFabric.ts
Expand Up @@ -25,7 +25,7 @@ module Fabric {

$scope.onSubmit = (json, form) => {

jolokia.execute(Fabric.clusterManagerMBean, 'createCluster(java.util.List, java.util.Map)', null, angular.toJson(json), {
jolokia.execute(Fabric.clusterBootstrapManagerMBean, 'createCluster(java.util.Map)', angular.toJson(json), {
method: 'post',
success: (response) => {
notification('success', "Created fabric!");
Expand Down
1 change: 1 addition & 0 deletions hawtio-web/src/main/webapp/app/fabric/js/helpers.ts
Expand Up @@ -2,6 +2,7 @@ module Fabric {

export var managerMBean = "org.fusesource.fabric:type=Fabric";
export var clusterManagerMBean = "org.fusesource.fabric:type=ClusterServiceManager";
export var clusterBootstrapManagerMBean = "org.fusesource.fabric:type=ClusterBootstrapManager";

export function hasFabric(workspace) {
return workspace.treeContainsDomainAndProperties(Fabric.jmxDomain, {type: "Fabric"});
Expand Down
10 changes: 2 additions & 8 deletions hawtio-web/src/main/webapp/css/site-base.less
Expand Up @@ -1366,15 +1366,9 @@ li.stacktrace {

.column {
float: left;
//display: inline-block;
position: relative;
margin-top: 0px;
//width: 32%;
//border: 1px solid @control-border;
//border-radius: 4px;
height: 98%;
//margin: .2em;
//padding: .2em;
overflow-x: hidden;
overflow-y: auto;
}
Expand Down Expand Up @@ -1430,7 +1424,7 @@ li.stacktrace {
}

.profile-section {
height: 60%;
height: 55%;
overflow-x: hidden;
overflow-y: auto;
}
Expand Down Expand Up @@ -1561,7 +1555,7 @@ li.stacktrace {
}

#right .canvas {
height: 89%;
height: 80%;
}

.section-filter .icon-remove {
Expand Down

0 comments on commit 419b51a

Please sign in to comment.