[ 
https://issues.apache.org/jira/browse/FINERACT-650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Terence Denzil Monteiro updated FINERACT-650:
---------------------------------------------
    Description: 
Setup fineract with multiple tenants, each with a different domain sharing a 
common IP address using a front-end server like Nginx or Apache, with reverse 
proxy to Tomcat. Setup also a default server when no domain is called (plain IP 
address).

Create sample client / loan templates using client fields like displayName. The 
mapper shows as tenantIdentifier=default even for non-default tenants. Change 
it to the correct tenantIdentifier.

Call the client / loan template and check the server logs.

An entry will be found in the log for the template of the tenant and another 
entry will be found in the log for the default server (with plain IP). This 
shows that in order to generate the template, the application calls the mapper 
without using the correct domain with which the template was called. I tested 
this from the Community App and also used curl to call the API directly.

  was:
Setup fineract with multiple tenants, each with a different domain sharing a 
common IP address using a front-end server like Nginx or Apache, with reverse 
proxy to Tomcat. Setup also a default server when no domain is called (plain IP 
address).

Create sample client / loan templates using client fields like displayName. The 
mapper shows as tenantIdentifier=default even for non-default tenants. Change 
it to the correct tenantIdentifier.

Call the client / loan template and check the server logs.

An entry will be found in the log for the template of the tenant and another 
entry will be found in the log for the default server (with plain IP). This 
shows that in order to generate the template, fineract calls the mapper without 
using the correct domain with which the template was called. I tested this from 
the Community App and also used curl to call the API directly.


> Templates on multi-domain multi-tenant Setups call IP address
> -------------------------------------------------------------
>
>                 Key: FINERACT-650
>                 URL: https://issues.apache.org/jira/browse/FINERACT-650
>             Project: Apache Fineract
>          Issue Type: Bug
>            Reporter: Terence Denzil Monteiro
>            Priority: Major
>
> Setup fineract with multiple tenants, each with a different domain sharing a 
> common IP address using a front-end server like Nginx or Apache, with reverse 
> proxy to Tomcat. Setup also a default server when no domain is called (plain 
> IP address).
> Create sample client / loan templates using client fields like displayName. 
> The mapper shows as tenantIdentifier=default even for non-default tenants. 
> Change it to the correct tenantIdentifier.
> Call the client / loan template and check the server logs.
> An entry will be found in the log for the template of the tenant and another 
> entry will be found in the log for the default server (with plain IP). This 
> shows that in order to generate the template, the application calls the 
> mapper without using the correct domain with which the template was called. I 
> tested this from the Community App and also used curl to call the API 
> directly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to