From a255b80ab564313ce0a6489b4f403401612d5451 Mon Sep 17 00:00:00 2001 From: Thomas Grassauer Date: Fri, 26 Jan 2018 08:58:03 +0100 Subject: [PATCH] increase version to 1.0.0 --- build.gradle | 2 +- docs/example.md | 9 +++++++-- .../java/com/dynatrace/openkit/api/OpenKitConstants.java | 2 +- .../openkit/test/appmon/local/ActionValuesTest.java | 2 ++ .../test/appmon/local/ApplicationAndDeviceTest.java | 2 ++ .../openkit/test/appmon/local/CaptureCrashesOffTest.java | 2 ++ .../openkit/test/appmon/local/CaptureErrorsOffTest.java | 2 ++ .../openkit/test/appmon/local/CaptureOffTest.java | 2 ++ .../openkit/test/appmon/local/CascadedActionTest.java | 2 ++ .../openkit/test/appmon/local/ChangeMonitorURLTest.java | 2 ++ .../test/appmon/local/ChangeSendIntervalTest.java | 2 ++ .../openkit/test/appmon/local/ComplexSessionTest.java | 2 ++ .../openkit/test/appmon/local/ErrorAndCrashTest.java | 2 ++ .../test/appmon/local/MultipleRootActionTest.java | 2 ++ .../openkit/test/appmon/local/ParallelActionTest.java | 2 ++ .../openkit/test/appmon/local/SimpleActionTest.java | 2 ++ .../test/appmon/local/StringURLWebRequestTest.java | 2 ++ .../openkit/test/appmon/local/WebRequestTimingTest.java | 2 ++ 18 files changed, 39 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 8dcf6c01..99ecf669 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ group 'com.dynatrace.openkit' -version '0.5.0' +version '1.0.0' apply plugin: 'java' diff --git a/docs/example.md b/docs/example.md index 3fdc6832..9abc4857 100644 --- a/docs/example.md +++ b/docs/example.md @@ -54,12 +54,17 @@ customize OpenKit. This includes device specific information like operating syst | Method Name | Description | Default Value | | ------------- | ------------- | ---------- | -| `withApplicationVersion` | sets the application version | `"0.4"` | -| `withOperatingSystem` | sets the operating system name | `"OpenKit 0.4"` | +| `withApplicationVersion` | sets the application version | `"1.0.0"` | +| `withOperatingSystem` | sets the operating system name | `"OpenKit 1.0.0"` | | `withManufacturer` | sets the manufacturer | `"Dynatrace"` | | `withModelID` | sets the model id | `"OpenKitDevice"` | +| `withBeaconCacheMaxRecordAge` | sets the maximum age of an entry in the beacon cache in milliseconds | 1 h 45 min | +| `withBeaconCacheLowerMemoryBoundary` | sets the lower memory boundary of the beacon cache in bytes | 100 MB | +| `withBeaconCacheUpperMemoryBoundary` | sets the upper memory boundary of the beacon cache in bytes | 80 MB | | `enableVerbose` | enables extended log output for OpenKit if the default logger is used | `false` | +:grey_exclamation: Please refer to the the JavaDoc for more information regarding possible configuration values. + ## SSL/TLS Security in OpenKit All OpenKit communication to the backend happens via HTTPS (TLS/SSL based on Java Framework support). diff --git a/src/main/java/com/dynatrace/openkit/api/OpenKitConstants.java b/src/main/java/com/dynatrace/openkit/api/OpenKitConstants.java index d7bd0f79..6e08691f 100644 --- a/src/main/java/com/dynatrace/openkit/api/OpenKitConstants.java +++ b/src/main/java/com/dynatrace/openkit/api/OpenKitConstants.java @@ -34,7 +34,7 @@ private OpenKitConstants() { public static final String WEBREQUEST_TAG_HEADER = "X-dynaTrace"; // default values used in configuration - public static final String DEFAULT_APPLICATION_VERSION = "0.5.0"; + public static final String DEFAULT_APPLICATION_VERSION = "1.0.0"; public static final String DEFAULT_OPERATING_SYSTEM = "OpenKit " + DEFAULT_APPLICATION_VERSION; public static final String DEFAULT_MANUFACTURER = "Dynatrace"; public static final String DEFAULT_MODEL_ID = "OpenKitDevice"; diff --git a/src/test/java/com/dynatrace/openkit/test/appmon/local/ActionValuesTest.java b/src/test/java/com/dynatrace/openkit/test/appmon/local/ActionValuesTest.java index 901f0923..0e0082b1 100644 --- a/src/test/java/com/dynatrace/openkit/test/appmon/local/ActionValuesTest.java +++ b/src/test/java/com/dynatrace/openkit/test/appmon/local/ActionValuesTest.java @@ -18,10 +18,12 @@ import com.dynatrace.openkit.test.TestHTTPClient.Request; import com.dynatrace.openkit.test.shared.ActionValuesTestShared; +import org.junit.Ignore; import org.junit.Test; import java.util.ArrayList; +@Ignore("Integration tests are ignored") public class ActionValuesTest extends AbstractLocalAppMonTest { @Test diff --git a/src/test/java/com/dynatrace/openkit/test/appmon/local/ApplicationAndDeviceTest.java b/src/test/java/com/dynatrace/openkit/test/appmon/local/ApplicationAndDeviceTest.java index 464f78eb..30850b3a 100644 --- a/src/test/java/com/dynatrace/openkit/test/appmon/local/ApplicationAndDeviceTest.java +++ b/src/test/java/com/dynatrace/openkit/test/appmon/local/ApplicationAndDeviceTest.java @@ -20,10 +20,12 @@ import com.dynatrace.openkit.test.TestHTTPClient.Request; import com.dynatrace.openkit.test.shared.ApplicationAndDeviceTestShared; import org.junit.Before; +import org.junit.Ignore; import org.junit.Test; import java.util.ArrayList; +@Ignore("Integration tests are ignored") public class ApplicationAndDeviceTest extends AbstractLocalAppMonTest { @Before diff --git a/src/test/java/com/dynatrace/openkit/test/appmon/local/CaptureCrashesOffTest.java b/src/test/java/com/dynatrace/openkit/test/appmon/local/CaptureCrashesOffTest.java index 77093618..6b46bf0f 100644 --- a/src/test/java/com/dynatrace/openkit/test/appmon/local/CaptureCrashesOffTest.java +++ b/src/test/java/com/dynatrace/openkit/test/appmon/local/CaptureCrashesOffTest.java @@ -18,10 +18,12 @@ import com.dynatrace.openkit.test.TestHTTPClient.Request; import com.dynatrace.openkit.test.shared.CaptureCrashesOffTestShared; +import org.junit.Ignore; import org.junit.Test; import java.util.ArrayList; +@Ignore("Integration tests are ignored") public class CaptureCrashesOffTest extends AbstractLocalAppMonTest { public void setUp() throws InterruptedException { diff --git a/src/test/java/com/dynatrace/openkit/test/appmon/local/CaptureErrorsOffTest.java b/src/test/java/com/dynatrace/openkit/test/appmon/local/CaptureErrorsOffTest.java index 43823fb8..edfb2c9f 100644 --- a/src/test/java/com/dynatrace/openkit/test/appmon/local/CaptureErrorsOffTest.java +++ b/src/test/java/com/dynatrace/openkit/test/appmon/local/CaptureErrorsOffTest.java @@ -18,10 +18,12 @@ import com.dynatrace.openkit.test.TestHTTPClient.Request; import com.dynatrace.openkit.test.shared.CaptureErrorsOffTestShared; +import org.junit.Ignore; import org.junit.Test; import java.util.ArrayList; +@Ignore("Integration tests are ignored") public class CaptureErrorsOffTest extends AbstractLocalAppMonTest { public void setUp() throws InterruptedException { diff --git a/src/test/java/com/dynatrace/openkit/test/appmon/local/CaptureOffTest.java b/src/test/java/com/dynatrace/openkit/test/appmon/local/CaptureOffTest.java index 46534683..8e28b202 100644 --- a/src/test/java/com/dynatrace/openkit/test/appmon/local/CaptureOffTest.java +++ b/src/test/java/com/dynatrace/openkit/test/appmon/local/CaptureOffTest.java @@ -20,10 +20,12 @@ import com.dynatrace.openkit.test.TestHTTPClient.Request; import com.dynatrace.openkit.test.shared.CaptureOffTestShared; import org.junit.Assert; +import org.junit.Ignore; import org.junit.Test; import java.util.ArrayList; +@Ignore("Integration tests are ignored") public class CaptureOffTest extends AbstractLocalAppMonTest { public void setUp() throws InterruptedException { diff --git a/src/test/java/com/dynatrace/openkit/test/appmon/local/CascadedActionTest.java b/src/test/java/com/dynatrace/openkit/test/appmon/local/CascadedActionTest.java index 8501fc3d..31df35da 100644 --- a/src/test/java/com/dynatrace/openkit/test/appmon/local/CascadedActionTest.java +++ b/src/test/java/com/dynatrace/openkit/test/appmon/local/CascadedActionTest.java @@ -18,10 +18,12 @@ import com.dynatrace.openkit.test.TestHTTPClient.Request; import com.dynatrace.openkit.test.shared.CascadedActionTestShared; +import org.junit.Ignore; import org.junit.Test; import java.util.ArrayList; +@Ignore("Integration tests are ignored") public class CascadedActionTest extends AbstractLocalAppMonTest { @Test diff --git a/src/test/java/com/dynatrace/openkit/test/appmon/local/ChangeMonitorURLTest.java b/src/test/java/com/dynatrace/openkit/test/appmon/local/ChangeMonitorURLTest.java index 4ce201e8..7e1ee8f7 100644 --- a/src/test/java/com/dynatrace/openkit/test/appmon/local/ChangeMonitorURLTest.java +++ b/src/test/java/com/dynatrace/openkit/test/appmon/local/ChangeMonitorURLTest.java @@ -20,10 +20,12 @@ import com.dynatrace.openkit.test.TestHTTPClient.Request; import com.dynatrace.openkit.test.shared.ChangeMonitorURLTestShared; import org.junit.Assert; +import org.junit.Ignore; import org.junit.Test; import java.util.ArrayList; +@Ignore("Integration tests are ignored") public class ChangeMonitorURLTest extends AbstractLocalAppMonTest { public void setUp() throws InterruptedException { diff --git a/src/test/java/com/dynatrace/openkit/test/appmon/local/ChangeSendIntervalTest.java b/src/test/java/com/dynatrace/openkit/test/appmon/local/ChangeSendIntervalTest.java index 75e6b74f..2cbe1c49 100644 --- a/src/test/java/com/dynatrace/openkit/test/appmon/local/ChangeSendIntervalTest.java +++ b/src/test/java/com/dynatrace/openkit/test/appmon/local/ChangeSendIntervalTest.java @@ -20,10 +20,12 @@ import com.dynatrace.openkit.test.TestHTTPClient.Request; import com.dynatrace.openkit.test.shared.ChangeSendIntervalTestShared; import org.junit.Assert; +import org.junit.Ignore; import org.junit.Test; import java.util.ArrayList; +@Ignore("Integration tests are ignored") public class ChangeSendIntervalTest extends AbstractLocalAppMonTest { public void setUp() throws InterruptedException { diff --git a/src/test/java/com/dynatrace/openkit/test/appmon/local/ComplexSessionTest.java b/src/test/java/com/dynatrace/openkit/test/appmon/local/ComplexSessionTest.java index 0bcb2ecc..0788948b 100644 --- a/src/test/java/com/dynatrace/openkit/test/appmon/local/ComplexSessionTest.java +++ b/src/test/java/com/dynatrace/openkit/test/appmon/local/ComplexSessionTest.java @@ -18,10 +18,12 @@ import com.dynatrace.openkit.test.TestHTTPClient.Request; import com.dynatrace.openkit.test.shared.ComplexSessionTestShared; +import org.junit.Ignore; import org.junit.Test; import java.util.ArrayList; +@Ignore("Integration tests are ignored") public class ComplexSessionTest extends AbstractLocalAppMonTest { @Test diff --git a/src/test/java/com/dynatrace/openkit/test/appmon/local/ErrorAndCrashTest.java b/src/test/java/com/dynatrace/openkit/test/appmon/local/ErrorAndCrashTest.java index fdfe5638..ebd372e4 100644 --- a/src/test/java/com/dynatrace/openkit/test/appmon/local/ErrorAndCrashTest.java +++ b/src/test/java/com/dynatrace/openkit/test/appmon/local/ErrorAndCrashTest.java @@ -18,10 +18,12 @@ import com.dynatrace.openkit.test.TestHTTPClient.Request; import com.dynatrace.openkit.test.shared.ErrorAndCrashTestShared; +import org.junit.Ignore; import org.junit.Test; import java.util.ArrayList; +@Ignore("Integration tests are ignored") public class ErrorAndCrashTest extends AbstractLocalAppMonTest { @Test diff --git a/src/test/java/com/dynatrace/openkit/test/appmon/local/MultipleRootActionTest.java b/src/test/java/com/dynatrace/openkit/test/appmon/local/MultipleRootActionTest.java index 4571cb01..a3095a8d 100644 --- a/src/test/java/com/dynatrace/openkit/test/appmon/local/MultipleRootActionTest.java +++ b/src/test/java/com/dynatrace/openkit/test/appmon/local/MultipleRootActionTest.java @@ -18,10 +18,12 @@ import com.dynatrace.openkit.test.TestHTTPClient.Request; import com.dynatrace.openkit.test.shared.MultipleRootActionTestShared; +import org.junit.Ignore; import org.junit.Test; import java.util.ArrayList; +@Ignore("Integration tests are ignored") public class MultipleRootActionTest extends AbstractLocalAppMonTest { @Test diff --git a/src/test/java/com/dynatrace/openkit/test/appmon/local/ParallelActionTest.java b/src/test/java/com/dynatrace/openkit/test/appmon/local/ParallelActionTest.java index 69978c58..147fed77 100644 --- a/src/test/java/com/dynatrace/openkit/test/appmon/local/ParallelActionTest.java +++ b/src/test/java/com/dynatrace/openkit/test/appmon/local/ParallelActionTest.java @@ -18,10 +18,12 @@ import com.dynatrace.openkit.test.TestHTTPClient.Request; import com.dynatrace.openkit.test.shared.ParallelActionTestShared; +import org.junit.Ignore; import org.junit.Test; import java.util.ArrayList; +@Ignore("Integration tests are ignored") public class ParallelActionTest extends AbstractLocalAppMonTest { @Test diff --git a/src/test/java/com/dynatrace/openkit/test/appmon/local/SimpleActionTest.java b/src/test/java/com/dynatrace/openkit/test/appmon/local/SimpleActionTest.java index b5484bee..54b865bd 100644 --- a/src/test/java/com/dynatrace/openkit/test/appmon/local/SimpleActionTest.java +++ b/src/test/java/com/dynatrace/openkit/test/appmon/local/SimpleActionTest.java @@ -18,10 +18,12 @@ import com.dynatrace.openkit.test.TestHTTPClient.Request; import com.dynatrace.openkit.test.shared.SimpleActionTestShared; +import org.junit.Ignore; import org.junit.Test; import java.util.ArrayList; +@Ignore("Integration tests are ignored") public class SimpleActionTest extends AbstractLocalAppMonTest { @Test diff --git a/src/test/java/com/dynatrace/openkit/test/appmon/local/StringURLWebRequestTest.java b/src/test/java/com/dynatrace/openkit/test/appmon/local/StringURLWebRequestTest.java index bcd153d1..0ec5ec21 100644 --- a/src/test/java/com/dynatrace/openkit/test/appmon/local/StringURLWebRequestTest.java +++ b/src/test/java/com/dynatrace/openkit/test/appmon/local/StringURLWebRequestTest.java @@ -19,10 +19,12 @@ import com.dynatrace.openkit.test.TestHTTPClient.Request; import com.dynatrace.openkit.test.shared.StringURLWebRequestTestShared; import org.junit.Assert; +import org.junit.Ignore; import org.junit.Test; import java.util.ArrayList; +@Ignore("Integration tests are ignored") public class StringURLWebRequestTest extends AbstractLocalAppMonTest { @Test diff --git a/src/test/java/com/dynatrace/openkit/test/appmon/local/WebRequestTimingTest.java b/src/test/java/com/dynatrace/openkit/test/appmon/local/WebRequestTimingTest.java index 893f3b00..8aa6abe1 100644 --- a/src/test/java/com/dynatrace/openkit/test/appmon/local/WebRequestTimingTest.java +++ b/src/test/java/com/dynatrace/openkit/test/appmon/local/WebRequestTimingTest.java @@ -18,10 +18,12 @@ import com.dynatrace.openkit.test.TestHTTPClient.Request; import com.dynatrace.openkit.test.shared.WebRequestTimingTestShared; +import org.junit.Ignore; import org.junit.Test; import java.util.ArrayList; +@Ignore("Integration tests are ignored") public class WebRequestTimingTest extends AbstractLocalAppMonTest { @Test