GitLab Bot
ab801bd018
Add latest changes from gitlab-org/gitlab@master
2020-05-27 18:08:14 +00:00
GitLab Bot
8dc1e72e2b
Add latest changes from gitlab-org/gitlab@master
2020-05-13 00:07:50 +00:00
GitLab Bot
028bb5dda7
Add latest changes from gitlab-org/gitlab@master
2020-04-30 18:09:38 +00:00
GitLab Bot
1a9d9cc14e
Add latest changes from gitlab-org/gitlab@master
2019-12-18 09:07:38 +00:00
GitLab Bot
784fae4b9d
Add latest changes from gitlab-org/gitlab@master
2019-12-12 12:07:33 +00:00
GitLab Bot
330eac18ce
Add latest changes from gitlab-org/gitlab@master
2019-12-09 03:07:57 +00:00
GitLab Bot
587794b4b8
Add latest changes from gitlab-org/gitlab@master
2019-10-02 00:06:26 +00:00
Bob Van Landuyt
1de47ee373
Use namespace#path for building urls in specs
...
Some of the specs were using namespace names instead of paths for
building URLS. This would fail since we now build a namespace with a
user's name instead of a user's username.
2019-07-09 18:09:45 +02:00
Simon Knox
8980b71490
Return no_content from prometheus API empty response
2019-06-06 11:43:50 +01:00
Reuben Pereira
434359446a
Add ability to do variable substitution
...
- In prometheus proxy api, allow variables to be replaced. For example,
if 'up{env="%{ci_environment_slug}"}' is passed to the endpoint, it
becomes 'up{env="production"}' before being sent to prometheus.
2019-04-15 15:31:59 +00:00
rpereira2
20594de8cc
Use environment_params when defining expected_params
2019-04-05 02:12:34 +05:30
rpereira2
e89b073271
Do not hardcode project and namespace name in url
...
The names can change in different runs of the spec.
2019-04-05 02:12:34 +05:30
rpereira2
5ee7c419ea
Call permit! on params
2019-04-05 02:12:34 +05:30
rpereira2
16772b91f0
Remove permitting of params
...
- It is now being done in ProxyService class.
2019-04-05 02:12:33 +05:30
rpereira2
eac3e2302c
Add spec for invalid environment id
2019-04-05 02:12:33 +05:30
Peter Leitzen
4a0c8b4a9c
Make filter params specs more readable
2019-04-05 02:12:33 +05:30
Peter Leitzen
1427ad4f5c
Streamline controller specs
2019-04-05 02:12:33 +05:30
rpereira2
e1a167ee23
Add a Prometheus API per environment
...
The api will proxy requests to the environment's prometheus server.
The Prometheus::ProxyService class can be reused when we add support for
group prometheus servers.
2019-04-05 02:12:33 +05:30