Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Frost2012-10-01 09:59:55 -0400
committerChristopher Frost2012-10-01 09:59:55 -0400
commit987b5174896277d77fcff45d5191289380004a26 (patch)
tree814ae851a37a04cf45f64a40e26c8a24cabdd962
parentf4a469ab2847a52c3bef91f3eeb37b971540bba4 (diff)
downloadorg.eclipse.virgo.kernel-987b5174896277d77fcff45d5191289380004a26.tar.gz
org.eclipse.virgo.kernel-987b5174896277d77fcff45d5191289380004a26.tar.xz
org.eclipse.virgo.kernel-987b5174896277d77fcff45d5191289380004a26.zip
390554 The Wirings tab will now show a bundle based on the location portion of the URL
-rw-r--r--org.eclipse.virgo.management.console/src/main/webapp/js/dumps.js2
-rw-r--r--org.eclipse.virgo.management.console/src/main/webapp/js/wirings.js5
2 files changed, 3 insertions, 4 deletions
diff --git a/org.eclipse.virgo.management.console/src/main/webapp/js/dumps.js b/org.eclipse.virgo.management.console/src/main/webapp/js/dumps.js
index 256b12f9..6234258b 100644
--- a/org.eclipse.virgo.management.console/src/main/webapp/js/dumps.js
+++ b/org.eclipse.virgo.management.console/src/main/webapp/js/dumps.js
@@ -258,8 +258,6 @@ var QuasiDataSource = function(dumpFolder){
console.log(response.value);
self.bundles[bundleId].ProvidedWires = response.value.providedWires;
self.bundles[bundleId].RequiredWires = response.value.requiredWires;
- //self.bundles[bundleId].Capabilities = response.value.capabilities;
- //self.bundles[bundleId].Requirements = response.value.requirements;
callback();
});
};
diff --git a/org.eclipse.virgo.management.console/src/main/webapp/js/wirings.js b/org.eclipse.virgo.management.console/src/main/webapp/js/wirings.js
index 85cb5e05..cceafefe 100644
--- a/org.eclipse.virgo.management.console/src/main/webapp/js/wirings.js
+++ b/org.eclipse.virgo.management.console/src/main/webapp/js/wirings.js
@@ -24,6 +24,9 @@ function pageinit() {
dataSource.updateData(function(){
layoutManager = new LayoutManager(bundleCanvas, Raphael('bundle-canvas', width, height), dataSource);
new SideBar(layoutManager, dataSource).init();
+ if(util.pageLocation){
+ layoutManager.displayBundle(util.pageLocation);
+ }
util.pageReady();
});
});
@@ -151,8 +154,6 @@ var GeminiDataSource = function(){
util.doBulkQuery(bundleQuery, function(response){
self.bundles[bundleId].ProvidedWires = response[0].value.ProvidedWires;
self.bundles[bundleId].RequiredWires = response[0].value.RequiredWires;
-// self.bundles[bundleId].Capabilities = response[0].value.Capabilities;
-// self.bundles[bundleId].Requirements = response[0].value.Requirements;
self.bundles[bundleId].RegisteredServices = response[1].value;
self.bundles[bundleId].ServicesInUse = response[2].value;

Back to the top