diff --git a/aruna/api/storage/models/v2/models.proto b/aruna/api/storage/models/v2/models.proto index 3e6a8a21..9fab1d0a 100644 --- a/aruna/api/storage/models/v2/models.proto +++ b/aruna/api/storage/models/v2/models.proto @@ -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; } diff --git a/aruna/api/storage/services/v2/collection_service.proto b/aruna/api/storage/services/v2/collection_service.proto index 6c2e491a..1e09d1ec 100644 --- a/aruna/api/storage/services/v2/collection_service.proto +++ b/aruna/api/storage/services/v2/collection_service.proto @@ -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; diff --git a/aruna/api/storage/services/v2/dataset_service.proto b/aruna/api/storage/services/v2/dataset_service.proto index 21872aec..705f2538 100644 --- a/aruna/api/storage/services/v2/dataset_service.proto +++ b/aruna/api/storage/services/v2/dataset_service.proto @@ -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; diff --git a/aruna/api/storage/services/v2/license_service.proto b/aruna/api/storage/services/v2/license_service.proto index c9f2d909..665025d6 100644 --- a/aruna/api/storage/services/v2/license_service.proto +++ b/aruna/api/storage/services/v2/license_service.proto @@ -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 @@ -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" }; } } @@ -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; } \ No newline at end of file diff --git a/aruna/api/storage/services/v2/object_service.proto b/aruna/api/storage/services/v2/object_service.proto index e2928b94..ca7507b6 100644 --- a/aruna/api/storage/services/v2/object_service.proto +++ b/aruna/api/storage/services/v2/object_service.proto @@ -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; diff --git a/aruna/api/storage/services/v2/project_service.proto b/aruna/api/storage/services/v2/project_service.proto index a8d3207b..649fe08c 100644 --- a/aruna/api/storage/services/v2/project_service.proto +++ b/aruna/api/storage/services/v2/project_service.proto @@ -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;