xenon-middleware / xenon-grpc

Xenon grpc based server
Apache License 2.0
0 stars 1 forks source link

Pass adaptor global properties during startup of server #2

Closed sverhoeven closed 7 years ago

sverhoeven commented 7 years ago

For exampe ssh config/knownhost/agent need to be given during XenonFactory.newXenon().

sverhoeven commented 7 years ago

Or add:

message XenonRequest {
  map<String,String> properties = 1;
}

service Xenon {
  // Configure Xenon, will delete all filesystems, schedulers, jobs.
  rpc newXenon(XenonRequest) returns (Empty) {}
}
sverhoeven commented 7 years ago

XenonGlobal.newXenon can be used to once set the properties.