Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multi-tenancy (OSOE-364) #80

Closed
7 tasks done
Piedone opened this issue Sep 5, 2021 · 1 comment · Fixed by #207
Closed
7 tasks done

Support multi-tenancy (OSOE-364) #80

Piedone opened this issue Sep 5, 2021 · 1 comment · Fixed by #207
Assignees
Labels
enhancement New feature or request

Comments

@Piedone
Copy link
Member

Piedone commented Sep 5, 2021

Currently, the Toolbox has some references to the Default site. If we want to test multi-tenancy, i.e. creating and launching tenants, then this needs to be extended.

  • Update TenantTests too.
  • Needs prefixing in GoToPageAsync() and in GoToRelativeUrlAsync().
  • Needs refactoring of CreateAndEnterTenantAsync().
  • Support multi-tenancy with SQL Server. The logic changing the SQL Server connection string in the appsettings.json file can be substituted with using the [Database Shells Configuration Provider](https://docs.orchardcore.net/en/latest/docs/reference/core/Shells/#database-shells-configuration-provider and changing all connection strings in a query.
  • Support multi-tenancy with Azure Blob Storage. The logic in AzureBlobStorageManager can be changed to use a templated {{ ShellSettings.Name }} BasePath.
  • Support multi-tenancy for snapshots.
  • Refactor Lombiq.Hosting.Tenants.FeaturesGuard.Tests.UI.Extensions.TestCaseUITestContextExtensions.
@sarahelsaig
Copy link
Member

The usage of "Default" could be replaced with UITestContext.TenantName which is already used by the TypedRoute. It's currently always set to "Default" and the user must manually change it, but it could be initialized using the way you described.

@github-actions github-actions bot changed the title Support multi-tenancy Support multi-tenancy (OSOE-364) Sep 18, 2022
@Piedone Piedone self-assigned this Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants