Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moobench
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SustainKieker
moobench
Commits
c3748a20
Commit
c3748a20
authored
3 years ago
by
David Georg Reichelt
Browse files
Options
Downloads
Patches
Plain Diff
Fix receiver and copy receiver jar to required directory
parent
7c1d68bc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/receiver/build.gradle
+9
-0
9 additions, 0 deletions
tools/receiver/build.gradle
tools/receiver/src/main/java/moobench/tools/receiver/ReceiverConfiguration.java
+3
-2
3 additions, 2 deletions
...n/java/moobench/tools/receiver/ReceiverConfiguration.java
with
12 additions
and
2 deletions
tools/receiver/build.gradle
+
9
−
0
View file @
c3748a20
...
...
@@ -13,3 +13,12 @@ dependencies {
implementation
'org.slf4j:slf4j-api:1.7.+'
implementation
'ch.qos.logback:logback-classic:1.2.3'
}
jar
{
doLast
{
copy
{
from
jar
into
"../../frameworks/Kieker/scripts/receiver/lib/"
}
}
}
This diff is collapsed.
Click to expand it.
tools/receiver/src/main/java/moobench/tools/receiver/ReceiverConfiguration.java
+
3
−
2
View file @
c3748a20
package
moobench.tools.receiver
;
import
kieker.analysis.source.rewriter.NoneTraceMetadataRewriter
;
import
kieker.analysis.source.tcp.MultipleConnectionTcpSourceStage
;
import
kieker.analysisteetime.plugin.filter.forward.CountingFilter
;
import
teetime.framework.Configuration
;
public
class
ReceiverConfiguration
extends
Configuration
{
public
ReceiverConfiguration
(
int
inputPort
,
int
bufferSize
)
{
MultipleConnectionTcpSourceStage
source
=
new
MultipleConnectionTcpSourceStage
(
inputPort
,
bufferSize
,
n
ull
);
public
ReceiverConfiguration
(
final
int
inputPort
,
final
int
bufferSize
)
{
MultipleConnectionTcpSourceStage
source
=
new
MultipleConnectionTcpSourceStage
(
inputPort
,
bufferSize
,
n
ew
NoneTraceMetadataRewriter
()
);
CountingFilter
counting
=
new
CountingFilter
();
connectPorts
(
source
.
getOutputPort
(),
counting
.
getInputPort
());
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment