lowman.flowman-kernel-api.1.2.0-cdp7-spark3.3-hadoop3.1.source-code.kernel.proto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flowman-kernel-api Show documentation
Show all versions of flowman-kernel-api Show documentation
Flowman Kernel gRPC protocol definition
syntax = "proto3";
option java_multiple_files = true;
option java_package = "com.dimajix.flowman.kernel.proto.kernel";
option java_outer_classname = "KernelProto";
package com.dimajix.flowman.kernel.kernel;
message ShutdownRequest {}
message ShutdownResponse {}
message NamespaceDetails {
string name = 1;
repeated string plugins = 2;
map environment = 3;
map config = 4;
repeated string profiles = 5;
repeated string connections = 6;
}
message GetNamespaceRequest {}
message GetNamespaceResponse {
NamespaceDetails namespace = 1;
}
message KernelDetails {
optional string flowmanHomeDirectory = 1;
optional string flowmanConfigDirectory = 2;
optional string flowmanPluginDirectory = 3;
string flowmanVersion = 4;
string sparkVersion = 5;
string hadoopVersion = 6;
string javaVersion = 7;
string scalaVersion = 8;
string sparkBuildVersion = 9;
string hadoopBuildVersion = 10;
string scalaBuildVersion = 11;
repeated string activePlugins = 12;
}
message GetKernelRequest {}
message GetKernelResponse {
KernelDetails kernel = 1;
}
service KernelService {
rpc GetNamespace(GetNamespaceRequest) returns(GetNamespaceResponse);
rpc GetKernel(GetKernelRequest) returns(GetKernelResponse);
rpc Shutdown(ShutdownRequest) returns (ShutdownResponse);
}