Skip to content

CreateStreamGroupRequest is missing subject #69

@das-Abroxas

Description

@das-Abroxas

The CreateStreamGroupRequest does not contain a field for the stream group subject. In the case of a stream group which shall be associated with an object you cannot guess which collection id should be used for the stream group subject as the object may exist in multiple collections.

A possible solution would be to expand the CreateStreamGroupRequest:

message CreateStreamGroupRequest {
    // Authorization for the user who wants to create this stream group
    string token = 1;
    // Event type
    notification.services.v1.EventType event_type = 2;
    // Type of the resource (Collection, Object etc.)
    aruna.api.storage.models.v1.ResourceType resource_type = 3;
    // Resource ID
    string resource_id = 4;
    // Should all "sub" resources be included
    bool notify_on_sub_resource = 5; 
    // Subject of the stream group
    string subject = 6;
} 

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions