oncall-engine/engine
Yulya Artyukhina 381520ee13
Get rid of installation token + add a bunch of tests (#624)
* Get rid of installation token (for OSS installations)

This is done by being required to supply the grafana API URL as an
environment variable on the backend. Additionally, optionally an OnCall
API URL environment variable can be passed in to the frontend (this basically
allows completely skipping the need to configure anything).
- deduplicated a lot of the sync logic on the frontend + made
error message more useful and consistent
- Split PluginConfigPage component into several subcomponents
(making it easier to test each individual component)
- Moved RootWithLoader (from plugin/GrafanaPluginRootPage) into its own
subcomponent (making it easier to test)
- Added tests for pre-existing components that were touched:
  - PluginConfigPage component (and its new subcomponents)
  - state/plugin and state/rootBaseStore functions
  - apps.grafana_plugin django app

Helm changes:
- add GRAFANA_API_URL to oncall.env
- some yaml autoformatting changes
- remove reference to python manage.py issue_invite_for_the_frontend --override

Co-authored-by: Joey Orlando <joseph.t.orlando@gmail.com>
2022-11-21 16:26:00 +01:00
..
apps Get rid of installation token + add a bunch of tests (#624) 2022-11-21 16:26:00 +01:00
common Add additional validation for route's position field (#831) 2022-11-16 17:55:53 +08:00
config_integrations Readme about how to add Integrations and Zabbix Integration (#653) 2022-11-02 22:58:47 +08:00
engine Get rid of installation token + add a bunch of tests (#624) 2022-11-21 16:26:00 +01:00
settings Get rid of installation token + add a bunch of tests (#624) 2022-11-21 16:26:00 +01:00
static/images World, meet OnCall! 2022-06-03 08:09:47 -06:00
.dockerignore One startup command to rule them all (#760) 2022-11-07 16:34:43 +01:00
.gitignore local dev setup - fixes for some minor issues (#821) 2022-11-10 16:04:30 +01:00
celery_with_exporter.sh Change flags position for celery 5 2022-09-01 13:54:19 +03:00
conftest.py Get rid of installation token + add a bunch of tests (#624) 2022-11-21 16:26:00 +01:00
Dockerfile local dev setup - fixes for some minor issues (#821) 2022-11-10 16:04:30 +01:00
manage.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
pyproject.toml World, meet OnCall! 2022-06-03 08:09:47 -06:00
requirements.txt One startup command to rule them all (#760) 2022-11-07 16:34:43 +01:00
tox.ini Add rule for jinja2.Template to remind common environment use 2022-11-07 15:40:49 -07:00
uwsgi.ini Update uwsgi.ini 2022-06-15 19:13:50 +03:00
wait_for_test_mysql_start.sh World, meet OnCall! 2022-06-03 08:09:47 -06:00