/*
 * Created by jonathan.jesperson@pluto.tv on 10/21/2020.
 * Copyright (c) PlutoTV Inc 2020.
 */

syntax = "proto3";

package configpackage;

option go_package = "github.com/Pluto-tv/service-dal/golang_client";
option java_package = "tv.pluto.ip.dal.config";

service ConfigManager {
  // GetConfigInfo (Unary)
  //
  rpc GetConfigInfo(GetConfigInfoRequest) returns (GetConfigInfoResponse) {}
}

message GetConfigInfoRequest {}

message GetConfigInfoResponse {
  string service = 1;
  string version = 2;
  string environment = 3;
  Repositories repositories = 5;
}

message Git {
  string hash = 1;
  string ref = 2;
  string url = 3;
}

message Repositories {
  string mongodb = 1;
  Git git = 2;
}
