mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
refactor(floci): regroup UI and DuckDB under services.floci (#1397)
Move the UI service classes (FlociUiManager, UiPages) into services.floci.ui and the DuckDB helper (FlociDuckClient, FlociDuckManager) into services.floci.duck, with tests mirrored. Pure package move: importers updated, no behavior change.
This commit is contained in:
1 parent
01b38bb4bb
commit
5cd48f0492
15 files changed
+18
-18
No files matched your search
@@ -7,7 +7,7 @@ import io.github.hectorvent.floci.lifecycle.inithook.InitializationHook;
|
||||
import io.github.hectorvent.floci.lifecycle.inithook.InitializationHooksRunner;
|
||||
import io.github.hectorvent.floci.services.ec2.Ec2MetadataServer;
|
||||
import io.github.hectorvent.floci.services.ecr.registry.EcrRegistryManager;
|
||||
import io.github.hectorvent.floci.services.ui.FlociUiManager;
|
||||
import io.github.hectorvent.floci.services.floci.ui.FlociUiManager;
|
||||
import io.github.hectorvent.floci.services.elasticache.container.ElastiCacheContainerManager;
|
||||
import io.github.hectorvent.floci.services.elasticache.container.ElastiCacheMemcachedContainerManager;
|
||||
import io.github.hectorvent.floci.services.elasticache.proxy.ElastiCacheProxyManager;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package io.github.hectorvent.floci.lifecycle;
|
||||
|
||||
import io.github.hectorvent.floci.services.ui.FlociUiManager;
|
||||
import io.github.hectorvent.floci.services.ui.FlociUiManager.UiStatus;
|
||||
import io.github.hectorvent.floci.services.ui.UiPages;
|
||||
import io.github.hectorvent.floci.services.floci.ui.FlociUiManager;
|
||||
import io.github.hectorvent.floci.services.floci.ui.FlociUiManager.UiStatus;
|
||||
import io.github.hectorvent.floci.services.floci.ui.UiPages;
|
||||
import jakarta.inject.Inject;
|
||||
import jakarta.ws.rs.GET;
|
||||
import jakarta.ws.rs.HeaderParam;
|
||||
|
||||
@@ -8,7 +8,7 @@ import io.github.hectorvent.floci.core.storage.StorageBackend;
|
||||
import io.github.hectorvent.floci.core.storage.StorageFactory;
|
||||
import io.github.hectorvent.floci.services.athena.model.*;
|
||||
import io.github.hectorvent.floci.services.glue.model.Column;
|
||||
import io.github.hectorvent.floci.services.floci.FlociDuckClient;
|
||||
import io.github.hectorvent.floci.services.floci.duck.FlociDuckClient;
|
||||
import io.github.hectorvent.floci.services.glue.GlueService;
|
||||
import io.github.hectorvent.floci.services.glue.model.Database;
|
||||
import io.github.hectorvent.floci.services.glue.model.Table;
|
||||
|
||||
@@ -4,7 +4,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import io.github.hectorvent.floci.config.EmulatorConfig;
|
||||
import io.github.hectorvent.floci.core.common.AwsException;
|
||||
import io.github.hectorvent.floci.core.common.UsageLine;
|
||||
import io.github.hectorvent.floci.services.floci.FlociDuckClient;
|
||||
import io.github.hectorvent.floci.services.floci.duck.FlociDuckClient;
|
||||
import io.github.hectorvent.floci.services.s3.S3Service;
|
||||
import io.github.hectorvent.floci.services.s3.model.Bucket;
|
||||
import jakarta.enterprise.context.ApplicationScoped;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package io.github.hectorvent.floci.services.floci;
|
||||
package io.github.hectorvent.floci.services.floci.duck;
|
||||
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package io.github.hectorvent.floci.services.floci;
|
||||
package io.github.hectorvent.floci.services.floci.duck;
|
||||
|
||||
import io.github.hectorvent.floci.config.EmulatorConfig;
|
||||
import io.github.hectorvent.floci.core.common.docker.ContainerBuilder;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package io.github.hectorvent.floci.services.ui;
|
||||
package io.github.hectorvent.floci.services.floci.ui;
|
||||
|
||||
import java.io.Closeable;
|
||||
import java.net.HttpURLConnection;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package io.github.hectorvent.floci.services.ui;
|
||||
package io.github.hectorvent.floci.services.floci.ui;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
@@ -87,13 +87,13 @@ public class S3Controller {
|
||||
private final S3SelectService s3SelectService;
|
||||
private final RegionResolver regionResolver;
|
||||
private final io.quarkus.vertx.http.runtime.CurrentVertxRequest currentVertxRequest;
|
||||
private final io.github.hectorvent.floci.services.ui.UiPages uiPages;
|
||||
private final io.github.hectorvent.floci.services.floci.ui.UiPages uiPages;
|
||||
|
||||
@Inject
|
||||
public S3Controller(S3Service s3Service, S3SelectService s3SelectService,
|
||||
RegionResolver regionResolver,
|
||||
io.quarkus.vertx.http.runtime.CurrentVertxRequest currentVertxRequest,
|
||||
io.github.hectorvent.floci.services.ui.UiPages uiPages) {
|
||||
io.github.hectorvent.floci.services.floci.ui.UiPages uiPages) {
|
||||
this.s3Service = s3Service;
|
||||
this.s3SelectService = s3SelectService;
|
||||
this.regionResolver = regionResolver;
|
||||
|
||||
@@ -2,7 +2,7 @@ package io.github.hectorvent.floci.services.s3;
|
||||
|
||||
import io.github.hectorvent.floci.core.common.AwsEventStreamEncoder;
|
||||
import io.github.hectorvent.floci.core.common.XmlParser;
|
||||
import io.github.hectorvent.floci.services.floci.FlociDuckClient;
|
||||
import io.github.hectorvent.floci.services.floci.duck.FlociDuckClient;
|
||||
import io.github.hectorvent.floci.services.s3.model.S3Object;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import jakarta.enterprise.context.ApplicationScoped;
|
||||
|
||||
Reference in new issue
Block a user