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

LIBHYDRA-548: Configuraiton for communicating with Plastron for Publish Jobs #385

Merged

Conversation

aguilarm-umd
Copy link
Contributor

aguilarm-umd and others added 14 commits February 27, 2024 14:59
Using form_with instead for the checkbox and form submission
and updated the check for visbility in the submit method

https://umd-dit.atlassian.net/browse/LIBHYDRA-548
Adding hidden flag for the Plastron command
Updated the visibility variable in publish_job to force_hidden

https://umd-dit.atlassian.net/browse/LIBHYDRA-548
- Renamed PublishJobController to PublishJobsController
- Use resourceful routing in the routes.rb config
- Use the URL-helper functions instead of hard-coding URLs
- Changed the label of the force_hidden checkbox to fit the logic of the flag: "Suppress these items in search results"
- Fixed join character in the message body for the publish message
Parallels the other *JobsChannel classes
Adding status messages for the different states of the publish job
Removing old code to set the state to use the partial status html instead
Also added some breaks between the buttons when viewing.

https://umd-dit.atlassian.net/browse/LIBHYDRA-548
publish_in_progress: 3,
publish_complete: 4,
publish_incomplete: 5,
publish_error: 6
Copy link
Member

Choose a reason for hiding this comment

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

Plastron also returns unpublish_complete, unpublish_incomplete, and unpublish_error, so those need to be added to this enum.

Copy link
Member

@peichman-umd peichman-umd left a comment

Choose a reason for hiding this comment

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

Looks good, just one update to the PublishJob state enum needed.

@peichman-umd
Copy link
Member

peichman-umd commented Mar 5, 2024

The tests are failing because of a mismatch between the final db schema and the test fixtures.

@peichman-umd peichman-umd merged commit a4924d0 into umd-lib:release/1.14.0 Mar 5, 2024
1 check passed
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