blob: 62e3cca63447b8b55b3cc986566d5cd35638f1fc [file] [log] [blame]
///////////////////////////////////////////////////////////////
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
///////////////////////////////////////////////////////////////
[[extension-es-riak,Riak EntityStore]]
= Riak EntityStore =
[devstatus]
--------------
source=extensions/entitystore-riak/dev-status.xml
--------------
EntityStore service backed by a http://basho.com/[Riak] bucket.
The EntityStore comes in two flavours: HTTP or ProtocolBuffer based. See the Riak documentation.
include::../../build/docs/buildinfo/artifact.txt[]
== Assembly ==
Assembly is done using the provided Assemblers.
For HTTP based Riak client:
[snippet,java]
----
source=extensions/entitystore-riak/src/test/java/org/qi4j/entitystore/riak/RiakHttpMapEntityStoreTest.java
tag=assembly
----
For ProtocolBuffer based Riak client:
[snippet,java]
----
source=extensions/entitystore-riak/src/test/java/org/qi4j/entitystore/riak/RiakProtobufMapEntityStoreTest.java
tag=assembly
----
== Configuration ==
Here are the configuration properties for the HTTP based Riak client:
[snippet,java]
----
source=extensions/entitystore-riak/src/main/java/org/qi4j/entitystore/riak/RiakHttpEntityStoreConfiguration.java
tag=config
----
Here are the configuration properties for the ProtocolBuffer based Riak client:
[snippet,java]
----
source=extensions/entitystore-riak/src/main/java/org/qi4j/entitystore/riak/RiakProtobufEntityStoreConfiguration.java
tag=config
----