Questions tagged [multi-tenant]

A principle in software architecture where a single instance of the software runs on a server, serving multiple client organizations (tenants).

Multi-tenancy allows multiple users (tenants) to use an application which runs on the same computer. This can be done in two ways:

  • Multiple instances
  • Share instance

The multiple instances pattern runs an application instance for each user, for example by using virtual machines. The obvious downside of this is the resource requirement, as each instance requires allocated memory.

Multi-tenancy is also regarded as one of the essential attributes of Cloud Computing and Software as a Service (SaaS)

3009 questions
1
vote
2 answers

Custom resolve of registered type on runtime in multi-tenant architecture with Autofac

I'm facing a problem where I need to implement some sort of a custom resolver for registered types in Autofac. My setup looks like this: I have a multi tenant architecture where I have several databases (one per tenant, all sharing the same schema).…
honk
  • 581
  • 4
  • 19
1
vote
1 answer

Referencing a value from a spring config

First a bit of setup info: I have a multi-tenant spring based application. The multi-tenant enabling library is an in-house developed tool where I work that I have to use. How it works is that there is an interceptor that sets in front of the…
tas2826
  • 51
  • 5
1
vote
1 answer

Dynamic paths for laravel 5

While building multi-tenancy packages for Laravel 5 I had to find out how to make the paths and namespaces dynamic. This would involve: views; adding a template directory dynamically that is available in the root namespace lang; adding a language…
Luceos
  • 6,629
  • 1
  • 35
  • 65
1
vote
1 answer

Multi tenancy project

I have a website, that will work with multiple companies. I need to have remote repository with project and I want to be able to create a separate copy of this project for each company and separate database too. Every company should have its own url…
1
vote
1 answer

ejb+JPA Multi-tenancy with hibernate4, could not complete schema update: java.lang.NullPointerException

Now I have an application with jpa(hibernate4) mutlitenancy, but there are some exceptions, I use ejb3+jpa+wildfly, I don't know where is wrong, only one message java lang nullponinterexception: Could not complete schema update:…
Xiang Zhou
  • 11
  • 1
1
vote
1 answer

Run multiple applications from the same WAR file with Jetty

I have a web application which runs on Jetty. I pack my applications as .war and then deploy it on the server. I would like to serve the same application to multiple tenants without copying the whole project with different name each time. The only…
Emin
  • 270
  • 1
  • 2
  • 13
1
vote
1 answer

How do I get all values of each Extension_ID

I have a multitenant schema and here is my Query to retrieve the Column name from 1 table and values from another table. SELECT MAX(CASE WHEN TME.EXTENSION_ID = '555' THEN EXT.value END) A, MAX(CASE WHEN TME.EXTENSION_ID = '556' THEN EXT.value END)…
Katie
  • 763
  • 1
  • 9
  • 21
1
vote
2 answers

Hibernate multitenancy test fails with NPE

I'm using schema based multi-tenancy providing implementations for both MultiTenantConnectionProvider & CurrentTenantIdentifierResolver. Trying to get a hibernate session for a single tenant fails with an NPE. Looking into hibernate's source code,…
1
vote
1 answer

How to consent an app and its dependent services in AAD

I created a multi-tenant MVC application that has a dependency on two services in the same directory. The RequiredResourceAccess section of the manifest looks like this: "requiredResourceAccess": [ { "resourceAppId":…
MvdD
  • 22,082
  • 8
  • 65
  • 93
1
vote
0 answers

Invalid JavaScript path with MVC Multitenancy without Razor syntax

Scenario: We have an API that we are building an Angular single page app for, and we require multiple tenants. Each tenant has specific access credentials that allow them to interact with their database. But I have to allow for the tenant to take…
tlewis
  • 441
  • 3
  • 7
1
vote
0 answers

How to design a multi tenant mysql database in phpMyAdmin

I am looking forward to setup a Multi tenant database model on mysql. One database with multiple schemas. I am attaching a screenshot, i created this in phpMyAdmin, i am not sure what is schema here and what is database, Can you help me decode…
1
vote
2 answers

Entity Framework - Set DB based on sub-domain

I'm looking for the best way to set the database based on a sub-domain using entity framework. Connect to Master DB using default EF process Read sub-domain of current request Access Master DB to read the connection string of the sub-domain Set EF…
Bob
  • 3,074
  • 11
  • 43
  • 62
1
vote
4 answers

How to check creation date of postgres schema?

For debugging purposes I would like to know when are some of my postgres schemas created at- is it possible? Searched from PostgreSQL and Apartment docs but didn't find any helpful clues. Environment and tools I'm…
1
vote
1 answer

How to use Autofac Modules with Muti-Tenant container?

How is it possible to use Autofac's Modules combined with the Multitenant package? This is my bootstrapping part for Autofac: var builder = new ContainerBuilder(); // only very basic common registrations here... // everything else is in…
Beachwalker
  • 7,685
  • 6
  • 52
  • 94
1
vote
0 answers

Failed having default tenant to connect to a Multi-tenant application

I want to migrate an existing single-tenant application to multi-tenant application. The first step is to create a default tenant and get it connect to the application, the code is as following: the model : @Entity …
user_24434
  • 87
  • 8
1 2 3
99
100