Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

2.2.x #75

Open
wants to merge 42 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
62c161f
Upgrade to OrientDB v2.2.0
lvca May 19, 2016
6600914
Changed the groupId to be published as OrientDB. Bumped to version 0.11
lvca Jun 2, 2016
7a3dc50
Switched to v0.12-SNAPSHOT
lvca Jun 2, 2016
ce12c50
Updated dependency
lvca Jun 2, 2016
c1cf03a
Update README.md
lvca Jun 2, 2016
7990781
Update README.md
lvca Jun 2, 2016
51c99f4
fixes dependencies versions
robfrank Jun 2, 2016
5119685
Merge branch 'develop' of https://github.com/orientechnologies/spring…
robfrank Jun 2, 2016
73c6d46
updated to orientDB 2.2.6
robfrank Aug 11, 2016
394631d
adds gradle dependency section
robfrank Aug 12, 2016
ecf8d0f
cleanup implementation avoiding deprecated methods
robfrank Aug 15, 2016
7970f78
pom: project.parent.version instead of parent.version
robfrank Aug 15, 2016
c5a8e41
poms: project.version instead of project.parent.version
robfrank Aug 15, 2016
bfe509c
releasing OrientDB Spring Data 0.12
robfrank Aug 15, 2016
030d804
versions bumped to 0.13-SNAPSHOT
robfrank Aug 15, 2016
70d055a
adds delete support
robfrank Aug 31, 2016
f167298
moved to junit, new tests for delete support on object repository
robfrank Sep 1, 2016
d5cf6ec
adds example countBy method with annotated query to PersonRepository
robfrank Sep 2, 2016
73a3bdf
- orientDB version to 2.2.10
robfrank Sep 16, 2016
44d44b5
[maven-release-plugin] prepare release spring-data-orientdb-parent-0.13
robfrank Sep 16, 2016
8c6d642
[maven-release-plugin] prepare for next development iteration
robfrank Sep 16, 2016
9ed0e61
releasing Spring Data OrientDB 0.13
robfrank Sep 16, 2016
42c4afe
version bumped to 0.14-SNAPSHOT
robfrank Sep 16, 2016
c7641e4
- orientDB version to 2.2.11
robfrank Oct 12, 2016
49221a7
updates dependency verion to 0.13
robfrank Oct 13, 2016
dea1ee8
adds some tests and javadoc
robfrank Oct 13, 2016
db2f9ca
avoid threadlocal on AbstractOrientDatabaseFactory
robfrank Oct 14, 2016
18d9422
adds Jenkinsfilel for build pipeline
robfrank Nov 28, 2016
f8d13a6
updates srping boot and spring data versions.
robfrank Apr 24, 2017
1f62714
updates versions of dependencies
robfrank Apr 24, 2017
7e6dee8
updates versions to 2.2.19 and reformat some code
robfrank May 2, 2017
2837775
moved to java8
robfrank May 22, 2017
fca7f05
updates to OrientDB 2.2.21
robfrank Jun 1, 2017
e1aad88
version set to 0.14
robfrank Jun 1, 2017
9224163
version bumped to 0.15-SNAPSHOT
robfrank Jun 2, 2017
bef5eda
fixes docker image name
robfrank Aug 31, 2017
eb27821
Number of builds limited to 10
andrii0lomakin Nov 6, 2017
ac3272f
5GB memory limit is set
andrii0lomakin Nov 15, 2017
e1a4a7a
Memory limit is set to 4GB
andrii0lomakin Nov 17, 2017
1199662
Labels for docker monitoring were added
andrii0lomakin Nov 21, 2017
b690f3c
Memory locks were added
andrii0lomakin Nov 23, 2017
6b248a7
update spring-data and orientdb dependencies (security update)
luigidellaquila Jan 3, 2019
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
70 changes: 70 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,73 @@ target
*.ipr
*.iws
atlassian-ide-plugin.xml
### Maven template
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties

# Avoid ignoring Maven wrapper jar file (.jar files are usually ignored)
!/.mvn/wrapper/maven-wrapper.jar
### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff:
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/dictionaries

# Sensitive or high-churn files:
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.xml
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml

# Gradle:
.idea/**/gradle.xml
.idea/**/libraries

