Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# TimeBase Common Utilities

Contains

- Timebase messages definitions including:
- system core messages
- financial domain specific messages descrbing L1 and L2 market data (https://github.com/epam/TimebaseCryptoConnectors/blob/main/docs/universal.md)

- Collections and Hashmaps of primitive types
- CUP Parser Generator for Java (forked from CUP v0.10k generated parser)
- Various helper classes inluding text utilities, io/network helpers, time, etc.
2 changes: 1 addition & 1 deletion collections/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies {
implementation group: 'com.epam.deltix', name: 'dfp', version: dfpVersion
implementation group: 'com.epam.deltix', name: 'gflog-api', version: gflogVersion

testImplementation 'commons-collections:commons-collections:3.2.1'
testImplementation 'commons-collections:commons-collections:3.2.2'
}

ext {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ public void writeDecimal64 (double v) {
}

public void writeDecimal64 (Decimal64 v) {
if (v == null || v.isNaN())
if (v == null)
writeLong(Decimal64Utils.NULL);
else
writeLong(Decimal64.toUnderlying(v));
Expand Down
4 changes: 2 additions & 2 deletions util/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies {
implementation 'com.epam.deltix:thread-affinity:1.0.4'

implementation 'org.apache.commons:commons-lang3:3.7'
implementation 'org.apache.commons:commons-compress:1.19'
implementation 'org.apache.commons:commons-compress:1.26.0'

implementation 'javax.xml.bind:jaxb-api:2.2.8'
implementation 'com.sun.xml.bind:jaxb-impl:2.3.0'
Expand All @@ -27,5 +27,5 @@ dependencies {

implementation('net.java.dev.jna:jna:4.2.1')
implementation('net.java.dev.jna:jna-platform:4.2.1')
implementation('org.apache.bcel:bcel:6.0')
implementation('org.apache.bcel:bcel:6.6.0')
}
18 changes: 18 additions & 0 deletions util/src/test/java/com/epam/deltix/util/archive/Test_DXData.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package com.epam.deltix.util.archive;

import com.epam.deltix.qsrv.util.archive.DXDataInputStream;
import org.junit.Test;

import java.io.File;
import java.io.IOException;

public class Test_DXData {

@Test
public void test() throws IOException {

File file = File.createTempFile("X31", "dxdata");

DXDataInputStream in = new DXDataInputStream(file);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ public boolean run () {
}


@Test(timeout = 300000)
//@Test(timeout = 300000)
@Ignore
public void go () throws InterruptedException {

boolean cruiseControlMode = Boolean.getBoolean("deltix.test.mode");
Expand Down