Commit Graph

96 Commits

Author SHA1 Message Date
Fredrik Adelöw 40b7e88ca2 Merge pull request #26927 from davidfestal/refactor-dynamic-plugins
Refactor dynamic plugins
2024-10-14 16:28:13 +02:00
Fredrik Adelöw 307c8ab6b6 Update packages/backend-dynamic-feature-service/src/features/features.test.ts
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-10-14 15:49:18 +02:00
David Festal 67f98d051d Fix review comments
Signed-off-by: David Festal <dfestal@redhat.com>
2024-10-08 15:32:53 +02:00
github-actions[bot] 56a811849a Version Packages (next) 2024-10-08 11:42:14 +00:00
David Festal bb5b95f613 refactor(backend-dynamic-feature-service): all-in-one feature integration tests
Signed-off-by: David Festal <dfestal@redhat.com>
2024-10-07 15:20:02 +02:00
David Festal 4c89e4759d refactor(backend-dynamic-feature-service): allow passing an async module loader in the DynamicPluginsFeatureLoaderOptions.
Signed-off-by: David Festal <dfestal@redhat.com>
2024-10-07 15:19:43 +02:00
David Festal d18d4942f9 refactor(backend-dynamic-feature-service): single line activation.
- DynamicPlugins service is restored, since it is required for plugins to depend on it in order to get the details of loaded dynamic plugins
- An all-in-one feature loader is provided that allows  1-liner installation of both the dynamic features and  additional services or plugins required to have the dynamic plugins work correctly with dynamic plugins config schemas.

Signed-off-by: David Festal <dfestal@redhat.com>
2024-10-07 15:19:20 +02:00
David Festal e6c05502d5 refactor(backend-dynamic-feature-service): better load failure management...
... and other small enhancements (e.g. ability to get the `ScannedPluginPackage` of a loaded plugin).

Signed-off-by: David Festal <dfestal@redhat.com>
2024-10-07 15:19:20 +02:00
github-actions[bot] c42c710982 Version Packages (next) 2024-10-01 09:20:36 +00:00
github-actions[bot] 96864c8386 Version Packages (next) 2024-09-24 09:04:06 +00:00
secustor 831571c251 merge new changes
Signed-off-by: secustor <sebastian@poxhofer.at>
2024-09-23 14:54:45 +02:00
secustor c28596309f update files
Signed-off-by: secustor <sebastian@poxhofer.at>
2024-09-23 14:41:40 +02:00
secustor 65da28ad53 add newly generated api reports
Signed-off-by: secustor <sebastian@poxhofer.at>
2024-09-23 14:41:34 +02:00
Patrik Oldsberg 2f88f88882 docs: remove function call from all backend feature installation instructions
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-09-18 15:22:41 +02:00
Fredrik Adelöw 094eaa367b remove backend-common
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-09-17 17:09:00 +02:00
github-actions[bot] 698adeb1ea Version Packages 2024-09-17 13:19:01 +00:00
github-actions[bot] 47358815d6 Version Packages (next) 2024-09-10 13:56:19 +00:00
github-actions[bot] 582092fb23 Version Packages (next) 2024-09-03 14:38:01 +00:00
github-actions[bot] 911bbe0d92 Version Packages (next) 2024-08-27 11:41:57 +00:00
Camila Belo 7a72ec899b refactor: apply review suggestions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-08-27 10:49:03 +02:00
Camila Belo cd38da88ba refactor: convert discovery services into feature loaders
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-08-26 12:05:25 +02:00
Patrik Oldsberg 92c2779172 Merge pull request #26106 from gashcrumb/feature-compat-wrapper-fix
backend-dynamic-feature-service: expand type check
2024-08-21 11:38:55 +02:00
Stan Lewis e27f889d12 backend-dynamic-feature-service: expand type check
This change caters for backend dynamic plugins that have been wrapped by
BackendFeatureCompatWrapper by expanding the allowed types for the
default export of a dynamic plugin to also be a function.

Signed-off-by: Stan Lewis <gashcrumb@gmail.com>
2024-08-20 11:16:56 -04:00
Fredrik Adelöw a0211926ab tweak wording
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-08-20 13:28:23 +02:00
Fredrik Adelöw 9080f57970 remove service compat too
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-08-20 13:26:25 +02:00
Fredrik Adelöw d425fc4dfd remove the backend feature compat callback pattern
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-08-20 13:26:13 +02:00
github-actions[bot] 2a2c84ba68 Version Packages 2024-08-20 08:56:34 +00:00
Camila Belo fc24d9ebf0 refactor: stop using backend-tasks in packages and plugins
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-08-19 15:48:21 +02:00
Camila Belo 2acc278202 docs: update api reports
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-08-15 13:29:28 +02:00
Johan Haals 38f3827e5a Remove deprecated UrlReaders and update usages
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-15 13:28:21 +02:00
Johan Haals 7cbaf4aab1 chore: re-add package role
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-14 14:44:16 +02:00
Johan Haals 30691778a4 chore: fix newline
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-14 14:32:04 +02:00
Johan Haals 5cee28573e Delete WinstonLogger from backend-defaults, instead import from backend-defaults
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-14 14:32:04 +02:00
Johan Haals f24ba909bf backend-app-api: Move deprecated loadBackendConfig to backend-common
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-14 14:32:03 +02:00
Camila Belo d45026fbf1 fix(backend-dynamic-feature-service): fix root lifecycle service factory import
Signed-off-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-14 14:32:02 +02:00
Johan Haals 24bed62544 backend-app-api: Remove deprecated service implementations
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-14 14:32:02 +02:00
github-actions[bot] 003494838b Version Packages (next) 2024-08-13 13:59:06 +00:00
github-actions[bot] 120319d2b5 Version Packages (next) 2024-08-06 13:15:32 +00:00
Patrik Oldsberg dbeb90ff09 Merge pull request #25593 from backstage/mob/nbs10-service-modules
[NBS 1.0] Enabling multiple service implementations
2024-08-06 15:09:23 +02:00
github-actions[bot] 58bbb3edca Version Packages (next) 2024-07-30 12:26:11 +00:00
github-actions[bot] 4a8774820c Version Packages (next) 2024-07-23 14:02:37 +00:00
Camila Belo 7c5f3b0297 refactor: use string types for service instance occurrences
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-07-16 16:50:00 +02:00
Camila Belo 11aaaa496a feat: start implementing multiple service factories
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-07-16 16:44:57 +02:00
github-actions[bot] 8d2fe707cb Version Packages 2024-07-16 12:06:55 +00:00
Patrik Oldsberg 062c01c7c4 backend-plugin-api: deprecate service factories with callback form
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-07-10 12:30:33 +02:00
github-actions[bot] 08c63d46ac Version Packages (next) 2024-07-02 09:03:14 +00:00
github-actions[bot] f03d12aff2 Version Packages (next) 2024-06-25 13:05:56 +00:00
github-actions[bot] 18a40424cb Version Packages 2024-06-18 12:37:38 +00:00
Fredrik Adelöw 78a0b086d2 Make createBackendPlugin and createBackendModule return BackendFeature instead of () => BackendFeature
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-06-13 15:56:24 +02:00
github-actions[bot] e83ead9b1a Version Packages (next) 2024-06-11 15:25:17 +00:00