This is an automated email from the ASF dual-hosted git repository. dimuthuupe pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/airavata-mft.git
commit f803e24c6ee72f05f77733569a53aac0c8fe66ef Author: Gopi Kiran <[email protected]> AuthorDate: Wed Apr 29 15:40:31 2020 -0400 secrets service proto FTP changes --- .../stub/src/main/proto/SecretService.proto | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/services/secret-service/stub/src/main/proto/SecretService.proto b/services/secret-service/stub/src/main/proto/SecretService.proto index fd7e897..b933df9 100644 --- a/services/secret-service/stub/src/main/proto/SecretService.proto +++ b/services/secret-service/stub/src/main/proto/SecretService.proto @@ -200,6 +200,36 @@ message DropboxSecretDeleteRequest { AuthToken authzToken = 2; } +// FTP +message FTPSecret { + string secretId = 1; + string userId = 2; + string password = 3; +} + +message FTPSecretGetRequest { + string secretId = 1; + AuthToken authzToken = 2; +} + +message FTPSecretCreateRequest { + string userId = 1; + string password = 2; + AuthToken authzToken = 3; +} + +message FTPSecretUpdateRequest { + string secretId = 1; + string userId = 2; + string password = 3; + AuthToken authzToken = 4; +} + +message FTPSecretDeleteRequest { + string secretId = 1; + AuthToken authzToken = 4; +} + service SecretService { rpc getSCPSecret (SCPSecretGetRequest) returns (SCPSecret) { option (google.api.http) = { @@ -351,4 +381,30 @@ service SecretService { }; } + // FTP + + rpc getFTPSecret (FTPSecretGetRequest) returns (FTPSecret) { + option (google.api.http) = { + get: "/v1.0/secret/ftp" + }; + } + + rpc createFTPSecret (FTPSecretCreateRequest) returns (FTPSecret) { + option (google.api.http) = { + post: "/v1.0/secret/ftp" + }; + } + + rpc updateFTPSecret (FTPSecretUpdateRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + put: "/v1.0/secret/ftp" + }; + } + + rpc deleteFTPSecret (FTPSecretDeleteRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1.0/secret/ftp" + }; + } + } \ No newline at end of file
