Skip to content
Snippets Groups Projects
Commit f6d50ccd authored by Nils Christian Ehmke's avatar Nils Christian Ehmke
Browse files

#545; Minor modifications

parent 9d3c0361
No related branches found
No related tags found
No related merge requests found
Showing with 110 additions and 31 deletions
<?xml version="1.0" encoding="UTF-8"?>
<Project xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="platform:/resource/Kieker/model/AnalysisMetaModel.ecore">
<plugins xsi:type="Filter" name="Response Time Filter" classname="kieker.examples.userguide.ch3and4bookstore.MyResponseTimeFilter">
<properties name="thresholdNanos" value="1900000"/>
<outputPorts name="validResponseTimes" subscribers="//@plugins.1/@inputPorts.0 //@plugins.5/@inputPorts.0"/>
<outputPorts name="invalidResponseTimes" subscribers="//@plugins.2/@inputPorts.0 //@plugins.6/@inputPorts.0"/>
<inputPorts name="newResponseTime"/>
</plugins>
<plugins xsi:type="Filter" name="Print valid" classname="kieker.examples.userguide.ch3and4bookstore.MyResponseTimeOutputPrinter">
<properties name="validOutput" value="true"/>
<inputPorts name="newEvent"/>
</plugins>
<plugins xsi:type="Filter" name="Print invalid" classname="kieker.examples.userguide.ch3and4bookstore.MyResponseTimeOutputPrinter">
<properties name="validOutput" value="false"/>
<inputPorts name="newEvent"/>
</plugins>
<plugins xsi:type="Reader" name="File System Reader" classname="kieker.analysis.plugin.reader.filesystem.FSReader">
<properties name="ignoreUnknownRecordTypes" value="false"/>
<properties name="inputDirs" value="testdata"/>
<outputPorts name="monitoringRecords" subscribers="//@plugins.0/@inputPorts.0 //@plugins.4/@inputPorts.0"/>
</plugins>
<plugins xsi:type="Filter" name="Counter1" classname="kieker.analysis.plugin.filter.forward.CountingFilter">
<outputPorts name="relayedEvents"/>
<outputPorts name="currentEventCount"/>
<displays name="Counter Display"/>
<inputPorts name="inputEvents"/>
</plugins>
<plugins xsi:type="Filter" name="Counter2" classname="kieker.analysis.plugin.filter.forward.CountingFilter">
<outputPorts name="relayedEvents"/>
<outputPorts name="currentEventCount"/>
<displays name="Counter Display"/>
<inputPorts name="inputEvents"/>
</plugins>
<plugins xsi:type="Filter" name="Counter3" classname="kieker.analysis.plugin.filter.forward.CountingFilter">
<outputPorts name="relayedEvents"/>
<outputPorts name="currentEventCount"/>
<displays name="Counter Display"/>
<inputPorts name="inputEvents"/>
</plugins>
<dependencies filePath="BookstoreApplication.jar"/>
<dependencies filePath="kieker-1.6-SNAPSHOT_emf.jar"/>
<views name="View" description="No description available.">
<displayConnectors name="FS Counter" display="//@plugins.4/@displays.0"/>
<displayConnectors name="Valid Counter" display="//@plugins.5/@displays.0"/>
<displayConnectors name="Invalid Counter" display="//@plugins.6/@displays.0"/>
</views>
</Project>
File added
File added
File added
$0;1343837591866228299;mySimpleKiekerExample.bookstoreTracing.Catalog;getBook(..);1386243
$0;1343837591869371962;mySimpleKiekerExample.bookstoreTracing.Catalog;getBook(..);2830431
$0;1343837591870666221;mySimpleKiekerExample.bookstoreTracing.Catalog;getBook(..);1218889
$0;1343837591872661097;mySimpleKiekerExample.bookstoreTracing.Catalog;getBook(..);1958812
$0;1343837591874666509;mySimpleKiekerExample.bookstoreTracing.Catalog;getBook(..);1936931
$0;1343837591876674758;mySimpleKiekerExample.bookstoreTracing.Catalog;getBook(..);1971373
$0;1343837591878649778;mySimpleKiekerExample.bookstoreTracing.Catalog;getBook(..);1901271
$0;1343837591880656811;mySimpleKiekerExample.bookstoreTracing.Catalog;getBook(..);1981505
$0;1343837591882672354;mySimpleKiekerExample.bookstoreTracing.Catalog;getBook(..);1956786
$0;1343837591885871936;mySimpleKiekerExample.bookstoreTracing.Catalog;getBook(..);3152983
$0=kieker.examples.userguide.ch3and4bookstore.MyResponseTimeRecord
...@@ -576,24 +576,24 @@ public final class CurrentAnalysisEditorBean { ...@@ -576,24 +576,24 @@ public final class CurrentAnalysisEditorBean {
} }
return true; return true;
} catch (final InstantiationException ex) { } catch (final InstantiationException ex) {
CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the displays of the plugin.", ex); CurrentAnalysisEditorBean.LOG.error("An error occured while loading the displays of the plugin.", ex);
CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the displays of the plugin."); CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An error occured while loading the displays of the plugin.");
return false; return false;
} catch (final IllegalAccessException ex) { } catch (final IllegalAccessException ex) {
CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the displays of the plugin.", ex); CurrentAnalysisEditorBean.LOG.error("An error occured while loading the displays of the plugin.", ex);
CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the displays of the plugin."); CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An error occured while loading the displays of the plugin.");
return false; return false;
} catch (final InvocationTargetException ex) { } catch (final InvocationTargetException ex) {
CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the displays of the plugin.", ex); CurrentAnalysisEditorBean.LOG.error("An error occured while loading the displays of the plugin.", ex);
CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the displays of the plugin."); CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An error occured while loading the displays of the plugin.");
return false; return false;
} catch (final NoSuchMethodException ex) { } catch (final NoSuchMethodException ex) {
CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the displays of the plugin.", ex); CurrentAnalysisEditorBean.LOG.error("An error occured while loading the displays of the plugin.", ex);
CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the displays of the plugin."); CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An error occured while loading the displays of the plugin.");
return false; return false;
} catch (final NoClassDefFoundError ex) { } catch (final NoClassDefFoundError ex) {
CurrentAnalysisEditorBean.LOG.error("An errcor occured while loading the displays of the plugin.", ex); CurrentAnalysisEditorBean.LOG.error("An error occured while loading the displays of the plugin.", ex);
CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An errcor occured while loading the displays of the plugin."); CurrentAnalysisEditorBean.showMessage(FacesMessage.SEVERITY_ERROR, "An error occured while loading the displays of the plugin.");
return false; return false;
} }
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" <html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html" xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"> xmlns:p="http://primefaces.org/ui">
<h:head> <h:head>
<title>Kieker.WebGUI</title> <title>Kieker.WebGUI</title>
<link rel="stylesheet" type="text/css" href="../css/Common.css" /> <link rel="stylesheet" type="text/css" href="../css/Common.css" />
...@@ -11,30 +11,34 @@ ...@@ -11,30 +11,34 @@
</h:head> </h:head>
<h:body onload="growlComp.renderMessage({summary:'Welcome to the Kieker.WebGUI', detail: 'This is an early alpha version of the Kieker Web GUI. Therefore it may contain bugs and some functionality may have not been implemented yet. Just click &quot;Login&quot; to continue.', severity: 'info'})"> <h:body onload="growlComp.renderMessage({summary:'Welcome to the Kieker.WebGUI', detail: 'This is an early alpha version of the Kieker Web GUI. Therefore it may contain bugs and some functionality may have not been implemented yet. Just click &quot;Login&quot; to continue.', severity: 'info'})">
<div align="center"> <div align="center" >
<img src="../img/kieker-header.jpg"/> <img src="../img/kieker-header.jpg"/>
</div> </div>
<br/> <div align="center" class="stretch">
<p:spacer width="0" height="100"/> <div class="custom-background">
<br/>
<p:spacer width="0" height="100"/>
<!-- The following is the login form --> <!-- The following is the login form -->
<h:form> <h:form>
<div align="center"> <div class="stretch" align="center">
<p:panel header="Welcome to the Kieker.WebGUI" styleClass="login-panel"> <p:panel header="Welcome to the Kieker.WebGUI" styleClass="login-panel">
<h:panelGrid columnClasses="col1 , col2" styleClass="grid" columns="2" cellpadding="5"> <h:panelGrid columnClasses="col1 , col2" styleClass="grid" columns="2" cellpadding="5">
<h:outputLabel for="username" value="Username:" /> <h:outputLabel for="username" value="Username:" />
<p:inputText styleClass="input" id="username" required="true" value="#{userBean.userName}" label="username"/> <p:inputText styleClass="input" id="username" required="true" value="#{userBean.userName}" label="username"/>
<h:outputLabel for="password" value="Password:" /> <h:outputLabel for="password" value="Password:" />
<p:password styleClass="input" id="password" required="false" label="password" /> <p:password styleClass="input" id="password" required="false" label="password" />
</h:panelGrid> </h:panelGrid>
<hr/> <hr/>
<div align="right"> <div align="right">
<p:commandButton value="Login" ajax="false" action="#{userBean.login}" /> <p:commandButton value="Login" ajax="false" action="#{userBean.login}" />
</div>
</p:panel>
<p:growl sticky="true" autoUpdate="true" widgetVar="growlComp"/>
</div> </div>
</p:panel> </h:form>
<p:growl sticky="true" autoUpdate="true" widgetVar="growlComp"/>
</div> </div>
</h:form> </div>
</h:body> </h:body>
</html> </html>
\ No newline at end of file
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
} }
.login-panel { .login-panel {
width: 30%; width: 50%;
text-align: center text-align: center
} }
...@@ -33,3 +33,20 @@ ...@@ -33,3 +33,20 @@
width: 400px; width: 400px;
text-align: justify; text-align: justify;
} }
html {
height: 100%;
}
body {
background-color: #f1f1f1;
margin: 0;
padding: 0;
height: 100%;
}
div.stretch {
background: #ffffff;
padding: 0 0 0 0;
margin: auto;
width: 1000px;
min-height: 100%;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment