Skip to content

Release/1.7.1 #165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 6, 2021
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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Splunk Enterprise SDK for Java Changelog

## Version 1.7.1

### Minor Changes
* Dependency breaking changes are resolved.

## Version 1.7.0

### New Features and APIs
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![Build Status](https://github.com/splunk/splunk-sdk-java/actions/workflows/release.yml/badge.svg?branch=master)
# The Splunk Software Development Kit for Java

#### Version 1.7.0
#### Version 1.7.1

The Splunk Software Development Kit (SDK) for Java contains library code and
examples designed to enable developers to build applications using Splunk.
Expand Down Expand Up @@ -75,7 +75,7 @@ To add the Splunk SDK for Java `.JAR` file as a dependency:
<dependency>
<groupId>com.splunk</groupId>
<artifactId>splunk</artifactId>
<version>1.7.0</version>
<version>1.7.1</version>
</dependency>
</dependencies>
```
Expand Down
2 changes: 1 addition & 1 deletion deploy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare -r scriptDirectory="$(dirname $(readlink -e $0))"
declare -r scriptName="$(basename $0)"
declare -r version="1.7.0"
declare -r version="1.7.1"

if [[ $# -ne 1 ]]; then
echo 1>&2 "Usage: ${scriptName} {local|staging||production}"
Expand Down
32 changes: 16 additions & 16 deletions deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,30 @@ deploy \<repository-name>

##DESCRIPTION

Deploy transmits **target/splunk-1.7.0.jar**, **target/splunk-1.7.0-javadoc.jar**, and
**target/splunk-1.7.0-sources.jar** to the **local**, **staging**, or **production**
Deploy transmits **target/splunk-1.7.1.jar**, **target/splunk-1.7.1-javadoc.jar**, and
**target/splunk-1.7.1-sources.jar** to the **local**, **staging**, or **production**
maven repository. Repository names are mapped to locations as follows.

| repository-name | location |
|-----------------|----------------------------------------------------------------|
| local | file:///${HOME}/.m2/repository/ |
| staging | http://stg-artifactory:8081/artifactory/devplat-staging/ | |
| production | http://splunk.artifactoryonline.com/splunk/ext-releases-local/ |
| production | https://splunk.jfrog.io/artifactory/ext-releases-local/ |

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

com/splunk/splunk/1.7.0/
├── splunk-1.7.0-javadoc.jar
├── splunk-1.7.0-javadoc.jar.md5
├── splunk-1.7.0-javadoc.jar.sha1
├── splunk-1.7.0-sources.jar
├── splunk-1.7.0-sources.jar.md5
├── splunk-1.7.0-sources.jar.sha1
├── splunk-1.7.0.jar
├── splunk-1.7.0.jar.md5
├── splunk-1.7.0.jar.sha1
├── splunk-1.7.0.pom
├── splunk-1.7.0.pom.md5
└── splunk-1.7.0.pom.sha1
com/splunk/splunk/1.7.1/
├── splunk-1.7.1-javadoc.jar
├── splunk-1.7.1-javadoc.jar.md5
├── splunk-1.7.1-javadoc.jar.sha1
├── splunk-1.7.1-sources.jar
├── splunk-1.7.1-sources.jar.md5
├── splunk-1.7.1-sources.jar.sha1
├── splunk-1.7.1.jar
├── splunk-1.7.1.jar.md5
├── splunk-1.7.1.jar.sha1
├── splunk-1.7.1.pom
├── splunk-1.7.1.pom.md5
└── splunk-1.7.1.pom.sha1

Verify this structure prior to release.
2 changes: 1 addition & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<dependency>
<groupId>com.splunk</groupId>
<artifactId>splunk</artifactId>
<version>${version.number}</version>
<version>1.7.1</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>

<properties>
<version.number>1.7.0</version.number>
<version.number>1.7.1</version.number>
<maven.resources.overwrite>true</maven.resources.overwrite>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>8</maven.compiler.source>
Expand Down Expand Up @@ -60,7 +60,7 @@
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M1</version>
<configuration>
<skip>true</skip>
<skip>false</skip>
</configuration>
</plugin>
</plugins>
Expand Down
2 changes: 1 addition & 1 deletion splunk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>splunk</artifactId>
<version>${version.number}</version>
<version>1.7.1</version>
<parent>
<artifactId>splunk-sdk-java</artifactId>
<groupId>com.splunk</groupId>
Expand Down
2 changes: 1 addition & 1 deletion splunk/src/main/java/com/splunk/HttpService.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public boolean verify(String s, SSLSession sslSession) {
private String prefix = null;

static Map<String, String> defaultHeader = new HashMap<String, String>() {{
put("User-Agent", "splunk-sdk-java/1.7.0");
put("User-Agent", "splunk-sdk-java/1.7.1");
put("Accept", "*/*");
}};

Expand Down