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
Thank you for your interest in contributing to the Open Bank Project!
7
+
8
+
## Pull requests
9
+
10
+
If submitting a pull request please read and sign our [CLA](http://github.com/OpenBankProject/OBP-API/blob/develop/Harmony_Individual_Contributor_Assignment_Agreement.txt) and send it to contact@tesobe.com - We'll send you back a code to include in the comment section of subsequent pull requests.
11
+
12
+
Please reference Issue Numbers in your commits.
13
+
14
+
## Code comments
15
+
16
+
Please comment your code ! :-) Imagine an engineer is trying to fix a production issue: she is working on a tiny screen, via a dodgy mobile Internet connection, in a sandstorm - Your code is fresh in your mind. Your comments could help her!
17
+
18
+
## Issues
19
+
20
+
If would like to report an issue or suggest any kind of improvement please use Github Issues.
21
+
22
+
## Licenses
23
+
24
+
Open Bank Project API, API Explorer and Sofi are dual licenced under the AGPL and commercial licenses. Open Bank Project SDKs are licenced under Apache 2 or MIT style licences.
25
+
26
+
Please see the NOTICE for each project licence.
27
+
28
+
## Setup and Tests
29
+
30
+
See the README for instructions on setup and running the tests :-)
mvn -DwildcardSuites=code.api.directloginTest test
98
+
39
99
40
100
----
41
101
42
-
# Databases:
102
+
## Ubuntu
103
+
104
+
If you use Ubuntu (or a derivate) and encrypted home directories (e.g. you have ~/.Private), you might run into the following error when the project is built:
105
+
106
+
uncaught exception during compilation: java.io.IOException
107
+
[ERROR] File name too long
108
+
[ERROR] two errors found
109
+
[DEBUG] Compilation failed (CompilerInterface)
110
+
111
+
The current workaround is to move the project directory onto a different partition, e.g. under /opt/ .
112
+
113
+
114
+
## Databases:
115
+
116
+
The default database for testing etc is H2. PostgreSQL is used for the sandboxes (user accounts, metadata, transaction cache).
117
+
118
+
## Sandbox data
119
+
120
+
To populate the OBP database with sandbox data:
121
+
122
+
1) In your Props file, set allow_sandbox_data_import=true
123
+
2) In your Props files, set sandbox_data_import_secret=YOUR-KEY-HERE
124
+
3) Now you can POST the sandbox json found in src/main/scala/code/api/sandbox/example_data/example_import.json to /sandbox/v1.0/data-import?secret_token=YOUR-KEY-HERE
125
+
4) If successful you should get 201 Created.
126
+
127
+
128
+
## Kafka (optional):
129
+
130
+
If Kafka connector is selected in props (connector=kafka), Kafka and Zookeeper have to be installed, as well as OBP-Kafka-Python (which can be either running from command-propmpt or from inside Docker container):
131
+
132
+
* Kafka and Zookeeper can be installed using system's default installer or by unpacking the archives (http://apache.mirrors.spacedump.net/kafka/ and http://apache.mirrors.spacedump.net/zookeeper/)
133
+
134
+
* OBP-Kafka-Python can be downloaded from https://github.com/OpenBankProject/OBP-Kafka-Python
135
+
136
+
137
+
## Scala / Lift
138
+
139
+
* We use scala and liftweb http://www.liftweb.net/
0 commit comments