From de3d402edac844e47fc4c3a7b23f3f49436d6413 Mon Sep 17 00:00:00 2001 From: Abhi Shah Date: Fri, 17 Jun 2022 16:04:03 +0530 Subject: [PATCH] Update the release versions --- CHANGELOG.md | 8 +++++ README.md | 4 +-- deploy | 2 +- deploy.md | 30 +++++++++---------- examples/pom.xml | 2 +- pom.xml | 2 +- splunk/pom.xml | 2 +- .../src/main/java/com/splunk/HttpService.java | 2 +- 8 files changed, 30 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2438cf0c..aa425ff9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Splunk Enterprise SDK for Java Changelog +## Version 1.9.0 + +### New Features and APIs +* SDK Support for splunkd search API changes, for Splunk 9.0+. (Github PR [#189](https://github.com/splunk/splunk-sdk-java/pull/189)) + +### Minor Changes +* Automated docs generation using GitHub actions. (Github PR [#184](https://github.com/splunk/splunk-sdk-java/pull/184)) + ## Version 1.8.0 ### New Features and APIs diff --git a/README.md b/README.md index fa72ab54..3087c219 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [![Java SDK Test](https://github.com/splunk/splunk-sdk-java/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/splunk/splunk-sdk-java/actions/workflows/test.yml) # The Splunk Software Development Kit for Java -#### Version 1.8.0 +#### Version 1.9.0 The Splunk Software Development Kit (SDK) for Java contains library code and examples designed to enable developers to build applications using Splunk. @@ -75,7 +75,7 @@ To add the Splunk SDK for Java `.JAR` file as a dependency: com.splunk splunk - 1.8.0 + 1.9.0 ``` diff --git a/deploy b/deploy index 5a7a6c0d..cb13e579 100755 --- a/deploy +++ b/deploy @@ -2,7 +2,7 @@ declare -r scriptDirectory="$(dirname $(readlink -e $0))" declare -r scriptName="$(basename $0)" -declare -r version="1.8.0" +declare -r version="1.9.0" if [[ $# -ne 1 ]]; then echo 1>&2 "Usage: ${scriptName} {local|staging||production}" diff --git a/deploy.md b/deploy.md index af57427a..ec5046e5 100644 --- a/deploy.md +++ b/deploy.md @@ -9,8 +9,8 @@ deploy \ ##DESCRIPTION -Deploy transmits **target/splunk-1.8.0.jar**, **target/splunk-1.8.0-javadoc.jar**, and -**target/splunk-1.8.0-sources.jar** to the **local**, **staging**, or **production** +Deploy transmits **target/splunk-1.9.0.jar**, **target/splunk-1.9.0-javadoc.jar**, and +**target/splunk-1.9.0-sources.jar** to the **local**, **staging**, or **production** maven repository. Repository names are mapped to locations as follows. | repository-name | location | @@ -21,18 +21,18 @@ maven repository. Repository names are mapped to locations as follows. After deployment you should find this tree structure at the location of your repository - com/splunk/splunk/1.8.0/ - ├── splunk-1.8.0-javadoc.jar - ├── splunk-1.8.0-javadoc.jar.md5 - ├── splunk-1.8.0-javadoc.jar.sha1 - ├── splunk-1.8.0-sources.jar - ├── splunk-1.8.0-sources.jar.md5 - ├── splunk-1.8.0-sources.jar.sha1 - ├── splunk-1.8.0.jar - ├── splunk-1.8.0.jar.md5 - ├── splunk-1.8.0.jar.sha1 - ├── splunk-1.8.0.pom - ├── splunk-1.8.0.pom.md5 - └── splunk-1.8.0.pom.sha1 + com/splunk/splunk/1.9.0/ + ├── splunk-1.9.0-javadoc.jar + ├── splunk-1.9.0-javadoc.jar.md5 + ├── splunk-1.9.0-javadoc.jar.sha1 + ├── splunk-1.9.0-sources.jar + ├── splunk-1.9.0-sources.jar.md5 + ├── splunk-1.9.0-sources.jar.sha1 + ├── splunk-1.9.0.jar + ├── splunk-1.9.0.jar.md5 + ├── splunk-1.9.0.jar.sha1 + ├── splunk-1.9.0.pom + ├── splunk-1.9.0.pom.md5 + └── splunk-1.9.0.pom.sha1 Verify this structure prior to release. diff --git a/examples/pom.xml b/examples/pom.xml index 49d8981c..4b2b2462 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -37,7 +37,7 @@ com.splunk splunk - 1.8.0 + 1.9.0 provided diff --git a/pom.xml b/pom.xml index 9bfafba5..195c08c8 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ 4.0.0 - 1.8.0 + 1.9.0 true UTF-8 8 diff --git a/splunk/pom.xml b/splunk/pom.xml index dd142867..80680170 100644 --- a/splunk/pom.xml +++ b/splunk/pom.xml @@ -5,7 +5,7 @@ 4.0.0 splunk - 1.8.0 + 1.9.0 splunk-sdk-java com.splunk diff --git a/splunk/src/main/java/com/splunk/HttpService.java b/splunk/src/main/java/com/splunk/HttpService.java index 5f2ad877..693f3a36 100644 --- a/splunk/src/main/java/com/splunk/HttpService.java +++ b/splunk/src/main/java/com/splunk/HttpService.java @@ -89,7 +89,7 @@ public boolean verify(String s, SSLSession sslSession) { private String prefix = null; static Map defaultHeader = new HashMap() {{ - put("User-Agent", "splunk-sdk-java/1.8.0"); + put("User-Agent", "splunk-sdk-java/1.9.0"); put("Accept", "*/*"); }};