All Downloads are FREE. Search and download functionalities are using the official Maven repository.

olaris.polaris-all.2.0.0.0-RC1.source-code.grpc_config_api.proto Maven / Gradle / Ivy

There is a newer version: 2.0.0.0-RC3
Show newest version
syntax = "proto3";

package v1;

import "config_file.proto";
import "config_file_response.proto";

option go_package = "github.com/polarismesh/specification/source/go/api/v1/config_manage";
option java_package = "com.tencent.polaris.specification.api.v1.config.manage";
option java_outer_classname = "PolarisConfigGRPCService";

service PolarisConfigGRPC {

  // 拉取配置
  rpc GetConfigFile(ClientConfigFileInfo) returns (ConfigClientResponse) {}

  // 创建配置
  rpc CreateConfigFile(ConfigFile) returns (ConfigClientResponse) {}

  // 更新配置
  rpc UpdateConfigFile(ConfigFile) returns (ConfigClientResponse) {}

  // 发布配置
  rpc PublishConfigFile(ConfigFileRelease) returns (ConfigClientResponse) {}

  // 发布配置
  rpc UpsertAndPublishConfigFile(ConfigFilePublishInfo) returns (ConfigClientResponse) {}

  // 订阅配置变更
  rpc WatchConfigFiles(ClientWatchConfigFileRequest) returns (ConfigClientResponse) {}
  
  // 拉取指定配置分组下的配置文件列表
  rpc GetConfigFileMetadataList(ConfigFileGroupRequest) returns (ConfigClientListResponse) {}

  // 统一发现接口
  rpc Discover(stream ConfigDiscoverRequest) returns (stream ConfigDiscoverResponse) {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy