Skip to content

Commit

Permalink
Merge branch 'yashvi/upload_service' of https://github.com/chef/automate
Browse files Browse the repository at this point in the history
 into yashvi/upload_service
  • Loading branch information
Yashvi Jain authored and Yashvi Jain committed Jan 24, 2022
2 parents 672c69b + 370fc8d commit 7accc4a
Show file tree
Hide file tree
Showing 23 changed files with 2,577 additions and 2,136 deletions.
1,709 changes: 854 additions & 855 deletions api/external/infra_proxy/infra_proxy.pb.client_mock.go

Large diffs are not rendered by default.

287 changes: 274 additions & 13 deletions api/external/infra_proxy/migrations/request/migrations.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions api/external/infra_proxy/migrations/request/migrations.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,27 @@ syntax = "proto3";

package chef.automate.api.infra_proxy.migrations.request;
option go_package = "github.com/chef/automate/api/external/infra_proxy/migrations/request";

message UploadZipFileRequest {
//Chef infra server id for the file
string serverId =1;
//Chunk of the data in bytes
Chunk chunk = 2;
//Metadata for the request
Metadata meta = 3;
}

message Metadata {
//Migration File name
string name = 1;
//Content type of the request
string contentType =2;
}

// Zip content in byte form.
message Chunk {
// Byte data
bytes data = 1;
// Stream pointer
int64 position = 2;
}
Loading

0 comments on commit 7accc4a

Please sign in to comment.