-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from osstotalsoft/feature/tenant-config-updates
Updates for SaaS platform - Key Per File Configuration [@totalsoft/key-per-file-configuration](https://github.com/osstotalsoft/rocket-toolkit/tree/main/packages/key-per-file-configuration) - Tenant configuration [@totalsoft/tenant-configuration](https://github.com/osstotalsoft/rocket-toolkit/tree/main/packages/tenant-configuration) - Refactored multitenancy to use configuration instead of DB - Removed ExternalTenantId - Other minor fixes
- Loading branch information
Showing
42 changed files
with
361 additions
and
14,502 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
**/.vscode | ||
**/.git | ||
**/.gitignore | ||
**/Dockerfile* | ||
**/node_modules | ||
LICENSE | ||
README.md | ||
.dockerignore | ||
.eslintrc.json | ||
.husky | ||
.prettierrc | ||
coverage | ||
GitVersion.yml | ||
__mocks__ | ||
helm | ||
.env.development |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<%_ if(withMultiTenancy){ _%> | ||
MultiTenancy__Defaults__ConnectionStrings__MyDatabase__OtherParams= | ||
MultiTenancy__Defaults__ConnectionStrings__MyDatabase__Server= | ||
MultiTenancy__Tenants__tenant1__ConnectionStrings__MyDatabase__Database= | ||
MultiTenancy__Tenants__tenant1__ConnectionStrings__MyDatabase__UserName= | ||
MultiTenancy__Tenants__tenant1__ConnectionStrings__MyDatabase__Password= | ||
MultiTenancy__Tenants__tenant1__TenantId= | ||
<%_}_%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
generators/app/templates/infrastructure/__mocks__/opentracing.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
const opentracing = jest.genMockFromModule('opentracing'); | ||
const opentracing = jest.createMockFromModule('opentracing'); | ||
|
||
opentracing.globalTracer = jest.fn().mockReturnValue({ | ||
startSpan: jest.fn().mockReturnValue({ | ||
log: jest.fn(), | ||
setTag: jest.fn(), | ||
finish: jest.fn() | ||
}), | ||
finish: jest.fn() | ||
finish: jest.fn(), | ||
extract: jest.fn() | ||
}); | ||
|
||
module.exports = opentracing; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.