0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test
Naz 98c27b5555 Added multiple adapters capability to adapter manager
refs https://linear.app/tryghost/issue/CORE-1/multiple-adapters-per-type

- There's a need to support multiple adapter variations per given adapter type (storage, sso, etc.)
- With the introduced changes we can specify a version of an adapter that should be fetched based on `:feature` postfix. For example:

`adapterManager.getAdapter('storage')` -  would return the default adapter listed under "active" configuration
`adapterManager.getAdapter('storage:videos') - would return an adapter configured for videos *feature*

- Here's an example configuration for a custom video storage:
```
"storage": {
    "active": "LocalFileStorage",
    "videos": "ghost-storage-custom-video",
    "ghost-storage-custom-video": {
        "custom": "configHere"
    }
}
```
2021-10-21 20:22:45 +13:00
..
e2e-api Fixed failing custom theme settings API tests 2021-10-20 13:31:41 +01:00
e2e-frontend Updated e2e tests to be async/await 2021-10-06 15:51:05 +01:00
e2e-server Removed remaining usage of i18n & translation file 2021-10-15 11:39:07 +01:00
integration Moved URL service to backend 2021-10-19 07:29:09 +13:00
regression 🐛 Fixed URLs not being correctly transformed during insert operations (#13618) 2021-10-20 15:22:46 +01:00
unit Added multiple adapters capability to adapter manager 2021-10-21 20:22:45 +13:00
utils Colocated mock-express style utilities 2021-10-20 13:18:35 +01:00
.eslintignore
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc