From d822d129ff79e81d01e2cdafc7d139783ab6a27d Mon Sep 17 00:00:00 2001 From: Abhi Shah Date: Tue, 13 Sep 2022 11:38:49 +0530 Subject: [PATCH 1/3] Release updates --- 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 aa425ff9..d120e968 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Splunk Enterprise SDK for Java Changelog +## Version 1.9.1 + +### New Features and APIs +* SDK Support for third-party (Load Balancer) "sticky sessions"(cookie persistence) (Github PR [#192](https://github.com/splunk/splunk-sdk-java/pull/192)) + +### Minor Changes +* Special handling related to the semantic versioning of specific Search APIs functional in Splunk Enterprise 9.0.2 and (Splunk Cloud 9.0.2209). These SDK changes will enable seamless transition between the APIs based on the version of the Splunk Enterprise/Cloud (Github PR [#193](https://github.com/splunk/splunk-sdk-java/pull/193)) + ## Version 1.9.0 ### New Features and APIs diff --git a/README.md b/README.md index 3087c219..72b778d5 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.9.0 +#### Version 1.9.1 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.9.0 + 1.9.1 ``` diff --git a/deploy b/deploy index cb13e579..26bce595 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.9.0" +declare -r version="1.9.1" if [[ $# -ne 1 ]]; then echo 1>&2 "Usage: ${scriptName} {local|staging||production}" diff --git a/deploy.md b/deploy.md index ec5046e5..eab0df26 100644 --- a/deploy.md +++ b/deploy.md @@ -9,8 +9,8 @@ deploy \ ##DESCRIPTION -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** +Deploy transmits **target/splunk-1.9.1.jar**, **target/splunk-1.9.1-javadoc.jar**, and +**target/splunk-1.9.1-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.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 + com/splunk/splunk/1.9.1/ + ├── splunk-1.9.1-javadoc.jar + ├── splunk-1.9.1-javadoc.jar.md5 + ├── splunk-1.9.1-javadoc.jar.sha1 + ├── splunk-1.9.1-sources.jar + ├── splunk-1.9.1-sources.jar.md5 + ├── splunk-1.9.1-sources.jar.sha1 + ├── splunk-1.9.1.jar + ├── splunk-1.9.1.jar.md5 + ├── splunk-1.9.1.jar.sha1 + ├── splunk-1.9.1.pom + ├── splunk-1.9.1.pom.md5 + └── splunk-1.9.1.pom.sha1 Verify this structure prior to release. diff --git a/examples/pom.xml b/examples/pom.xml index 4b2b2462..1573e401 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -37,7 +37,7 @@ com.splunk splunk - 1.9.0 + 1.9.1 provided diff --git a/pom.xml b/pom.xml index 195c08c8..222042bd 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ 4.0.0 - 1.9.0 + 1.9.1 true UTF-8 8 diff --git a/splunk/pom.xml b/splunk/pom.xml index 80680170..186d8eda 100644 --- a/splunk/pom.xml +++ b/splunk/pom.xml @@ -5,7 +5,7 @@ 4.0.0 splunk - 1.9.0 + 1.9.1 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 aa6769b8..ece901ca 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.9.0"); + put("User-Agent", "splunk-sdk-java/1.9.1"); put("Accept", "*/*"); }}; From 9f46b7b3b6966d26c1f1d914fc9d1fc0b7c9b448 Mon Sep 17 00:00:00 2001 From: Abhi Shah Date: Tue, 13 Sep 2022 11:57:42 +0530 Subject: [PATCH 2/3] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 222042bd..827b8db6 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ com.google.code.gson gson - 2.8.6 + 2.8.9 net.sf.opencsv From 0797d898600850c0a1bf7f1a3dd8114129e956c9 Mon Sep 17 00:00:00 2001 From: Abhi Shah Date: Tue, 13 Sep 2022 15:10:38 +0530 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d120e968..524833fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,11 @@ ### New Features and APIs * SDK Support for third-party (Load Balancer) "sticky sessions"(cookie persistence) (Github PR [#192](https://github.com/splunk/splunk-sdk-java/pull/192)) +* Added Args option for Saved Search history method (GitHub Issue [#126](https://github.com/splunk/splunk-sdk-java/issues/126) & PR [#188](https://github.com/splunk/splunk-sdk-java/pull/188) ) ### Minor Changes * Special handling related to the semantic versioning of specific Search APIs functional in Splunk Enterprise 9.0.2 and (Splunk Cloud 9.0.2209). These SDK changes will enable seamless transition between the APIs based on the version of the Splunk Enterprise/Cloud (Github PR [#193](https://github.com/splunk/splunk-sdk-java/pull/193)) +* Updated checks to fetch Storage Passwords with wildcards in namespace. (GitHub PR [#187](https://github.com/splunk/splunk-sdk-java/pull/187)) ## Version 1.9.0