Update proto with new PrepareProviderConfig method

This commit is contained in:
James Bardin 2018-10-17 21:13:29 -04:00
parent c1303f8482
commit ba472c7059
2 changed files with 528 additions and 455 deletions

File diff suppressed because it is too large Load Diff

View File

@ -98,7 +98,7 @@ message Schema {
service Provider {
//////// Information about what a provider supports/expects
rpc GetSchema(GetProviderSchema.Request) returns (GetProviderSchema.Response);
rpc ValidateProviderConfig(ValidateProviderConfig.Request) returns (ValidateProviderConfig.Response);
rpc PrepareProviderConfig(PrepareProviderConfig.Request) returns (PrepareProviderConfig.Response);
rpc ValidateResourceTypeConfig(ValidateResourceTypeConfig.Request) returns (ValidateResourceTypeConfig.Response);
rpc ValidateDataSourceConfig(ValidateDataSourceConfig.Request) returns (ValidateDataSourceConfig.Response);
rpc UpgradeResourceState(UpgradeResourceState.Request) returns (UpgradeResourceState.Response);
@ -129,12 +129,13 @@ message GetProviderSchema {
}
}
message ValidateProviderConfig {
message PrepareProviderConfig {
message Request {
DynamicValue config = 1;
}
message Response {
repeated Diagnostic diagnostics = 1;
DynamicValue prepared_config = 1;
repeated Diagnostic diagnostics = 2;
}
}