Merge pull request #15 from aasaru/FINCN-180
Fincn 180
diff --git a/README.md b/README.md
index c34bfb7..530a891 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-# Apache Fineract CN Deposit Account Management [![Build Status](https://api.travis-ci.com/apache/fineract-cn-deposit-account-management.svg?branch=develop)](https://travis-ci.com/apache/fineract-cn-deposit-account-management) [![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/apache/fineract-cn-deposit-account-management)](https://hub.docker.com/r/apache/fineract-cn-deposit-account-management/builds) [![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/apache/fineract-cn-deposit-account-management)](https://hub.docker.com/r/apache/fineract-cn-deposit-account-management/builds)
+# Apache Fineract CN Deposit Account Management [![Build Status](https://api.travis-ci.com/apache/fineract-cn-deposit-account-management.svg?branch=develop)](https://travis-ci.com/apache/fineract-cn-deposit-account-management) [![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/apache/fineract-cn-deposit-account-management)](https://hub.docker.com/r/apache/fineract-cn-deposit-account-management/builds)
-This project provides a services to create deposit accounts, e.g. checking, savings, and shares. [Read more](https://cwiki.apache.org/confluence/display/FINERACT/Fineract+CN+Project+Structure#FineractCNProjectStructure-deposit-account-management).
+This project provides a services to create deposit accounts, e.g. checking, savings, and shares.
[Read more](https://cwiki.apache.org/confluence/display/FINERACT/Fineract+CN+Project+Structure#FineractCNProjectStructure-deposit-account-management).
diff --git a/build.gradle b/build.gradle
index b125a56..6ceedbf 100644
--- a/build.gradle
+++ b/build.gradle
@@ -73,3 +73,8 @@
dependsOn gradle.includedBuild('service').task(':rat')
dependsOn gradle.includedBuild('component-test').task(':rat')
}
+
+task dependencies {
+ group 'other'
+ dependsOn gradle.includedBuild('service').task(':htmlDependencyReport')
+}
diff --git a/service/build.gradle b/service/build.gradle
index e32bdde..dc4325f 100644
--- a/service/build.gradle
+++ b/service/build.gradle
@@ -36,6 +36,7 @@
}
apply from: '../shared.gradle'
+apply plugin: 'project-report'
bootRepackage {
enabled = true
@@ -53,8 +54,7 @@
[group: 'org.apache.fineract.cn', name: 'lang', version: versions.frameworklang],
[group: 'org.apache.fineract.cn', name: 'async', version: versions.frameworkasync],
[group: 'org.apache.fineract.cn', name: 'cassandra', version: versions.frameworkcassandra],
- [group: 'org.apache.fineract.cn', name: 'postgresql', version: versions.frameworkmariadb],
- [group: 'org.apache.fineract.cn', name: 'postgresql', version: '0.1.0-BUILD-SNAPSHOT'],
+ [group: 'org.apache.fineract.cn', name: 'postgresql', version: versions.frameworkpostgresql],
[group: 'org.apache.fineract.cn', name: 'command', version: versions.frameworkcommand],
[group: 'org.apache.fineract.cn.accounting', name: 'api', version: versions.frameworkledger],
[group: 'org.apache.fineract.cn.rhythm', name: 'spi', version: versions.frameworkrhythm],
diff --git a/service/src/main/resources/application.yml b/service/src/main/resources/application.yml
index ddc8986..26e8854 100644
--- a/service/src/main/resources/application.yml
+++ b/service/src/main/resources/application.yml
@@ -23,16 +23,13 @@
enabled: false
config:
enabled: false
- datasource:
- driver-class-name: org.postgresql.Driver
- url: jdbc:postgresql://localhost:5432/playground
- username: postgres
- password: postgres
eureka:
client:
serviceUrl:
defaultZone: http://localhost:8761/eureka/
+ instance:
+ homePageUrl: "http://${eureka.hostname}:2027/deposit/v1/"
server:
port: 2027
diff --git a/shared.gradle b/shared.gradle
index 3f78922..5d8ffee 100644
--- a/shared.gradle
+++ b/shared.gradle
@@ -19,18 +19,18 @@
version '0.1.0-BUILD-SNAPSHOT'
ext.versions = [
- frameworkapi : '0.1.0-BUILD-SNAPSHOT',
- frameworklang : '0.1.0-BUILD-SNAPSHOT',
- frameworkasync : '0.1.0-BUILD-SNAPSHOT',
- frameworkcassandra: '0.1.0-BUILD-SNAPSHOT',
- frameworkmariadb : '0.1.0-BUILD-SNAPSHOT',
- frameworkcommand : '0.1.0-BUILD-SNAPSHOT',
- frameworktest : '0.1.0-BUILD-SNAPSHOT',
- frameworkanubis : '0.1.0-BUILD-SNAPSHOT',
- frameworkledger : '0.1.0-BUILD-SNAPSHOT',
- frameworkrhythm : '0.1.0-BUILD-SNAPSHOT',
- javamoneylib : '0.9-SNAPSHOT',
- validator : '5.3.0.Final'
+ frameworkapi : '0.1.0-BUILD-SNAPSHOT',
+ frameworklang : '0.1.0-BUILD-SNAPSHOT',
+ frameworkasync : '0.1.0-BUILD-SNAPSHOT',
+ frameworkcassandra : '0.1.0-BUILD-SNAPSHOT',
+ frameworkpostgresql: '0.1.0-BUILD-SNAPSHOT',
+ frameworkcommand : '0.1.0-BUILD-SNAPSHOT',
+ frameworktest : '0.1.0-BUILD-SNAPSHOT',
+ frameworkanubis : '0.1.0-BUILD-SNAPSHOT',
+ frameworkledger : '0.1.0-BUILD-SNAPSHOT',
+ frameworkrhythm : '0.1.0-BUILD-SNAPSHOT',
+ javamoneylib : '0.9-SNAPSHOT',
+ validator : '5.3.0.Final'
]
tasks.withType(JavaCompile) {
@@ -60,7 +60,7 @@
dependencies {
compile(
[group: 'com.google.code.findbugs', name: 'jsr305'],
- [group: 'org.apache.fineract.cn', name: 'postgresql', version: '0.1.0-BUILD-SNAPSHOT']
+ [group: 'org.apache.fineract.cn', name: 'postgresql', version: versions.frameworkpostgresql]
)
testCompile(
@@ -87,7 +87,7 @@
}
}
}
-artifactoryPublish.dependsOn('clean','publishToMavenLocal')
+artifactoryPublish.dependsOn('publishToMavenLocal')
license {
header rootProject.file('../HEADER')