Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Revise Message Sending Functionality #76

Merged

Conversation

DiCanio
Copy link
Collaborator

@DiCanio DiCanio commented Mar 25, 2024

Resolves #72 and #73

Adjusts the existing broadcast endpoint to follow the follwing template:
/analyses/{:id}/messages/broadcasts

Also adds a new functionality to send messages to specific analysis participants without broadcasting it. For this the endpoint /analyses/{:id}/messages can be used via POST.

@DiCanio DiCanio added enhancement New feature or request javascript Pull requests that update Javascript code labels Mar 25, 2024
@DiCanio DiCanio self-assigned this Mar 25, 2024
@DiCanio DiCanio force-pushed the feature/73-allow-sending-messages-to-specific-recipients branch from aad4ac8 to e3e9efa Compare March 26, 2024 11:21
Adds functionality to send messages to specific recipients
instead of using a broadcast. This is expected to be used
in conjunction with the discovery endpoints.
Also guards the recipients in a way such that only messages
to participating nodes within an analysis context are valid.
When trying to send messages to other participants then this
will lead to an error.

Furthermore adjusts the broadcast endpoint. This change is
made since everything is dependant upon an analysis in the
first place and this change makes that clear.
@DiCanio DiCanio force-pushed the feature/73-allow-sending-messages-to-specific-recipients branch from e3e9efa to 0fa6b96 Compare March 27, 2024 13:14
@DiCanio DiCanio marked this pull request as ready for review March 27, 2024 13:14
@DiCanio DiCanio merged commit cd3527c into develop Mar 27, 2024
6 checks passed
@DiCanio DiCanio deleted the feature/73-allow-sending-messages-to-specific-recipients branch March 27, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Revise Broadcast Endpoint
1 participant