diff --git a/build.gradle b/build.gradle index c927b94d..931e5dba 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ plugins { subprojects { - version = "0.3.5" + version = "0.3.6" apply plugin: 'com.adarshr.test-logger' apply plugin: 'com.github.ben-manes.versions' diff --git a/org.mbari.vars.services/src/main/java/org/mbari/vars/services/ServicesBuilder.java b/org.mbari.vars.services/src/main/java/org/mbari/vars/services/ServicesBuilder.java index 7ddc25c5..eb1a4b54 100644 --- a/org.mbari.vars.services/src/main/java/org/mbari/vars/services/ServicesBuilder.java +++ b/org.mbari.vars.services/src/main/java/org/mbari/vars/services/ServicesBuilder.java @@ -29,7 +29,7 @@ public class ServicesBuilder { private final ServiceConfig appConfig; private final Executor defaultExecutor = new ForkJoinPool(); - private static class Prefs { + public static class Prefs { final PreferencesFactory preferencesFactory; final PreferencesService preferencesService; @@ -68,7 +68,7 @@ private Services build() { prefs.getPreferencesFactory()); } - private AnnoService buildAnnotationService() { + public AnnoService buildAnnotationService() { ServiceConfig.ServiceParams params = appConfig.getAnnotationServiceParamsV1(); AnnoWebServiceFactory factory = new AnnoWebServiceFactory(params.getEndpoint(), params.getTimeout()); AuthService authService = new BasicJWTAuthService(factory, @@ -87,7 +87,7 @@ private AnnoServiceV2 buildAnnotationV2Service() { return new AnnoServiceV2(factory, authService); } - private MediaService buildMediaService() { + public MediaService buildMediaService() { ServiceConfig.ServiceParams params = appConfig.getMediaServiceParamsV1(); VamWebServiceFactory factory = new VamWebServiceFactory(params.getEndpoint(), params.getTimeout()); AuthService authService = new BasicJWTAuthService(factory, @@ -95,7 +95,7 @@ private MediaService buildMediaService() { return new VamService(factory, authService); } - private ConceptService buildConceptService() { + public ConceptService buildConceptService() { ServiceConfig.ServiceParams params = appConfig.getConceptServiceParamsV1(); KBWebServiceFactory factory = new KBWebServiceFactory(params.getEndpoint(), params.getTimeout(), defaultExecutor);