Skip to content

Commit

Permalink
new: qa integration (untested locally)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickumia-reisys committed Sep 20, 2022
1 parent de3788c commit 3479cd6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ CKAN_SMTP_PASSWORD=pass
CKAN_SMTP_MAIL_FROM=ckan@localhost

# Extensions
# To re-integrate: qa archiver
CKAN__PLUGINS=envvars image_view text_view recline_view archiver report ckan_harvester datajson_harvest geodatagov datagovtheme datagov_harvest geodatagov_miscs z3950_harvester arcgis_harvester geodatagov_geoportal_harvester waf_harvester_collection geodatagov_csw_harvester geodatagov_doc_harvester geodatagov_waf_harvester spatial_metadata spatial_query spatial_harvest_metadata_api googleanalyticsbasic dcat dcat_json_interface structured_data datagovcatalog
CKAN__PLUGINS=envvars image_view text_view recline_view qa archiver report ckan_harvester datajson_harvest geodatagov datagovtheme datagov_harvest geodatagov_miscs z3950_harvester arcgis_harvester geodatagov_geoportal_harvester waf_harvester_collection geodatagov_csw_harvester geodatagov_doc_harvester geodatagov_waf_harvester spatial_metadata spatial_query spatial_harvest_metadata_api googleanalyticsbasic dcat dcat_json_interface structured_data datagovcatalog

# Extensions that exist but are not used in dev:
# - ckanext-saml2
Expand Down
4 changes: 1 addition & 3 deletions ckan/docker-entrypoint.d/30-setup-qa.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# TODO: run when extensions are implemented

echo "Setup ckanext-qa"
# ckan qa init
ckan qa init
2 changes: 1 addition & 1 deletion ckan/setup/ckan.ini
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ ckan.cors.origin_whitelist = https://data.gov https://www.data.gov
# Add ``datapusher`` to enable DataPusher
# Add ``resource_proxy`` to enable resorce proxying and get around the
# same origin policy
ckan.plugins = image_view text_view recline_view archiver report ckan_harvester datajson_harvest geodatagov datagovtheme datagov_harvest geodatagov_miscs z3950_harvester arcgis_harvester geodatagov_geoportal_harvester waf_harvester_collection geodatagov_csw_harvester geodatagov_doc_harvester geodatagov_waf_harvester spatial_metadata spatial_query spatial_harvest_metadata_api googleanalyticsbasic dcat dcat_json_interface structured_data datagovcatalog saml2auth envvars
ckan.plugins = image_view text_view recline_view qa archiver report ckan_harvester datajson_harvest geodatagov datagovtheme datagov_harvest geodatagov_miscs z3950_harvester arcgis_harvester geodatagov_geoportal_harvester waf_harvester_collection geodatagov_csw_harvester geodatagov_doc_harvester geodatagov_waf_harvester spatial_metadata spatial_query spatial_harvest_metadata_api googleanalyticsbasic dcat dcat_json_interface structured_data datagovcatalog saml2auth envvars

# Define which views should be created by default
# (plugins must be loaded in ckan.plugins)
Expand Down
4 changes: 1 addition & 3 deletions e2e/cypress/integration/ckan_extensions.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ describe('CKAN Extensions', () => {
expect(installed_extensions).to.include('datagovcatalog');
expect(installed_extensions).to.include('report');
expect(installed_extensions).to.include('archiver');

// TODO: The following extensions should be verified to be installed:
// expect(installed_extensions).to.include('qa');
expect(installed_extensions).to.include('qa');
});
});
});

0 comments on commit 3479cd6

Please sign in to comment.