Skip to content

Commit

Permalink
Merge tag '0.1.2' into develop
Browse files Browse the repository at this point in the history
New release available : 0.1.2
  • Loading branch information
kaazing-build committed Mar 7, 2018
2 parents 79022cc + b740916 commit 0d4c84c
Show file tree
Hide file tree
Showing 26 changed files with 12 additions and 40 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
.idea
*.iml
logs
/target/
target/
.classpath
.project
.settings
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## [0.1.2](https://github.com/kaazing/KafkaLoadGenerator/tree/0.1.2) (2018-03-07)
[Full Changelog](https://github.com/kaazing/KafkaLoadGenerator/compare/0.1.1...0.1.2)

**Merged pull requests:**

- Prevent den price from going above PRICE\_DEN\_LIMIT [\#3](https://github.com/kaazing/KafkaLoadGenerator/pull/3) ([robinzimmermann](https://github.com/robinzimmermann))

## [0.1.1](https://github.com/kaazing/KafkaLoadGenerator/tree/0.1.1) (2018-03-07)
[Full Changelog](https://github.com/kaazing/KafkaLoadGenerator/compare/0.1.0...0.1.1)

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/lc/df/kafka/client/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public static String getNewPayload(String payload,String eventid,String marketid
if (selectionid != null)
{
int num = getRandomIntInRange(PRICE_NUM_LIMIT);
int den = getRandomIntInRange(PRICE_DEN_LIMIT) + 1; //prevent divide by zero
int den = getRandomIntInRange(PRICE_DEN_LIMIT - 1) + 1; //prevent divide by zero
double decimal = 1 + ((double)num/(double)den);
DecimalFormat f = new DecimalFormat("##.00");
pl = payload.replaceAll("\\$\\{selection\\}", selectionid)
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed target/classes/com/lc/df/kafka/client/Kpi.class
Binary file not shown.
Binary file removed target/classes/com/lc/df/kafka/client/Logger.class
Binary file not shown.
Binary file not shown.
Binary file removed target/classes/com/lc/df/kafka/client/Report.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed target/classes/com/lc/df/kafka/client/Utils.class
Binary file not shown.
Binary file not shown.
Binary file removed target/classes/com/lc/df/kafka/test/KafkaTest.class
Binary file not shown.
Binary file not shown.
Binary file removed target/kafka-load-generator-0.0.1-SNAPSHOT.jar
Binary file not shown.
5 changes: 0 additions & 5 deletions target/maven-archiver/pom.properties

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 0d4c84c

Please sign in to comment.