Skip to content

Commit

Permalink
Remove the /metrics endpoints
Browse files Browse the repository at this point in the history
Now that these endpoints are provided through AQS 2.0 and the REST
gateway, we no longer need to include them as part of the RESTBase
docs, configuration, or tests.
  • Loading branch information
apaskulin committed Jul 15, 2024
1 parent 7b49fb6 commit d86832b
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 4,081 deletions.
2 changes: 0 additions & 2 deletions config.frontend.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ wikimedia_project: &wikimedia_project
- path: projects/v1/wikimedia.wmf.yaml
options:
<<: *default_options
pageviews:
host: https://wikimedia.org/api/rest_v1/metrics
/{api:sys}:
x-modules:
- path: projects/proxy.yaml
Expand Down
2 changes: 0 additions & 2 deletions config.fullstack.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ wikimedia_project: &wikimedia_project
- path: projects/v1/wikimedia.wmf.yaml
options:
<<: *default_options
pageviews:
host: https://wikimedia.org/api/rest_v1/metrics
- path: projects/proxy.yaml
options: *proxy_options
/{api:sys}:
Expand Down
4 changes: 0 additions & 4 deletions projects/v1/wikimedia.wmf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@ paths:
- path: v1/mathoid.yaml
options: '{{options.mathoid}}'
- path: v1/common_schemas.yaml # Doesn't really matter where to mount it.
/metrics:
x-modules:
- path: v1/metrics.yaml
options: '{{options.pageviews}}'
/transform:
x-modules:
- path: v1/transform-global.yaml
Expand Down
47 changes: 0 additions & 47 deletions test/features/metrics.js

This file was deleted.

Loading

0 comments on commit d86832b

Please sign in to comment.