This repository was archived by the owner on Jan 10, 2020. It is now read-only.
File tree 3 files changed +12
-14
lines changed
src/test/java/org/arangodb/objectmapper/test
3 files changed +12
-14
lines changed Original file line number Diff line number Diff line change 1
- ![ ArangoDB-Logo] ( https://www .arangodb.org/wp-content/uploads/2012/10/logo_arangodb_transp .png )
1
+ ![ ArangoDB-Logo] ( https://docs .arangodb.com/assets/arangodb_logo_2016_inverted .png )
2
2
3
3
arangodb object mapper
4
4
=========================
5
5
6
- [ ![ Build Status] ( https://secure.travis-ci.org/triAGENS/arangodb-objectmapper.png )] ( http://travis-ci.org/triAGENS/arangodb-objectmapper )
7
-
8
6
A simple object mapper (based on [ Jackson] ( http://wiki.fasterxml.com/JacksonHome ) ) to store java objects into a ArangoDB database.
9
7
10
8
11
9
Installation & Testing
12
10
=======================
13
11
14
12
Please check the
15
- [ ArangoDB Installation Manual ] ( http ://www.arangodb.org/manuals/current/InstallManual.html )
13
+ [ ArangoDB Documentation ] ( https ://www.arangodb.com/documentation/ )
16
14
for installation and compilation instructions.
17
15
18
16
Start ArangoDB on localhost port 8529.
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >org.arangodb.objectmapper</groupId >
8
8
<artifactId >arangodb-objectmapper</artifactId >
9
- <version >2.0.6-SNAPSHOT </version >
9
+ <version >2.0.8 </version >
10
10
11
11
<name >ArangoDB object mapper for Java</name >
12
12
<description >Java ODM for ArangoDB</description >
19
19
<dependency >
20
20
<groupId >org.apache.httpcomponents</groupId >
21
21
<artifactId >httpclient</artifactId >
22
- <version >4.5.6 </version >
22
+ <version >4.5.7 </version >
23
23
</dependency >
24
24
<dependency >
25
25
<groupId >log4j</groupId >
174
174
<owner >arangodb-helper</owner >
175
175
<repository >arangodb-objectmapper</repository >
176
176
<server >github-oauth</server >
177
- <tagName >${project.version} </tagName >
177
+ <tagName >v ${project.version} </tagName >
178
178
<assets >
179
179
<asset >target/arangodb-objectmapper-${project.version} .jar</asset >
180
180
<asset >target/arangodb-objectmapper-${project.version} -sources.jar</asset >
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ private Properties loadPropertiesFromFile() {
106
106
107
107
try {
108
108
109
- LOG .debug ("Try to load Properties from " + BaseTestCase .class .getResource ("/arangodb.properties" ).getFile ());
109
+ LOG .info ("Try to load Properties from " + BaseTestCase .class .getResource ("/arangodb.properties" ).getFile ());
110
110
111
111
InputStream resourceAsStream = BaseTestCase .class .getResourceAsStream ("/arangodb.properties" );
112
112
props .load (resourceAsStream );
@@ -115,13 +115,13 @@ private Properties loadPropertiesFromFile() {
115
115
116
116
props .forEach ((key , val ) -> {
117
117
118
- String systemPropName = key .toString ().replace ("." , "_" );
119
- LOG .debug ("Check Env " + systemPropName + " for override of " + key );
120
- String systemProp = System .getProperty ( systemPropName );
118
+ String systemEnvName = key .toString ().replace ("." , "_" );
119
+ LOG .debug ("Check Env " + systemEnvName + " for override of " + key );
120
+ String systemEnv = System .getenv ( systemEnvName );
121
121
122
- if (systemProp != null ) {
123
- LOG .info ("Found System Property for " + key + " with Value " + systemProp );
124
- props .put (key , systemProp );
122
+ if (systemEnv != null ) {
123
+ LOG .info ("Found Env Property for " + key + " with Value " + systemEnv );
124
+ props .put (key , systemEnv );
125
125
}
126
126
127
127
});
You can’t perform that action at this time.
0 commit comments