Skip to content

Commit

Permalink
Match multiple storage providers in registry
Browse files Browse the repository at this point in the history
  • Loading branch information
ishank011 committed Mar 17, 2021
1 parent 2f8f5a0 commit 708937c
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 11 deletions.
1 change: 0 additions & 1 deletion cs3/gateway/v1beta1/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ option java_package = "com.cs3.gateway.v1beta1";
option objc_class_prefix = "CGX";
option php_namespace = "Cs3\\Gateway\\V1Beta1";

import "cs3/rpc/v1beta1/status.proto";
import "cs3/storage/provider/v1beta1/resources.proto";
import "cs3/types/v1beta1/types.proto";

Expand Down
1 change: 0 additions & 1 deletion cs3/ocm/invite/v1beta1/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ option objc_class_prefix = "COI";
option php_namespace = "Cs3\\Ocm\\Invite\\V1Beta1";

import "cs3/identity/user/v1beta1/resources.proto";
import "cs3/storage/provider/v1beta1/resources.proto";
import "cs3/types/v1beta1/types.proto";

// InviteToken is used to invite users and groups from other sync'n'share
Expand Down
2 changes: 1 addition & 1 deletion cs3/storage/registry/v1beta1/registry_api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ message GetStorageProviderResponse {
cs3.types.v1beta1.Opaque opaque = 2;
// REQUIRED.
// The storage provider handling the requested storage resource.
cs3.storage.registry.v1beta1.ProviderInfo provider = 3;
repeated cs3.storage.registry.v1beta1.ProviderInfo provider = 3;
}

message ListStorageProvidersRequest {
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14415,7 +14415,7 @@ <h3 id="cs3.storage.registry.v1beta1.GetStorageProviderResponse">GetStorageProvi
<tr>
<td>provider</td>
<td><a href="#cs3.storage.registry.v1beta1.ProviderInfo">ProviderInfo</a></td>
<td></td>
<td>repeated</td>
<td><p>REQUIRED.
The storage provider handling the requested storage resource. </p></td>
</tr>
Expand Down
24 changes: 17 additions & 7 deletions proto.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1461,9 +1461,6 @@
}
],
"imports": [
{
"path": "cs3/rpc/v1beta1/status.proto"
},
{
"path": "cs3/storage/provider/v1beta1/resources.proto"
},
Expand Down Expand Up @@ -2709,9 +2706,6 @@
{
"path": "cs3/identity/user/v1beta1/resources.proto"
},
{
"path": "cs3/storage/provider/v1beta1/resources.proto"
},
{
"path": "cs3/types/v1beta1/types.proto"
}
Expand Down Expand Up @@ -4344,6 +4338,11 @@
"id": 3,
"name": "share",
"type": "PublicShare"
},
{
"id": 4,
"name": "password_hash",
"type": "string"
}
]
},
Expand Down Expand Up @@ -4384,6 +4383,11 @@
"id": 3,
"name": "share",
"type": "PublicShare"
},
{
"id": 4,
"name": "password_hash",
"type": "string"
}
]
}
Expand Down Expand Up @@ -7089,6 +7093,11 @@
"id": 5,
"name": "mtime",
"type": "uint64"
},
{
"id": 6,
"name": "etag",
"type": "string"
}
]
},
Expand Down Expand Up @@ -7370,7 +7379,8 @@
{
"id": 3,
"name": "provider",
"type": "cs3.storage.registry.v1beta1.ProviderInfo"
"type": "cs3.storage.registry.v1beta1.ProviderInfo",
"is_repeated": true
}
]
},
Expand Down

0 comments on commit 708937c

Please sign in to comment.