Gustavo Trott
cccd2d78c7
Refactor the logger to add more context like meetingId, userId and sessionToken. ( #21188 )
...
For DEBUG logs it also includes the file/line and function of the caller.
2024-09-18 08:48:36 -04:00
Gustavo Trott
e1407149b9
refactor (build/gql-middleware): Introduce config as a yml file ( #20992 )
...
* Introduce Gql-Middleware config as a yml file
* use path /usr/share/bbb-graphql-middleware/ instead of /usr/local/bigbluebutton/bbb-graphql-middleware
* remove /etc/default/bbb-graphql-middleware file
2024-08-29 17:40:52 -04:00
Gustavo Trott
09cc37feef
refactor (gql-middleware): Code improvements and new Prometheus metrics ( #20896 )
2024-08-19 10:58:14 -03:00
Gustavo Trott
1e32ee794e
several refactors
2024-08-08 16:50:41 -03:00
Gustavo Trott
d445713f5d
Introduce Prometheus metrics to bbb-gql-middleware
2024-08-08 11:28:46 -03:00
Gustavo Trott
8e70891083
Implements max of Graphql connections (global and per user)
2024-08-06 15:07:52 -03:00
Gustavo Trott
3c71aab4bc
refactor (gql-middlware): Refactored code to simplify channel handling and remove unnecessary routines ( #20640 )
...
* Refactor gql-middleware channels and remove dedicated channel to establish init connection
* remove unnecessary routin to wait mutations to complete before invalidate Hasura connection
2024-07-05 13:35:08 -03:00
Gustavo Trott
630ed89b48
remove comments
2024-06-25 10:31:10 -03:00
Gustavo Trott
ede7a2dd25
Bunch of improvements for messages parsing
2024-06-25 10:27:44 -03:00
Gustavo Trott
656e29e7eb
Refactor middleware to get user info from akka-apps api ( #20491 )
2024-06-14 13:43:05 -03:00
Gustavo Trott
5fe51380e3
Introduces env var BBB_GRAPHQL_MIDDLEWARE_RAW_DATA_CACHE_STORAGE_MODE ( #20429 )
2024-06-06 13:54:40 -03:00
Gustavo Trott
fd3071c28a
Refactor (gql-middleware): Introduces clientSessionUUID
and validations (error handling) ( #20353 )
2024-05-29 17:43:17 -03:00
Gustavo Trott
4fc3b2419c
Graphql-middleware itself will handle mutations and forward to Graphql-actions
2024-05-02 10:45:32 -03:00
Gustavo Trott
e505978017
refactor (graphql-middleware): Significantly reduces the size of the Json Patch ( #19974 )
2024-04-09 14:37:57 -03:00
Gustavo Trott
551e452a49
graphql-middleware: Implements a cache-system for JsonPatch ( #19964 )
2024-04-06 11:43:36 -03:00
Gustavo Trott
0d0778c82c
Fix wrongs logs in middleware activities overview
2024-04-03 12:26:16 -03:00
Gustavo Trott
1df56b6331
Add condition ActivitiesOverviewEnabled
2024-04-02 10:07:44 -03:00
Gustavo Trott
2e06573cb4
Remove unused code
2024-04-02 10:05:30 -03:00
Gustavo Trott
c072d39c0f
Disable activities overview logs by default
2024-04-02 10:04:38 -03:00
Gustavo Trott
552fc312b0
Track data received for each subscription
2024-03-31 21:00:28 -03:00
Gustavo Trott
775ff31882
Improve logs and add BBB_GRAPHQL_MIDDLEWARE_JSON_PATCH_DISABLED env var
2024-03-28 17:17:13 -03:00
Gustavo Trott
612b40234b
Add periodic activities overview log for Middleware
2024-03-28 11:26:56 -03:00
Gustavo Trott
18c6341e0e
Implement enhanced Custom Rate Limiter
2024-03-18 11:26:44 -03:00
Gustavo Trott
d1e2df74f0
Improve recconection flow ( #19788 )
2024-03-13 10:35:51 -03:00
Gustavo Trott
1d93a1258e
refactor (graphql-middleware): Improve performance when browser finish graphql connection ( #19784 )
...
* Improve script run-dev.sh
* Improve performance when browser finish ws connection
2024-03-12 20:12:55 -03:00
Gustavo Trott
f8e008eada
Define an unique ID for bbb-graphql-middleware
2024-02-12 17:11:30 -03:00
Gustavo Trott
a3d80b6424
Use crc32 instead of sha256 to store data checksum ( #19563 )
2024-02-02 14:37:32 -03:00
Gustavo Trott
5708c2506b
enhancement (graphql-middleware): Data Uniqueness Verification and others ( #19559 )
...
* Prevent middleware from sending the same message when reconnection
* Refactor hasura reader to simplify code
* Its not necessary to name the for
* Close hasura connnection on error
2024-02-02 12:36:27 -03:00
Gustavo Trott
554d57696c
Improve reconnection speed
2024-02-01 11:50:29 -03:00
Gustavo Trott
98ef42c32c
Freeze browser messages before closing Hasura connection ( #19548 )
2024-01-31 11:37:28 -03:00
Gustavo Trott
26f6c01678
refactor (graphql-middlware): Maintain Hasura Connection During Active Mutations ( #19535 )
2024-01-29 18:40:17 -03:00
Gustavo Trott
fab48cc1b6
Fix Graphql error start received before the connection is initialised
( #19497 )
2024-01-23 20:20:16 -03:00
Gustavo Trott
6d12508f41
feature (graphql-middlware): Enhancing GraphQL Stream Subscriptions: Efficient Handling of Connection Resets and Cursor Management ( #19481 )
2024-01-23 15:28:32 -03:00
Gustavo Trott
095085310d
refactor: Graphql middleware enhancements ( #19336 )
...
* Convert all go chan to SafeChannel
* Remove unnecessary comments
* Refactor graphql message names
* Fix renamed function
2023-12-14 14:01:47 -03:00
Gustavo Trott
a2e2d0516c
fix (graphql-middleware): Client can't send new graphql queries after a while ( #18895 )
...
* fix: client errors with graphql
* Use NewSafeChannel to handle msgs from browser
2023-10-04 17:11:12 -03:00
Gustavo Trott
8fde225ade
refactor (graphql-middleware): Use RWMutex to improve performance ( #18281 )
...
* Migrate Mutex to RWMutex to increase performance
2023-07-06 09:34:48 -03:00
Gustavo Trott
fd3845515d
graphql-middleware support enable json-patch per subscription
2023-05-24 19:31:31 -03:00
Gustavo Trott
4c4e5c0852
Introduces json-patch to graphql-middleware
2023-05-10 19:08:24 -03:00
Tiago Daniel Jacobs
1b9903b924
feat: graphql middleware
2023-04-26 22:03:40 -03:00