-
Notifications
You must be signed in to change notification settings - Fork 428
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
GraphQL subscriptions for stanzas #3830
Commits on Nov 3, 2022
-
Verify allowed operations types
- Subscriptions can be executed only with SSE. - Queries and mutations can be executed with HTTP or CLI.
Configuration menu - View commit details
-
Copy full SHA for 4762e34 - Browse repository at this point
Copy the full SHA 4762e34View commit details -
Add 'prepare' step to query execution, and verify operations
This makes it possible to the execute a prepared subscription operation upon receiving each event. Also: make it possible to return 'aux' data.
Configuration menu - View commit details
-
Copy full SHA for 503a500 - Browse repository at this point
Copy the full SHA 503a500View commit details
Commits on Nov 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for be937bb - Browse repository at this point
Copy the full SHA be937bbView commit details -
It uses lasse, just like the REST SSE handler
Configuration menu - View commit details
-
Copy full SHA for 27ae003 - Browse repository at this point
Copy the full SHA 27ae003View commit details -
Update the GraphQL cowboy handler
- Handle SSE requests under the '/sse' subpath - Export utils used by the SSE handler - Allow passing parameters with GET (qs) or POST (body). This follows the GraphQL specs, and allows to handle SSE.
Configuration menu - View commit details
-
Copy full SHA for 16bf4ba - Browse repository at this point
Copy the full SHA 16bf4baView commit details -
Configuration menu - View commit details
-
Copy full SHA for faa959c - Browse repository at this point
Copy the full SHA faa959cView commit details -
- unsupported operation - invalid query string
Configuration menu - View commit details
-
Copy full SHA for 05d8bce - Browse repository at this point
Copy the full SHA 05d8bceView commit details -
Add message subscription handling to mongoose_stanza_api
This common code is used by REST and GraphQL SSE handlers.
Configuration menu - View commit details
-
Copy full SHA for 94421ec - Browse repository at this point
Copy the full SHA 94421ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31393bb - Browse repository at this point
Copy the full SHA 31393bbView commit details -
Add subscriptions to graphql commands
This is actually used only for building the queries for tests. The commands will be displayed in the CLI help - we can change this later if needed.
Configuration menu - View commit details
-
Copy full SHA for 9d2125e - Browse repository at this point
Copy the full SHA 9d2125eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cda9d8 - Browse repository at this point
Copy the full SHA 3cda9d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e77cf58 - Browse repository at this point
Copy the full SHA e77cf58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28ff10a - Browse repository at this point
Copy the full SHA 28ff10aView commit details -
Test the SSE subscription handler
Put the more generic tests (mostly error handling) in a separate suite.
Configuration menu - View commit details
-
Copy full SHA for 4c3dcd9 - Browse repository at this point
Copy the full SHA 4c3dcd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 856b379 - Browse repository at this point
Copy the full SHA 856b379View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82ce031 - Browse repository at this point
Copy the full SHA 82ce031View commit details
Commits on Nov 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 95cfce5 - Browse repository at this point
Copy the full SHA 95cfce5View commit details