"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "moskito-webui/src/main/java/net/anotheria/moskito/webui/shared/action/BaseMoskitoUIAction.java" between
moskito-moskito-2.9.3.tar.gz and moskito-moskito-2.10.0.tar.gz

About: MoSKito (Monitoring System Kit) is a framework for java application monitoring. Sources.

BaseMoskitoUIAction.java  (moskito-moskito-2.9.3):BaseMoskitoUIAction.java  (moskito-moskito-2.10.0)
skipping to change at line 54 skipping to change at line 54
import net.anotheria.moskito.core.decorators.DecoratorRegistryFactory; import net.anotheria.moskito.core.decorators.DecoratorRegistryFactory;
import net.anotheria.moskito.core.decorators.IDecoratorRegistry; import net.anotheria.moskito.core.decorators.IDecoratorRegistry;
import net.anotheria.moskito.core.stats.TimeUnit; import net.anotheria.moskito.core.stats.TimeUnit;
import net.anotheria.moskito.core.threshold.ThresholdStatus; import net.anotheria.moskito.core.threshold.ThresholdStatus;
import net.anotheria.moskito.webui.Features; import net.anotheria.moskito.webui.Features;
import net.anotheria.moskito.webui.MoSKitoWebUIContext; import net.anotheria.moskito.webui.MoSKitoWebUIContext;
import net.anotheria.moskito.webui.accumulators.api.AccumulatorAPI; import net.anotheria.moskito.webui.accumulators.api.AccumulatorAPI;
import net.anotheria.moskito.webui.dashboards.api.DashboardAPI; import net.anotheria.moskito.webui.dashboards.api.DashboardAPI;
import net.anotheria.moskito.webui.gauges.api.GaugeAPI; import net.anotheria.moskito.webui.gauges.api.GaugeAPI;
import net.anotheria.moskito.webui.journey.api.JourneyAPI; import net.anotheria.moskito.webui.journey.api.JourneyAPI;
import net.anotheria.moskito.webui.loadfactors.api.LoadFactorsAPI;
import net.anotheria.moskito.webui.nowrunning.api.NowRunningAPI;
import net.anotheria.moskito.webui.producers.api.ProducerAPI; import net.anotheria.moskito.webui.producers.api.ProducerAPI;
import net.anotheria.moskito.webui.shared.annotations.BetaAction; import net.anotheria.moskito.webui.shared.annotations.BetaAction;
import net.anotheria.moskito.webui.shared.api.AdditionalFunctionalityAPI; import net.anotheria.moskito.webui.shared.api.AdditionalFunctionalityAPI;
import net.anotheria.moskito.webui.shared.api.SystemStatusAO; import net.anotheria.moskito.webui.shared.api.SystemStatusAO;
import net.anotheria.moskito.webui.shared.bean.AlertBean; import net.anotheria.moskito.webui.shared.bean.AlertBean;
import net.anotheria.moskito.webui.shared.bean.AlertType; import net.anotheria.moskito.webui.shared.bean.AlertType;
import net.anotheria.moskito.webui.shared.bean.LabelValueBean; import net.anotheria.moskito.webui.shared.bean.LabelValueBean;
import net.anotheria.moskito.webui.shared.bean.NaviItem; import net.anotheria.moskito.webui.shared.bean.NaviItem;
import net.anotheria.moskito.webui.shared.bean.UnitBean; import net.anotheria.moskito.webui.shared.bean.UnitBean;
import net.anotheria.moskito.webui.tags.api.TagAPI; import net.anotheria.moskito.webui.tags.api.TagAPI;
skipping to change at line 422 skipping to change at line 424
return; return;
String[] remoteHostAndPort; String[] remoteHostAndPort;
if( (remoteHostAndPort = connection.split(":")).length == 2 ){ if( (remoteHostAndPort = connection.split(":")).length == 2 ){
String remoteHost = remoteHostAndPort[0]; String remoteHost = remoteHostAndPort[0];
int remotePort; int remotePort;
try { try {
remotePort = Integer.valueOf(remoteHostAndPort[1] ); remotePort = Integer.parseInt(remoteHostAndPort[1 ]);
}catch (NumberFormatException e){ }catch (NumberFormatException e){
return; return;
} }
try { try {
if (!APILookupUtility.isLocal() && if (!APILookupUtility.isLocal() &&
APILookupUtility.getCurrentRemote Instance().equalsByKey(remoteHost + '-' + remotePort)) APILookupUtility.getCurrentRemote Instance().equalsByKey(remoteHost + '-' + remotePort))
return; // Current remote connection alre ady points to url from params return; // Current remote connection alre ady points to url from params
}catch (IllegalStateException ignored){ }catch (IllegalStateException ignored){
// Means moskito has no remote connection while G ET query specifies one. // Means moskito has no remote connection while G ET query specifies one.
skipping to change at line 678 skipping to change at line 680
protected String getPageName(){ return "unnamed"; } protected String getPageName(){ return "unnamed"; }
protected ProducerAPI getProducerAPI(){ protected ProducerAPI getProducerAPI(){
return APILookupUtility.getProducerAPI(); return APILookupUtility.getProducerAPI();
} }
protected ThresholdAPI getThresholdAPI(){ protected ThresholdAPI getThresholdAPI(){
return APILookupUtility.getThresholdAPI(); return APILookupUtility.getThresholdAPI();
} }
protected LoadFactorsAPI getLoadFactorsAPI(){
return APILookupUtility.getLoadFactorsAPI();
}
protected NowRunningAPI getNowRunningAPI(){
return APILookupUtility.getNowRunningAPI();
}
protected JourneyAPI getJourneyAPI(){ protected JourneyAPI getJourneyAPI(){
return APILookupUtility.getJourneyAPI(); return APILookupUtility.getJourneyAPI();
} }
protected AccumulatorAPI getAccumulatorAPI(){ protected AccumulatorAPI getAccumulatorAPI(){
return APILookupUtility.getAccumulatorAPI(); return APILookupUtility.getAccumulatorAPI();
} }
protected GaugeAPI getGaugeAPI() { protected GaugeAPI getGaugeAPI() {
return APILookupUtility.getGaugeAPI(); return APILookupUtility.getGaugeAPI();
 End of changes. 3 change blocks. 
1 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)