Skip to content

Commit 2968934

Browse files
authoredJan 6, 2023
Merge pull request #205 from splunk/master
Release 1.9.3 sync
2 parents e485ba4 + 00cd195 commit 2968934

File tree

8 files changed

+28
-22
lines changed

8 files changed

+28
-22
lines changed
 

‎CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Splunk Enterprise SDK for Java Changelog
22

3+
## Version 1.9.3
4+
5+
### Minor Changes
6+
* Re-fetch logic for instancetype and version fields if not set within Service instance to avoid NPE (GitHub PR [#202](https://github.com/splunk/splunk-sdk-java/pull/202))
7+
* Check for local IP as alternative to _localhost_ within HostnameVerifier, addressing issue with certain local workflows
8+
39
## Version 1.9.2
410

511
### New Features and APIs

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![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)
22
# The Splunk Software Development Kit for Java
33

4-
#### Version 1.9.2
4+
#### Version 1.9.3
55

66
The Splunk Software Development Kit (SDK) for Java contains library code and
77
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:
7575
<dependency>
7676
<groupId>com.splunk</groupId>
7777
<artifactId>splunk</artifactId>
78-
<version>1.9.2</version>
78+
<version>1.9.3</version>
7979
</dependency>
8080
</dependencies>
8181
```

‎deploy

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare -r scriptDirectory="$(dirname $(readlink -e $0))"
44
declare -r scriptName="$(basename $0)"
5-
declare -r version="1.9.2"
5+
declare -r version="1.9.3"
66

77
if [[ $# -ne 1 ]]; then
88
echo 1>&2 "Usage: ${scriptName} {local|staging||production}"

‎deploy.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ deploy \<repository-name>
99

1010
##DESCRIPTION
1111

12-
Deploy transmits **target/splunk-1.9.2.jar**, **target/splunk-1.9.2-javadoc.jar**, and
13-
**target/splunk-1.9.2-sources.jar** to the **local**, **staging**, or **production**
12+
Deploy transmits **target/splunk-1.9.3.jar**, **target/splunk-1.9.3-javadoc.jar**, and
13+
**target/splunk-1.9.3-sources.jar** to the **local**, **staging**, or **production**
1414
maven repository. Repository names are mapped to locations as follows.
1515

1616
| repository-name | location |
@@ -21,18 +21,18 @@ maven repository. Repository names are mapped to locations as follows.
2121

2222
After deployment you should find this tree structure at the location of your repository
2323

24-
com/splunk/splunk/1.9.2/
25-
├── splunk-1.9.2-javadoc.jar
26-
├── splunk-1.9.2-javadoc.jar.md5
27-
├── splunk-1.9.2-javadoc.jar.sha1
28-
├── splunk-1.9.2-sources.jar
29-
├── splunk-1.9.2-sources.jar.md5
30-
├── splunk-1.9.2-sources.jar.sha1
31-
├── splunk-1.9.2.jar
32-
├── splunk-1.9.2.jar.md5
33-
├── splunk-1.9.2.jar.sha1
34-
├── splunk-1.9.2.pom
35-
├── splunk-1.9.2.pom.md5
36-
└── splunk-1.9.2.pom.sha1
24+
com/splunk/splunk/1.9.3/
25+
├── splunk-1.9.3-javadoc.jar
26+
├── splunk-1.9.3-javadoc.jar.md5
27+
├── splunk-1.9.3-javadoc.jar.sha1
28+
├── splunk-1.9.3-sources.jar
29+
├── splunk-1.9.3-sources.jar.md5
30+
├── splunk-1.9.3-sources.jar.sha1
31+
├── splunk-1.9.3.jar
32+
├── splunk-1.9.3.jar.md5
33+
├── splunk-1.9.3.jar.sha1
34+
├── splunk-1.9.3.pom
35+
├── splunk-1.9.3.pom.md5
36+
└── splunk-1.9.3.pom.sha1
3737

3838
Verify this structure prior to release.

‎examples/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<dependency>
3838
<groupId>com.splunk</groupId>
3939
<artifactId>splunk</artifactId>
40-
<version>1.9.2</version>
40+
<version>1.9.3</version>
4141
<scope>provided</scope>
4242
</dependency>
4343
<dependency>

‎pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<modelVersion>4.0.0</modelVersion>
77

88
<properties>
9-
<version.number>1.9.2</version.number>
9+
<version.number>1.9.3</version.number>
1010
<maven.resources.overwrite>true</maven.resources.overwrite>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1212
<maven.compiler.source>8</maven.compiler.source>

‎splunk/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66

77
<artifactId>splunk</artifactId>
8-
<version>1.9.2</version>
8+
<version>1.9.3</version>
99
<parent>
1010
<artifactId>splunk-sdk-java</artifactId>
1111
<groupId>com.splunk</groupId>

‎splunk/src/main/java/com/splunk/HttpService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public boolean verify(String s, SSLSession sslSession) {
9090
private String prefix = null;
9191

9292
static Map<String, String> defaultHeader = new HashMap<String, String>() {{
93-
put("User-Agent", "splunk-sdk-java/1.9.2");
93+
put("User-Agent", "splunk-sdk-java/1.9.3");
9494
put("Accept", "*/*");
9595
}};
9696

0 commit comments

Comments
 (0)