Skip to content

Commit 13d77f4

Browse files
author
David Read
committed
[1418] Cached report refactor - Openness Report refactored for new report framework.
1 parent 48fadf2 commit 13d77f4

File tree

18 files changed

+323
-1347
lines changed

18 files changed

+323
-1347
lines changed

README.rst

+2-32
Original file line numberDiff line numberDiff line change
@@ -54,21 +54,7 @@ You must also make sure that the following is set in your CKAN config:
5454
ckan.site_url = <URL to your CKAN instance>
5555

5656

57-
**Optional:**
5857

59-
By default, the report for organisations will be listed in the QA reports
60-
page (/qa). If you do not want to show this report, you can disable it by
61-
setting the following config option:
62-
63-
::
64-
65-
qa.organisations = false
66-
67-
68-
By defaults all QA links (except /api) are routed via /qa as a URL. If you wish
69-
to provide the URLs at /somewhere/qa you can provide the following config option:
70-
71-
qa.url_root = /somewhere
7258

7359

7460
Using The QA Extension
@@ -90,28 +76,12 @@ The command can be run on just a single package by giving the package ``name`` o
9076
``update/clean`` subcommand. If no package name is given, the database is scanned
9177
for a list of all packages and the command is run on each one.
9278

93-
After you run the ``archive`` and ``qa`` commands, the QA results can be viewed
79+
After you run the ``archive`` or ``qa`` commands, the QA results can be viewed
9480
at
9581

9682
::
9783

98-
http://your-ckan-instance/qa
99-
100-
101-
API Access
102-
----------
103-
104-
The QA Extension exposes the following API endpoints:
105-
106-
::
107-
108-
http://your-ckan-instance/api/2/util/qa/package_five_stars
109-
110-
http://your-ckan-instance/api/2/util/qa/broken_resource_links_by_package
111-
112-
http://your-ckan-instance/api/2/util/qa/organisations_with_broken_resource_links
113-
114-
http://your-ckan-instance/api/2/util/qa/broken_resource_links_by_package_for_organisation
84+
http://your-ckan-instance/data/report
11585

11686

11787
Developers

ckanext/qa/controllers/qa_api.py

-194
This file was deleted.

ckanext/qa/controllers/qa_organisation.py

-46
This file was deleted.

ckanext/qa/controllers/qa_package.py

-16
This file was deleted.

0 commit comments

Comments
 (0)