Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When a new tenant is added to a consortium, mod-consortia will create a dummy user with an affiliation in the tenant. So for every tenant /user-tenants will be populated with at least one user in its response. /user-tenants in the central tenant will contain the true list for the consortium.

URLMethodResponse

/user-tenants?limit=1

GET


Code Block
{
   "userTenants":[
      {
         "id":"uuid",
         "userId":"uuid",
         "username":"dummy_user",
         "tenantId":"member_tenant",
         "centralTenantId": "mobius",
         "consortiumId": "uuid
      }
   ],
   "totalRecords":1
}


Kafka

Info

Modules can subscribe to the CONSORTIUM_TENANTS Kafka topic to get a list of tenants that belong to a consortium. Each record will have its central tenant id embedded as well. Each module instance should be in its own consumer group.

...