This microservice is part of Agent Services local testing framework, providing necessary UI stubs complementing API stubs in agents-external-stubs.
This app SHOULD NOT be run on QA nor Production environment.
To handle requests aimed at stubbed frontend microservices we provide necessary TCP proxies:
- listening on 9025 for company-auth-frontend requests
You can switch this behaviour off by setting proxies.start
config property to false
.
Every stubbed user and other data live in some test sandbox (planet). You have to declare existing or a new planet whenever you sign-in. Each authenticated session has planetId information. Stubbed and custom UIs will consider only users and data assigned to the current planet. Other apps may contain data from multiple planets and can clash, so avoid the same names for your users with concurrent planets or tidy up data on these regularly.
User authentication expires after 15 minutes and so does the bearer token. All users and other data on each planet are removed after 12h unless marked as permanent.
See stubbed UIs
sbt test it:test
sbt clean coverageOn test it:test coverageReport
sm2 --start AWESOME_STUBS
sm2 --start AWESOME_STUBS_FRONTEND
or with AGENTS_EXTERNAL_STUBS also running sbt run
It should then be listening on ports 9099 and 9025
browse http://localhost:9099/agents-external-stubs/quick-start-hub
This code is open source software licensed under the Apache 2.0 License