Skip to content

Commit

Permalink
done1
Browse files Browse the repository at this point in the history
  • Loading branch information
gunlee01 committed Sep 7, 2016
1 parent 37e289d commit a36dc24
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
21 changes: 21 additions & 0 deletions pulse.sample.bizcounter/java-sample/pom.xml
Expand Up @@ -44,6 +44,27 @@
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<configuration>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>scouterx.pulse.sample.bizcounter.App</mainClass>
</transformer>
</transformers>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
Expand Down
Expand Up @@ -118,7 +118,7 @@ private float getRandomSample2(String type) {
prev.put(type, value);
}

value = value + (float) Math.random() * value / 20;
value = value + (float) Math.random() * 30;
prev2.put(type, value);

return value;
Expand Down
2 changes: 0 additions & 2 deletions pulse.sample.bizcounter/java-sample/startup.sh

This file was deleted.

0 comments on commit a36dc24

Please sign in to comment.