diff --git a/galasa-extensions-parent/dev.galasa.auth.couchdb/src/main/java/dev/galasa/auth/couchdb/internal/CouchdbAuthStoreRegistration.java b/galasa-extensions-parent/dev.galasa.auth.couchdb/src/main/java/dev/galasa/auth/couchdb/internal/CouchdbAuthStoreRegistration.java index 0a728c09..5b237f39 100644 --- a/galasa-extensions-parent/dev.galasa.auth.couchdb/src/main/java/dev/galasa/auth/couchdb/internal/CouchdbAuthStoreRegistration.java +++ b/galasa-extensions-parent/dev.galasa.auth.couchdb/src/main/java/dev/galasa/auth/couchdb/internal/CouchdbAuthStoreRegistration.java @@ -19,7 +19,7 @@ import dev.galasa.extensions.common.impl.HttpRequestFactoryImpl; import dev.galasa.extensions.common.api.HttpRequestFactory; import dev.galasa.extensions.common.impl.LogFactoryImpl; -import dev.galasa.framework.spi.IFrameworkInitialisation; +import dev.galasa.framework.spi.IApiServerInitialisation; import dev.galasa.framework.spi.SystemEnvironment; import dev.galasa.framework.spi.auth.IAuthStoreRegistration; import dev.galasa.framework.spi.utils.SystemTimeService; @@ -53,18 +53,18 @@ public CouchdbAuthStoreRegistration(HttpClientFactory httpClientFactory, HttpReq * This method checks that the auth store is a remote URL reference, and if true * registers a new couchdb auth store as the only auth store. * - * @param frameworkInitialisation Parameters this extension can use to to + * @param apiServerInitialisation Parameters this extension can use to to * initialise itself. * @throws AuthStoreException if there was a problem accessing the auth store. */ @Override - public void initialise(IFrameworkInitialisation frameworkInitialisation) throws AuthStoreException { + public void initialise(IApiServerInitialisation apiServerInitialisation) throws AuthStoreException { - URI authStoreUri = frameworkInitialisation.getAuthStoreUri(); + URI authStoreUri = apiServerInitialisation.getAuthStoreUri(); if (isUriReferringToThisExtension(authStoreUri)) { try { - frameworkInitialisation.registerAuthStore( + apiServerInitialisation.registerAuthStore( new CouchdbAuthStore( authStoreUri, httpClientFactory, diff --git a/galasa-extensions-parent/dev.galasa.extensions.mocks/src/main/java/dev/galasa/extensions/mocks/MockFrameworkInitialisation.java b/galasa-extensions-parent/dev.galasa.extensions.mocks/src/main/java/dev/galasa/extensions/mocks/MockFrameworkInitialisation.java index 1a22b849..ad2df992 100644 --- a/galasa-extensions-parent/dev.galasa.extensions.mocks/src/main/java/dev/galasa/extensions/mocks/MockFrameworkInitialisation.java +++ b/galasa-extensions-parent/dev.galasa.extensions.mocks/src/main/java/dev/galasa/extensions/mocks/MockFrameworkInitialisation.java @@ -11,13 +11,13 @@ import dev.galasa.framework.spi.ConfidentialTextException; import dev.galasa.framework.spi.DynamicStatusStoreException; import dev.galasa.framework.spi.EventsException; +import dev.galasa.framework.spi.IApiServerInitialisation; import dev.galasa.framework.spi.ICertificateStoreService; import dev.galasa.framework.spi.IConfidentialTextService; import dev.galasa.framework.spi.IConfigurationPropertyStore; import dev.galasa.framework.spi.IDynamicStatusStore; import dev.galasa.framework.spi.IEventsService; import dev.galasa.framework.spi.IFramework; -import dev.galasa.framework.spi.IFrameworkInitialisation; import dev.galasa.framework.spi.IResultArchiveStoreService; import dev.galasa.framework.spi.ResultArchiveStoreException; import dev.galasa.framework.spi.auth.IAuthStore; @@ -28,7 +28,7 @@ import java.net.URI; import java.util.*; -public class MockFrameworkInitialisation implements IFrameworkInitialisation { +public class MockFrameworkInitialisation implements IApiServerInitialisation { protected URI authStoreUri; protected URI cpsBootstrapUri;