Skip to content

Commit 003ca25

Browse files
committed
Backport of v5.0
1 parent 87272e1 commit 003ca25

File tree

196 files changed

+5883
-1463
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

196 files changed

+5883
-1463
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ target
55
*.iml
66
.idea
77

8+
pom.xml.releaseBackup
9+
release.properties
10+
811
# Package Files #
912
*.jar
1013
*.war

DONATION.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Donations
2+
3+
I'm always happy for donations - to help with some hosting costs or to just get a beer & relax.
4+
5+
As I'm a firm believer in OSS I nevertheless have to pay once in a while for stuff - therefore feel free to contribute a bit:
6+
7+
## Patreon
8+
9+
[![patreon](https://c5.patreon.com/external/logo/become_a_patron_button.png)](https://www.patreon.com/derjust86)
10+
11+
## Liberapay
12+
[![liberapay](https://liberapay.com/assets/widgets/donate.svg)](https://en.liberapay.com/spring-data-dynamodb/donate)
13+
14+
## Paypal
15+
16+
[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CWVWF9DD73J5S)
17+
18+
## Beer
19+
20+
Send me a message if you are around in New York City.

ISSUE_TEMPLATE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Expected Behavior
2+
3+
4+
## Actual Behavior
5+
6+
7+
## Steps to Reproduce the Problem
8+
9+
1.
10+
1.
11+
1.
12+
13+
## Specifications
14+
15+
- Spring Data DynamoDB Version:
16+
- Spring Data Version:
17+
- AWS SDK Version:
18+
- Java Version:
19+
- Platform Details:
20+
21+
All those information are logged by `org.socialsignin.spring.data.dynamodb.repository.support.DynamoDBRepositoryFactory` on `INFO` level on startup.
22+
Or use `java -version` and `mvn dependency:tree | grep -E 'spring|aws'` to provide those version numbers.
23+

README.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
11
[![codecov.io](https://codecov.io/github/derjust/spring-data-dynamodb/coverage.svg?branch=master)](https://codecov.io/github/derjust/spring-data-dynamodb?branch=master) [![Build Status](https://travis-ci.org/derjust/spring-data-dynamodb.svg?branch=master)](https://travis-ci.org/derjust/spring-data-dynamodb)
22
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.derjust/spring-data-dynamodb/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.derjust/spring-data-dynamodb)
3+
[![Donation badge](https://img.shields.io/badge/Donate-%F0%9F%92%B8-DAA520.svg)](DONATION.md)
34

4-
# Spring Data DynamoDB #
5+
# ⚠ Planing to [transfer](https://help.github.com/articles/transferring-a-repository-owned-by-your-personal-account/) this repository to the [spring-data-dynamodb](https://github.com/spring-data-dynamodb) organization by the end of the month! ⚠ #
6+
Everything should stay the same for links/browsing - just Git `remote`s must be updated
57

6-
The primary goal of the [Spring Data](http://www.springsource.org/spring-data) project is to make it easier to build Spring-powered applications that use data access technologies. This module deals with enhanced support for [Amazon DynamoDB](https://aws.amazon.com/dynamodb/) based data access layers.
8+
9+
# Spring Data DynamoDB #
10+
11+
<img align="left" src="https://derjust.github.io/spring-data-dynamodb/banner/spring-data-dynamodb.png">
12+
13+
The primary goal of the [Spring® Data](http://www.springsource.org/spring-data) project is to make it easier to build Spring-powered applications that use data access technologies.
14+
15+
This module deals with enhanced support for a data access layer built on [AWS DynamoDB](https://aws.amazon.com/dynamodb/).
16+
17+
Technical infos can be found on the [project page](https://derjust.github.io/spring-data-dynamodb/).
718

819
## Supported Features ##
920

1021
* Implementation of CRUD methods for DynamoDB Entities
1122
* Dynamic query generation from query method names (Only a limited number of keywords and comparison operators currently supported)
12-
* Possibility to integrate [custom repository code](http://docs.spring.io/spring-data/jpa/docs/current/reference/html/#repositories.single-repository-behaviour)
23+
* Possibility to integrate [custom repository code](https://github.com/derjust/spring-data-dynamodb/wiki/Custom-repository-implementations)
1324
* Easy Spring annotation based integration
1425

1526
## Demo application ##
@@ -23,13 +34,14 @@ The major and minor number of this library refers to the compatible Spring frame
2334

2435
API changes will follow SEMVER and loosly the Spring Framework releases.
2536

26-
| `spring-data-dynamodb` version | Spring Framework compatibility | Spring Data compatibility |
27-
| ------------------------------- | ------------------------------ | ------------------------- |
28-
| 1.0.x | >= 3.1 && < 4.2 | |
29-
| 4.2.x | >= 4.2 && < 4.3 | Gosling-SR1 |
30-
| 4.3.x | >= 4.3 | Gosling-SR1 |
31-
| 4.4.x | >= 4.3 | Hopper-SR2 |
32-
| 4.5.x | >= 4.3 | Ingalls |
37+
| `spring-data-dynamodb` version | Spring Boot compatibility |Spring Framework compatibility | Spring Data compatibility |
38+
| ------------------------------- | ------------------------------ | ------------------------------ | ------------------------- |
39+
| 1.0.x | | >= 3.1 && < 4.2 | |
40+
| 4.2.x | >= 1.3.0 && < 1.4.0 | >= 4.2 && < 4.3 | Gosling-SR1 |
41+
| 4.3.x | >= 1.4.0 < 2.0 | >= 4.3 && < 5.0 | Gosling-SR1 |
42+
| 4.4.x | >= 1.4.0 < 2.0 | >= 4.3 && < 5.0 | Hopper-SR2 |
43+
| 4.5.x | >= 1.4.0 < 2.0 | >= 4.3 && < 5.0 | Ingalls |
44+
| 5.0.x | >= 2.0 | >= 5.0 | Kay-SR1 |
3345

3446
`spring-data-dynamodb` depends directly on `spring-data` as also `spring-context`, `spring-data` and `spring-tx`.
3547

@@ -44,7 +56,7 @@ Download the JAR though [Maven](http://mvnrepository.com/artifact/com.github.der
4456
<dependency>
4557
<groupId>com.github.derjust</groupId>
4658
<artifactId>spring-data-dynamodb</artifactId>
47-
<version>4.5.1</version>
59+
<version>4.5.5</version>
4860
</dependency>
4961
```
5062

@@ -58,7 +70,7 @@ repositories {
5870
dependencies {
5971
compile group: 'com.github.derjust',
6072
name: 'spring-data-dynamodb',
61-
version: '4.5.1'
73+
version: '4.5.5'
6274
}
6375
```
6476

@@ -139,6 +151,11 @@ public class User {
139151

140152
public User() {
141153
}
154+
155+
public User(String firstName, String lastName) {
156+
this.firstName = firstName;
157+
this.lastName = lastName;
158+
}
142159

143160
@DynamoDBHashKey
144161
@DynamoDBAutoGeneratedKey
@@ -273,20 +290,3 @@ And finally write a test client
273290

274291
## Advanced topics ##
275292
Advanced topics can be found in the [wiki](https://github.com/derjust/spring-data-dynamodb/wiki).
276-
277-
## Release process ##
278-
279-
Check `pom.xml` for the proper `<version />`, afterwards execute
280-
281-
```
282-
$ mvn release:prepare && mvn release:perform
283-
```
284-
285-
which will tag, build, test and upload the artifacts to Sonatype's OSS staging area.
286-
287-
Then visit
288-
https://oss.sonatype.org/#stagingRepositories
289-
and _close_ the staging repository.
290-
291-
Afterwards _release_ the staging repository. This will sync with Maven Central (give it some hours to become visible via http://search.maven.org/).
292-

RELEASE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Release process #
2+
3+
1. Check `pom.xml` for the proper `<version />` tag
4+
1. Check `pom.xml` SpecificaitonVersion entries
5+
1. Update `src/changes/changes.xml` timestamp of the release version
6+
1. Update `README.md` version for the Maven/Gradle examples
7+
8+
Then execute
9+
10+
```
11+
$ mvn release:prepare && mvn release:perform
12+
```
13+
14+
which will tag, build, test and upload the artifacts to Sonatype's OSS staging area & closes the staging repository.
15+
Maven Central synchronization usually takes ~15 minutes.
16+
17+
Finally create a new section in `src/changes/changes.xml`.

checkstyle.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
<?xml version="1.0"?>
2+
<!--
3+
4+
Copyright © 2013 spring-data-dynamodb (https://github.com/derjust/spring-data-dynamodb)
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
18+
-->
219
<!DOCTYPE module PUBLIC
320
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
421
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">

0 commit comments

Comments
 (0)