[ 
https://issues.apache.org/jira/browse/FINCN-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16950379#comment-16950379
 ] 

Juhan Aasaru commented on FINCN-180:
------------------------------------

[~Kwesi] I already started work on this. Also the data source configuration 
should be removed completely, it should not point to seshat.

I also learned that there was a problem with 
PostgreSQLTenantBasedJavaConfiguration {

it was missing @Bean on line 37 

[https://github.com/apache/fineract-cn-postgresql/pull/7] fixes the problem 
with multi-tenancy.

 

 

I will test this for a couple of days after that we can merge.

 

> spring data source config points at DB 'playground' instead of 'seshat'
> -----------------------------------------------------------------------
>
>                 Key: FINCN-180
>                 URL: https://issues.apache.org/jira/browse/FINCN-180
>             Project: Fineract Cloud Native
>          Issue Type: Bug
>            Reporter: Juhan Aasaru
>            Assignee: Ebenezer Graham
>            Priority: Major
>              Labels: volunteer
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Several repositories have:
>  spring.datasource.url: jdbc:postgresql://localhost:5432/playground
> But it should be:
> spring.datasource.url: jdbc:postgresql://localhost:5432/seshat
> Playground is database used by example tenant.
> Incorrect config found:
> [https://github.com/apache/fineract-cn-reporting/blob/develop/service/src/main/resources/application.yml#L28]
> [https://github.com/apache/fineract-cn-office/blob/develop/service/src/main/resources/application.yml#L28]
> [https://github.com/apache/fineract-cn-group/blob/develop/service/src/main/resources/application.yml#L45]
> [https://github.com/apache/fineract-cn-template/blob/develop/service/src/main/resources/application.yml#L28]
> [https://github.com/apache/fineract-cn-teller/blob/develop/service/src/main/resources/application.yml#L28]
> [https://github.com/apache/fineract-cn-accounting/blob/develop/service/src/main/resources/application.yml#L28]
> [https://github.com/apache/fineract-cn-payroll/blob/develop/service/src/main/resources/application.yml#L28]
> [https://github.com/apache/fineract-cn-portfolio/blob/develop/service/src/main/resources/application.yml#L28]
> [https://github.com/apache/fineract-cn-deposit-account-management/blob/develop/service/src/main/resources/application.yml#L28]
> [https://github.com/apache/fineract-cn-notifications/blob/develop/service/src/main/resources/application.yml#L28]
> [https://github.com/apache/fineract-cn-cheques/blob/develop/service/src/main/resources/application.yml#L28]
> [https://github.com/apache/fineract-cn-customer/blob/develop/service/src/main/resources/application.yml#L28]
> Should be like this:
> [https://github.com/apache/fineract-cn-rhythm/blob/develop/service/src/main/resources/application.yml#L29]
> This has been incorrectly introduced with MariaDB->Postgresql migration.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to