rdkcentral / mock-firebolt

An advanced, controllable mock Firebolt OS implementation, which can also act as a reverse proxy to a real Firebolt OS running on a real device
Apache License 2.0
4 stars 21 forks source link

Add support for user groups #35

Closed michaelcfine closed 2 years ago

michaelcfine commented 2 years ago
michaelcfine commented 2 years ago

To test, use any app (e.g., https://github.comcast.com/ottx/simple-firebolt-test-app suitably edited to have some event listener code which console.logs when it is called) and then run like this:

http://localhost:8081?mf=ws://localhost:9998/123-A http://localhost:8082?mf=ws://localhost:9998/456-A

Note that the "core" user id values (123, 456) are different, which keeps method call mock overrides separate, but they are in the same "user group" (A).