# Mongo Explorer plugin:
.idea/**/mongoSettings.xml

## File-based project format:

## Plugin-specific files:

# IntelliJ
/out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
### Gradle template
.gradle
/build/

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Cache of project
.gradletasknamecache

# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties
42 changes: 42 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#!groovy
node("master") {
properties([[$class : 'BuildDiscarderProperty',
strategy: [$class : 'LogRotator', artifactDaysToKeepStr: '',
artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10']]])

def mvnHome = tool 'mvn'
def mvnJdk8Image = "orientdb/mvn-gradle-zulu-jdk-8"

def containerName = env.JOB_NAME.replaceAll(/\//, "_") +
"_build_${currentBuild.number}"

def appNameLabel = "docker_ci";
def taskLabel = env.JOB_NAME.replaceAll(/\//, "_")


stage('Source checkout') {

checkout scm
}

stage('Run tests on Java8') {
lock("label": "memory", "quantity": 4) {
docker.image("${mvnJdk8Image}").inside("--label collectd_docker_app=${appNameLabel} --label collectd_docker_task=${taskLabel} " +
"--name ${containerName} --memory=4g ${env.VOLUMES}") {
try {

sh "${mvnHome}/bin/mvn --batch-mode -V -U -fae clean deploy -Dmaven.test.failure.ignore=true -Dsurefire.useFile=false"
} catch (e) {
currentBuild.result = 'FAILURE'

slackSend(color: 'bad', message: "FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})\n${e}")
} finally {
junit allowEmptyResults: true, testResults: '**/target/surefire-reports/TEST-*.xml'

}
}
}
}

}

60 changes: 58 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Spring Data OrientDB
====================
# Spring Data OrientDB

The primary goal of the [Spring Data](http://projects.spring.io/) project is to make it easier to build Spring-powered applications that use new data access technologies such as non-relational databases, map-reduce frameworks, and cloud based data services.

Expand All @@ -8,3 +7,60 @@ The SpringData OrientDB project will implement easy to use APIs for using Orient
The document module is based on the [Spring Data MongoDB](http://projects.spring.io/spring-data-mongodb/) project.

[![Build Status](https://drone.io/github.com/vidakovic/spring-data-orientdb/status.png)](https://drone.io/github.com/vidakovic/spring-data-orientdb/latest)

To include OrientDB Spring Data in your Java project via Maven, put one of the snippets below in your pom.xml or build.gradle

## Object API

### Dependency management

Maven
```xml
<dependency>
<groupId>com.orientechnologies</groupId>
<artifactId>spring-data-orientdb-object</artifactId>
<version>0.13</version>
</dependency>
```

Gradle:
```groovy
group: 'com.orientechnologies', name: 'spring-data-orientdb-object', version: '0.13'
```

### Example

To


## Graph API

Maven:
```xml
<dependency>
<groupId>com.orientechnologies</groupId>
<artifactId>spring-data-orientdb-graph</artifactId>
<version>0.13</version>
</dependency>
```

Gradle:
```groovy
group: 'com.orientechnologies', name: 'spring-data-orientdb-graph', version: '0.13'
```


### Document API
```xml
<dependency>
<groupId>com.orientechnologies</groupId>
<artifactId>spring-data-orientdb-document</artifactId>
<version>0.13</version>
</dependency>
```

Gradle:
```groovy
group: 'com.orientechnologies', name: 'spring-data-orientdb-document', version: '0.13'
```

20 changes: 20 additions & 0 deletions _base/script/upd_version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash
if [ -z "$1" -o -z "$2" -o -z "$3" ]
then
echo "SYNTAX ERROR, USE: upd-version.sh <root-path> <version-from> <version-to>"
exit
fi

echo "Updating version from $2 to $3 in directory $1 and subfolders"

TFILE="/tmp/out.tmp.$$"
for filename in $(grep -r "$2" --include "pom.xml" $1|cut -f 1 -d :)
do
if [ -f $filename -a -r $filename ]; then
#/bin/cp -f $filename ${filename}.old
sed "s/$2/$3/g" "$filename" > $TFILE && mv $TFILE "$filename"
else
echo "Error: Cannot read $filename"
fi
done
/bin/rm $TFILE 2>/dev/null
Loading