Skip to content

Commit

Permalink
chore: Apply naming suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Jannis Hochmuth <jannis.hochmuth@gmail.com>
  • Loading branch information
St4NNi and das-Abroxas authored Oct 20, 2023
1 parent da8d87e commit 9ff2fb1
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion aruna/api/storage/models/v2/models.proto
Original file line number Diff line number Diff line change
Expand Up @@ -356,5 +356,5 @@ message Object {
// Object specific attributes
repeated Hash hashes = 13;
string metadata_license_tag = 14;
string default_data_license_tag = 15;
string data_license_tag = 15;
}
2 changes: 1 addition & 1 deletion aruna/api/storage/services/v2/collection_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ message CreateCollectionRequest {
string description = 2;
// collection specific labels / hooks
repeated storage.models.v2.KeyValue key_values = 3;
// External relations (URLs / IDs from external sources)
// Internal /External relations (URLs / IDs from external sources)
repeated storage.models.v2.Relation relations = 4;
// DataClass
storage.models.v2.DataClass data_class = 5;
Expand Down
2 changes: 1 addition & 1 deletion aruna/api/storage/services/v2/dataset_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ message CreateDatasetRequest {
string description = 2;
// dataset specific labels / hooks
repeated storage.models.v2.KeyValue key_values = 3;
// External / Internal relations (URLs / IDs from external sources)
// Internal / External relations (URLs / IDs from external sources)
repeated storage.models.v2.Relation relations = 4;
// DataClass
storage.models.v2.DataClass data_class = 5;
Expand Down
16 changes: 8 additions & 8 deletions aruna/api/storage/services/v2/license_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import "aruna/api/storage/models/v2/models.proto";
import "google/api/annotations.proto";
import "google/api/visibility.proto";

// AuthorizationService
// LicenseService
//
// Contains all methods to edit and change user authorization
// Contains all methods to add, get or list licenses
service LicenseService {
option (google.api.api_visibility).restriction = "SERVER";
// CreateLicense
Expand All @@ -37,14 +37,14 @@ service LicenseService {
};
}

// ListLicense
// ListLicenses
//
// Status: BETA
//
// This returns a list of all licenses
rpc ListLicense(ListLicenseRequest) returns (ListLicenseResponse) {
rpc ListLicenses(ListLicensesRequest) returns (ListLicensesResponse) {
option (google.api.http) = {
get : "/v2/license"
get : "/v2/licenses"
};
}
}
Expand Down Expand Up @@ -81,14 +81,14 @@ message GetLicenseResponse {
storage.models.v2.License license = 1;
}

// ListLicenseRequest
// ListLicensesRequest
//
// Request object for ListLicense
message ListLicenseRequest {}
message ListLicensesRequest {}

// ListLicenseResponse
//
// Response object for ListLicense
message ListLicenseResponse {
message ListLicensesResponse {
repeated storage.models.v2.License licenses = 1;
}
2 changes: 1 addition & 1 deletion aruna/api/storage/services/v2/object_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ message CreateObjectRequest {
string description = 2;
// collection specific labels / hooks
repeated storage.models.v2.KeyValue key_values = 3;
// External / Internal relations (URLs / IDs from external sources)
// Internal / External relations (URLs / IDs from external sources)
repeated storage.models.v2.Relation relations = 4;
// DataClass
storage.models.v2.DataClass data_class = 5;
Expand Down
2 changes: 1 addition & 1 deletion aruna/api/storage/services/v2/project_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ message CreateProjectRequest {
string description = 2;
// Project specific labels / hooks
repeated storage.models.v2.KeyValue key_values = 3;
// External / Internal relations (URLs / IDs from external sources)
// Internal / External relations (URLs / IDs from external sources)
repeated storage.models.v2.Relation relations = 4;
// DataClass
storage.models.v2.DataClass data_class = 5;
Expand Down

0 comments on commit 9ff2fb1

Please sign in to comment.