You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repo's maintainers are engineers at Basho and welcome your contribution to this project.
4
+
5
+
## How-to contribute to the Java client
6
+
7
+
**_IMPORTANT_**: This is an open source project licensed under the Apache 2.0 License. We encourage contributions to the project from the community. We ask that you keep in mind these considerations when planning your contribution.
8
+
9
+
* Whether your contribution is for a bug fix or a feature request, **create an [Issue](https://github.com/basho/riak-java-client/issues)** and let us know what you are thinking.
10
+
***For bugs**, if you have already found a fix, feel free to submit a Pull Request referencing the Issue you created.
11
+
***For feature requests**, we want to improve upon the library incrementally which means small changes at a time. In order ensure your PR can be reviewed in a timely manner, please keep PRs small, e.g. <10 files and <500 lines changed. If you think this is unrealistic, then mention that within the Issue and we can discuss it.
12
+
13
+
### Pull Request Process
14
+
15
+
Here’s how to get started:
16
+
17
+
* Fork the appropriate sub-projects that are affected by your change.
18
+
* Create a topic branch for your change and checkout that branch.
19
+
`git checkout -b some-topic-branch`
20
+
* Make your changes and run the test suite.
21
+
* Commit your changes and push them to your fork.
22
+
* Open pull-requests for the appropriate projects.
23
+
* Contributors will review your pull request, suggest changes, and merge it when it’s ready and/or offer feedback.
24
+
* To report a bug or issue, please open a new issue against this repository.
25
+
26
+
You can [read the full guidelines for bug reporting and code contributions](http://docs.basho.com/riak/latest/community/bugs/) on the Riak Docs.
@@ -39,7 +40,7 @@ This client is published to Maven Central and can be included in your project by
39
40
<dependency>
40
41
<groupId>com.basho.riak</groupId>
41
42
<artifactId>riak-client</artifactId>
42
-
<version>2.0.4</version>
43
+
<version>2.0.7</version>
43
44
</dependency>
44
45
...
45
46
</dependencies>
@@ -57,55 +58,112 @@ Also see [the Javadoc site](http://basho.github.io/riak-java-client/) for more i
57
58
58
59
## Contributing
59
60
60
-
#### `riak_pb` dependency
61
-
To build the Riak Java Client, you must have the correct version of the riak_pb dependency installed to your local Maven repository.
61
+
#### Integration Tests Setup
62
62
63
+
We've included Basho's [riak-client-tools](https://github.com/basho/riak-client-tools/) as a git submodule to help with Riak test setup and teardown.
64
+
You can find these tools in the `/tools` subdirectory.
65
+
66
+
To configure your single riak instance, you may use the [riak-cluster-config](https://github.com/basho/riak-client-tools/blob/master/devrel/riak-cluster-config) script to setup the node with the appropriate bucket types.
67
+
You can use it by running `tools/devrel/riak-cluster-config $PATH_TO_RIAK_ADMIN $RIAK_HTTP_PORT false false` with the appropriate paths and values filled in.
68
+
69
+
To configure a devrel for multiple node testing, please see the instructions located at [basho/riak-client-tools](https://github.com/basho/riak-client-tools/blob/master/devrel/README.md) on how to use the `devrel/setup-dev-cluster` command.
70
+
71
+
#### Running Integration Tests
72
+
73
+
To run the Riak KV integration test suite, execute:
74
+
```
75
+
make RIAK_PORT=8087 integration-test
76
+
```
77
+
78
+
To run the Riak TimeSeries test suite, execute:
63
79
```
64
-
git clone https://github.com/basho/riak_pb
65
-
git checkout java-2.1.1.0
66
-
mvn clean install
80
+
make RIAK_PORT=8087 integration-test-timeseries
67
81
```
68
82
83
+
When running tests directly from Maven, you may also turn feature sets on and off with system properties:
7) Run the Test suit with the com.basho.riak.security and com.basho.riak.security.clientcert flags set to
108
-
true
163
+
7) Run `integration-test-security` target of the makefile.
164
+
```
165
+
make integration-test-security
166
+
```
109
167
110
168
111
169
This repository's maintainers are engineers at Basho and we welcome your contribution to the project! Review the details in [CONTRIBUTING.md](CONTRIBUTING.md) in order to give back to this project.
@@ -123,7 +181,7 @@ Thank you for being part of the community!
123
181
TODO
124
182
125
183
## License and Authors
126
-
**The Riak Java** Client is Open Source software released under the Apache 2.0 License. Please see the [LICENSE](LICENSE) file for full license details.
184
+
**The Riak Java Client** is Open Source software released under the Apache 2.0 License. Please see the [LICENSE](LICENSE) file for full license details.
Copy file name to clipboardExpand all lines: RELNOTES.md
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,43 @@
1
1
Release Notes
2
2
=============
3
3
4
+
### 2.0.8
5
+
6
+
Following issues / PRs addressed:
7
+
8
+
*[Upgrade Netty to 4.1.5 to address higher memory usage with Netty 4.1.3](https://github.com/basho/riak-java-client/pull/671)
9
+
10
+
### 2.0.7
11
+
12
+
**Notes**
13
+
* This will be the last version of Riak Java Client that supports Java 7.
14
+
* Some of the changes are binary-incompatible with RJC 2.0.6, so you will need to recompile your project with this new version.
15
+
16
+
Following issues / PRs addressed:
17
+
18
+
*[Fixed - Disallow 0 as a timeout value for TimeSeries operations](https://github.com/basho/riak-java-client/pull/662)
19
+
* Fixed - In `RiakUserMetadata#containsKey()`, use the charset method parameter when encoding the key [[1]](https://github.com/basho/riak-java-client/pull/558), [[2]](https://github.com/basho/riak-java-client/pull/646)
20
+
* Fixed - Don't return success to update future after fetch future error [[1]](https://github.com/basho/riak-java-client/pull/633), [[2]](https://github.com/basho/riak-java-client/pull/636)
21
+
*[Fixed - Demoted "channel close" log messages to info level](https://github.com/basho/riak-java-client/pull/637)
22
+
*[Fixed - Made domain name more invalid for `UnknownHostException` test](https://github.com/basho/riak-java-client/pull/641)
23
+
*[Fixed - Separate Content-type and charset in `RiakObject`](https://github.com/basho/riak-java-client/pull/647)
24
+
*[Fixed - BinaryValue JSON encoding for MapReduce inputs](https://github.com/basho/riak-java-client/pull/655)
25
+
*[Fixed - Catch & handle `BlockingOperationException` in `RiakNode#execute`](https://github.com/basho/riak-java-client/pull/661)
* Added `equals()`, `hashCode()`, `toString()` to `RiakObject` and associated files [[1]](https://github.com/basho/riak-java-client/pull/557), [[2]](https://github.com/basho/riak-java-client/pull/648)
28
+
* Added `getLocation()` to `KvResponseBase`[[1]](https://github.com/basho/riak-java-client/pull/606), [[2]](https://github.com/basho/riak-java-client/pull/643)
29
+
*[Added creation of `RiakClient` from a collection of `HostAndPort` objects](https://github.com/basho/riak-java-client/pull/607)
30
+
* Added overload of `RiakClient#execute` that accepts a timeout [[1]](https://github.com/basho/riak-java-client/pull/610), [[2]](https://github.com/basho/riak-java-client/pull/642)
31
+
*[Added shortcut commands for $bucket and $key 2i indices](https://github.com/basho/riak-java-client/pull/652)
32
+
*[Added `isNotFound()` field to data type responses](https://github.com/basho/riak-java-client/pull/654)
33
+
* Added - Dataplatform / Riak Spark Connector changes merged back into main client [[1]](https://github.com/basho/riak-java-client/pull/621), [[2]](https://github.com/basho/riak-java-client/pull/626), [[3]](https://github.com/basho/riak-java-client/pull/644), [[4]](https://github.com/basho/riak-java-client/pull/659), [[5]](https://github.com/basho/riak-java-client/pull/665)
34
+
*[Updated plugins and dependencies](https://github.com/basho/riak-java-client/pull/631)
35
+
*[Updated TS objects and Commands for TS 1.4](https://github.com/basho/riak-java-client/pull/651)
36
+
*[Enhanced - Made Integration Tests Great Again](https://github.com/basho/riak-java-client/pull/657)
Special thanks to @bwittwer, @stela, @gerardstannard, @christopherfrieler, @guidomedina, @Tolsi, @hankipanky, @gfbett, @TimurFayruzov, @urzhumskov, @srgg, @aleksey-suprun, @jbrisbin, @christophermancini, and @lukebakken for all the PRs, reported issues, and reviews.
0 commit comments