Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UNO-777] Change OCHA feeds to use RW API. #227

Merged
merged 6 commits into from
Aug 20, 2023
Merged

[UNO-777] Change OCHA feeds to use RW API. #227

merged 6 commits into from
Aug 20, 2023

Conversation

orakili
Copy link
Contributor

@orakili orakili commented Aug 17, 2023

Refs: UNO-777

This PR changes the logic to use the RW API for the OCHA feeds where possible to reflect the changes with the D10 upgrade of unocha.org.

See ticket for details.

Important: the New and Stories block that was on the homepage is not displayed because there is currently no feed for the OCHA stories. That will be handled in a separate PR depending on what is decided in the ticket.

Post deployment

  1. Log in as an administrator or content manager
  2. Go to /admin/config/user-interface/ocha-feeds
  3. Enter the following URLs:

Tests

  1. Checkout the branch, clear the cache, import the config
  2. Follow the post deployment instructions above
  3. Check that the Publications block on the homepage looks like:
Screenshot 2023-08-17 at 15 37 51 4. Visit the 4 `more` links under this `Publications` block and confirm that it shows a list of documents that looks appropriate for the page (ex: GHO docs for GHO page) 5. Visit the `/resources` page and confirm that the Annual reports, etc. blocks have content

@github-actions
Copy link

github-actions bot commented Aug 17, 2023

Build output

Composer Validate success

PHP Lint success

Docker Build success

Environment Setup success

Site Install success

PHP Code Sniffer success

Software Versions PHP 8.0.29 (cli) (built: Jun 8 2023 15:24:43) ( NTS ) Copyright (c) The PHP Group Zend Engine v4.0.29, Copyright (c) Zend Technologies with Zend OPcache v8.0.29, Copyright (c), by Zend Technologies with Xdebug v3.2.1, Copyright (c) 2002-2023, by Derick Rethans Composer version 2.5.8 2023-06-09 17:13:21
Drupal Logs

Pusher: @lazysoundsystem, Action: pull_request, Workflow: Run tests

Copy link
Contributor

@lazysoundsystem lazysoundsystem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All works as described.

@github-actions
Copy link

Coverage Report

Totals Coverage
Statements: 0% ( 0 / 37 )
Lines: 0% ( 0 / 37 )

@orakili orakili merged commit a0f5dfe into develop Aug 20, 2023
@lazysoundsystem lazysoundsystem deleted the UNO-777 branch August 21, 2023 07:21
@orakili orakili mentioned this pull request Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants