This repository has been archived by the owner on May 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(one-app): removed tenancy or tenant instances (#69)
* feat(one-app): removed tenancy or tenant instances * feat(one-app): implemented pr comments * feat(one-app): updated with PR comments * feat(one-app): ran build successfully * feat(one-app): integeration test pass * feat(one-app): integration test pass * feat(one-app): integration tests pass Co-authored-by: James Singleton <james.singleton1@aexp.com> Co-authored-by: Nelly Kiboi <nelly.j.kiboi@aexp.com> Co-authored-by: Jonny Adshead <JAdshead@users.noreply.github.com>
- Loading branch information
1 parent
bbbefaf
commit 1b6a5e5
Showing
20 changed files
with
45 additions
and
45 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
12 changes: 6 additions & 6 deletions
12
__tests__/server/utils/__snapshots__/onModuleLoad.spec.jsx.snap
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,15 +1,15 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`onModuleLoad includes messages about all missing or incompatible externals 1`] = ` | ||
"dep-a@^2.0.0 is required by my-awesome-module, but tenant root module provides 3.2.0 | ||
dep-b@~5.8.0 is required by my-awesome-module, but tenant root module provides 5.9.6 | ||
External 'dep-d' is required by my-awesome-module, but is not provided by tenant root module" | ||
"dep-a@^2.0.0 is required by my-awesome-module, but the root module provides 3.2.0 | ||
dep-b@~5.8.0 is required by my-awesome-module, but the root module provides 5.9.6 | ||
External 'dep-d' is required by my-awesome-module, but is not provided by the root module" | ||
`; | ||
|
||
exports[`onModuleLoad throws if the tenant root module does not provide the expected external 1`] = `"External 'dep-b' is required by my-awesome-module, but is not provided by tenant root module"`; | ||
exports[`onModuleLoad throws if the root module does not provide the expected external 1`] = `"External 'dep-b' is required by my-awesome-module, but is not provided by the root module"`; | ||
|
||
exports[`onModuleLoad throws if the tenant root module provides an incompatible version of a required external 1`] = `"dep-a@^2.1.1 is required by my-awesome-module, but tenant root module provides 2.1.0"`; | ||
exports[`onModuleLoad throws if the root module provides an incompatible version of a required external 1`] = `"dep-a@^2.1.1 is required by my-awesome-module, but the root module provides 2.1.0"`; | ||
|
||
exports[`onModuleLoad throws when the one app version is incompatible 1`] = `"some-module@1.0.2 is not compatible with this version of one-app (4.43.0-0), it requires ~4.41.0."`; | ||
|
||
exports[`onModuleLoad validates csp added to tenant module 1`] = `"Root module must provide a valid content security policy"`; | ||
exports[`onModuleLoad validates csp added to the root module 1`] = `"Root module must provide a valid content security policy"`; |
4 changes: 2 additions & 2 deletions
4
__tests__/server/utils/__snapshots__/safeRequest.spec.js.snap
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,6 +1,6 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`safeRequest validateSafeRequestRestrictedAttributes throws error when missing in safeRequest 1`] = ` | ||
"Tenant root must extendSafeRequestRestrictedAttributes with cookies: [jaffa-cake] | ||
Tenant root must extendSafeRequestRestrictedAttributes with headers: [secret-id]" | ||
"Root module must extendSafeRequestRestrictedAttributes with cookies: [jaffa-cake] | ||
Root module must extendSafeRequestRestrictedAttributes with headers: [secret-id]" | ||
`; |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# frank-lloyd-root | ||
|
||
Tenancy root module for integration tests. This specific version has a valid configuration. | ||
Root module for integration tests. This specific version has a valid configuration. |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# frank-lloyd-root | ||
|
||
Tenancy root module for integration tests. This specific version has an invalid configuration. | ||
Root module for integration tests. This specific version has an invalid configuration. |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# frank-lloyd-root | ||
|
||
Tenancy root module for integration tests. This specific version has a alternate valid configuration. | ||
Root module for integration tests. This specific version has a alternate valid configuration. |
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