refactor: rename `iox_catalog_service` to `service_grpc_catalog` for consistency (#4581)

* refactor: rename `iox_catalog_service` to `service_grpc_catalog`

* fix: fmt

* fix: alphabetize crate

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
pull/24376/head
Andrew Lamb 2022-05-13 10:07:58 -04:00 committed by GitHub
parent 04160d29e6
commit 35d80fc512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 20 additions and 20 deletions

32
Cargo.lock generated
View File

@ -2371,21 +2371,6 @@ dependencies = [
"workspace-hack", "workspace-hack",
] ]
[[package]]
name = "iox_catalog_service"
version = "0.1.0"
dependencies = [
"data_types",
"generated_types",
"iox_catalog",
"metric",
"observability_deps",
"tokio",
"tonic",
"uuid 0.8.2",
"workspace-hack",
]
[[package]] [[package]]
name = "iox_data_generator" name = "iox_data_generator"
version = "0.1.0" version = "0.1.0"
@ -4512,7 +4497,6 @@ dependencies = [
"hashbrown 0.12.1", "hashbrown 0.12.1",
"hyper", "hyper",
"iox_catalog", "iox_catalog",
"iox_catalog_service",
"iox_time", "iox_time",
"lazy_static", "lazy_static",
"metric", "metric",
@ -4529,6 +4513,7 @@ dependencies = [
"schema", "schema",
"serde", "serde",
"serde_urlencoded", "serde_urlencoded",
"service_grpc_catalog",
"service_grpc_object_store", "service_grpc_object_store",
"service_grpc_schema", "service_grpc_schema",
"siphasher", "siphasher",
@ -5027,6 +5012,21 @@ dependencies = [
"workspace-hack", "workspace-hack",
] ]
[[package]]
name = "service_grpc_catalog"
version = "0.1.0"
dependencies = [
"data_types",
"generated_types",
"iox_catalog",
"metric",
"observability_deps",
"tokio",
"tonic",
"uuid 0.8.2",
"workspace-hack",
]
[[package]] [[package]]
name = "service_grpc_flight" name = "service_grpc_flight"
version = "0.1.0" version = "0.1.0"

View File

@ -24,7 +24,6 @@ members = [
"influxrpc_parser", "influxrpc_parser",
"ingester", "ingester",
"iox_catalog", "iox_catalog",
"iox_catalog_service",
"iox_data_generator", "iox_data_generator",
"iox_gitops_adapter", "iox_gitops_adapter",
"iox_tests", "iox_tests",
@ -60,6 +59,7 @@ members = [
"service_grpc_influxrpc", "service_grpc_influxrpc",
"service_grpc_flight", "service_grpc_flight",
"service_grpc_object_store", "service_grpc_object_store",
"service_grpc_catalog",
"service_grpc_schema", "service_grpc_schema",
"service_grpc_testing", "service_grpc_testing",
"sqlx-hotswap-pool", "sqlx-hotswap-pool",

View File

@ -14,7 +14,7 @@ generated_types = { path = "../generated_types" }
hashbrown = "0.12" hashbrown = "0.12"
hyper = "0.14" hyper = "0.14"
iox_catalog = { path = "../iox_catalog" } iox_catalog = { path = "../iox_catalog" }
iox_catalog_service = { path = "../iox_catalog_service"} service_grpc_catalog = { path = "../service_grpc_catalog"}
iox_time = { path = "../iox_time" } iox_time = { path = "../iox_time" }
metric = { path = "../metric" } metric = { path = "../metric" }
mutable_batch = { path = "../mutable_batch" } mutable_batch = { path = "../mutable_batch" }

View File

@ -10,12 +10,12 @@ use generated_types::{
}; };
use hashbrown::HashMap; use hashbrown::HashMap;
use iox_catalog::interface::Catalog; use iox_catalog::interface::Catalog;
use iox_catalog_service::CatalogService;
use metric::U64Counter; use metric::U64Counter;
use mutable_batch::MutableBatch; use mutable_batch::MutableBatch;
use object_store::DynObjectStore; use object_store::DynObjectStore;
use observability_deps::tracing::*; use observability_deps::tracing::*;
use schema::selection::Selection; use schema::selection::Selection;
use service_grpc_catalog::CatalogService;
use service_grpc_object_store::ObjectStoreService; use service_grpc_object_store::ObjectStoreService;
use service_grpc_schema::SchemaService; use service_grpc_schema::SchemaService;
use std::sync::Arc; use std::sync::Arc;

View File

@ -1,5 +1,5 @@
[package] [package]
name = "iox_catalog_service" name = "service_grpc_catalog"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"