diff --git a/dozer-types/build.rs b/dozer-types/build.rs index 129be23b33..e9d2bb68c2 100644 --- a/dozer-types/build.rs +++ b/dozer-types/build.rs @@ -76,9 +76,13 @@ fn main() -> Result<(), Box> { ".dozer.cloud.SnowflakeConfig", "crate::ingestion_types::SnowflakeConfig", ) + .extern_path( + ".dozer.cloud::grpc_config::Schemas", + "crate::ingestion_types::GrpcConfigSchemas", + ) .extern_path( ".dozer.cloud.GrpcConfig", - "crate::models::connection::GrpcConfig", + "crate::ingestion_types::GrpcConfig", ) .extern_path( ".dozer.cloud.EthereumConfig", diff --git a/dozer-types/protos/cloud.proto b/dozer-types/protos/cloud.proto index 568987d11b..6f8dabfc44 100644 --- a/dozer-types/protos/cloud.proto +++ b/dozer-types/protos/cloud.proto @@ -204,11 +204,16 @@ message GenerateYamlResponse { repeated string endpoints = 3; } - +message DeploymentInfo { + uint32 deployment = 1; + string phase = 2; + optional string last_error = 3; +} message AppResponse { string app_id = 1; AppConfig app = 2; optional string repository_url = 3; + repeated DeploymentInfo deployments = 4; } message ListAppRequest { diff --git a/dozer-types/protos/cloud_types.proto b/dozer-types/protos/cloud_types.proto index def49cac9d..547de4da3c 100644 --- a/dozer-types/protos/cloud_types.proto +++ b/dozer-types/protos/cloud_types.proto @@ -96,17 +96,15 @@ message PostgresConfig { } message GrpcConfig { - string host = 3; - uint32 port = 4; - string schemas = 5; -} - -message GrpcConfigSchemas { + string host = 1; + uint32 port = 2; oneof schemas { - string Inline = 1; - string Path = 2; + string Inline = 3; + string Path = 4; } + string adapter = 5; } + message KafkaConfig { string broker = 1; string topic = 2;