-
Notifications
You must be signed in to change notification settings - Fork 0
Airbugserver. BugCall. Implement BugCallRequestProcessor and RequestContextBuilder #113
Copy link
Copy link
Open
Description
Express
- built in session system processes sessions first and sets them on the request
BugCallServer
- change up to accept registrants for preprocessing of a request and processing of a request
RequestContextBuilder -- Replace RequestContextFactory
- register for preprocessing with BugCallRequestProcessor
- register with express for processing of request after express's session system and AFTER userService
- when instantiating the RequestContext, should set the requestType and pass in the request
- should accept registrants to help build the context
- after building the requestContext, this should place it back on the request
RequestContext
- add requestType to constructor
- should also have the request itself (either IncomingRequest from bugcall or the express request)
SessionService
- register with RequestContextBuilder
-- add session to the RequestContext
UserService
- register with express for request processing of request before RequestContextBuilder
- register with BugCallServer for preprocessing
- on both of the above, we want to make sure an anonymous user has been created for the user if no userid is present in the session
- register with RequestContextBuilder
-- load the user and place it in the RequestContext
BurRouter
- register with BugCallServer for processing last and route the request
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels