Skip to content

Commit

Permalink
Merge remote-tracking branch 'Simon/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
hongwei1 committed Mar 11, 2019
2 parents 7f4a3be + e8137cd commit bb30bfb
Show file tree
Hide file tree
Showing 5 changed files with 1,032 additions and 10 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ This project is dual licensed under the AGPL V3 (see NOTICE) and commercial lice

The project uses Maven 3 as its build tool.

To compile and run jetty, install Maven 3, create your configuration in src/main/resources/props/default.props and execute:
To compile and run jetty, install Maven 3, create your configuration in obp-api/src/main/resources/props/default.props and execute:

./mvn.sh install -pl obp-commons && ./mvn.sh jetty:run -pl obp-api
./mvn.sh install -pl .,obp-commons && ./mvn.sh jetty:run -pl obp-api

## To run with IntelliJ IDEA

Expand All @@ -64,7 +64,7 @@ To compile and run jetty, install Maven 3, create your configuration in src/main

* Now **Rebuild** the project so everything is compiled. At this point you may need to select the SDK, see above.

* Once you have rebuilt the project wihtout compile errors, you should be able to RunWebApp in src/test/scala
* Once you have rebuilt the project wihtout compile errors, you should be able to RunWebApp in obp-api/src/test/scala

* Run RunWebApp by right clicking on it or selecting Run. The built in jetty server should start on localhost:8080

Expand Down Expand Up @@ -153,7 +153,7 @@ Note: Your Java environment may need to be setup correctly to use SSL

Restart OBP-API, if you get an error, check your Java environment can connect to the host over SSL.

Note you can change the log level in /src/main/resources/default.logback.xml (try TRACE or DEBUG)
Note you can change the log level in /obp-api/src/main/resources/default.logback.xml (try TRACE or DEBUG)

There is a gist / tool which is useful for this. Search the web for SSLPoke. Note this is an external repository.

Expand Down Expand Up @@ -287,7 +287,7 @@ If Kafka connector is selected in props (connector=kafka), Kafka and Zookeeper h

* Configuration

* Edit the OBP-API/src/main/resources/props/default.props so that it contains the following lines. Please note that
* Edit the OBP-API/obp-api/src/main/resources/props/default.props so that it contains the following lines. Please note that
kafka.host is used by the producer and kafka.zookeeper_host is used by the consumer. This should be done on each node:

connector=kafka
Expand Down Expand Up @@ -466,7 +466,7 @@ You can obfuscate passwords in the props file the same way as for jetty:
* db.url=OBF:fdsafdsakwaetcetcetc

## Rate Limiting
We support rate limiting i.e functionality to limit calls per consumer key (App). Only `New Style Endpoins` support it. The list of they can be found at this fie: https://github.com/OpenBankProject/OBP-API/blob/develop/src/main/scala/code/api/util/NewStyle.scala.
We support rate limiting i.e functionality to limit calls per consumer key (App). Only `New Style Endpoins` support it. The list of they can be found at this file: https://github.com/OpenBankProject/OBP-API/blob/develop/obp-api/src/main/scala/code/api/util/NewStyle.scala.
There are two supported modes:
* In-Memory
* Redis
Expand Down
2 changes: 1 addition & 1 deletion obp-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.tesobe</groupId>
<artifactId>obp-api-parent</artifactId>
<artifactId>obp-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.0</version>
</parent>
Expand Down
2 changes: 1 addition & 1 deletion obp-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.tesobe</groupId>
<artifactId>obp-api-parent</artifactId>
<artifactId>obp-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.0</version>
</parent>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<modelVersion>4.0.0</modelVersion>
<groupId>com.tesobe</groupId>
<artifactId>obp-api-parent</artifactId>
<artifactId>obp-parent</artifactId>
<version>1.0</version>
<packaging>pom</packaging>
<name>Open Bank Project API Parent</name>
Expand All @@ -30,8 +30,8 @@
</properties>

<modules>
<module>obp-api</module>
<module>obp-commons</module>
<module>obp-api</module>
</modules>

<repositories>
Expand Down
Loading

0 comments on commit bb30bfb

Please sign in to comment.