As a Galasa ecosystem user, I want to only load the auth store in the API server, so that I avoid the added overhead of loading the auth store in ecosystem test pods.
Background
We've recently discovered a need for having a separate API framework to load bundles (like the auth store) only required by the API server. Currently, the auth store is loaded in the core framework if the framework.auth.store property is set, which means it gets loaded in test pods and test pods don't need to use the auth store.
The new API server equivalent of the framework initialisation should handle the registration of API server-specific services, and will likely need a new bootstrap property similar to the framework.extra.bundles property but for loading bundles specific to the API server. Something like api.extra.bundles?
Tasks
[x] Add an API server equivalent of the framework initialisation class to load the auth store and any other services that are only used by the API server
[x] Add a new bootstrap property to load bundles that will be only available to the API server
[x] Update the helm chart to include the new bootstrap property to load the CouchDB auth store bundle dev.galasa.auth.couchdb
[x] Test that the new API framework works as expected on ecosystem1 and prod1
Story
As a Galasa ecosystem user, I want to only load the auth store in the API server, so that I avoid the added overhead of loading the auth store in ecosystem test pods.
Background
We've recently discovered a need for having a separate API framework to load bundles (like the auth store) only required by the API server. Currently, the auth store is loaded in the core framework if the
framework.auth.store
property is set, which means it gets loaded in test pods and test pods don't need to use the auth store.The new API server equivalent of the framework initialisation should handle the registration of API server-specific services, and will likely need a new bootstrap property similar to the
framework.extra.bundles
property but for loading bundles specific to the API server. Something likeapi.extra.bundles
?Tasks
dev.galasa.auth.couchdb