LTI-279: use params from broker for room handler if specified #251
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
A custom 'handler_params' setting can be added to tenants in the broker via the new rake task. These params can be used in the rooms app to form the room handler. By default, if no params are specified in the broker, the app will use the 'resource_link_id' parameter to form the handler.
How to Specify Params
Things to Note
Ensure that you are using the correct version of the Broker that supports using handler params from the broker.
By changing the params used for the handler will change, you will lose previous instances of Rooms. They won't be deleted from the database, but rather if you launch a Room that had been previously set up, it will be launched as a new room. The major consequence of this is that any recordings in the previous room will be lost.
How to test
In the broker, specify the params you would like to use for your tenant's rooms, and then create various rooms within one course and across a couple of courses, ensuring that the rooms are unique (this can be done by simply changing the room name or description).