Skip to content

pulibrary/lib_jobs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ILS Jobs

Coverage Status

Connects to

  • Alma SFTP for file based integrations
  • Alma NCIP
  • OCLC SFTP Server
  • Archivesspace API
  • Alma APIs to start of jobs
  • OIT Person API
  • Data Warehouse File Server
  • Peoplesoft File Server
  • Ombase
  • SCSB Middleware S3 Server
  • Platform for Open Data (POD) API
  • Springshare Libguides and Libcal APIs
  • Library

Tasks

  • Alma Fund Adjustment
  • Alma Invoice Status
  • Alma Oclc Number Normalization
  • Alma renewal of SCSB partner materials via NCIP
  • Alma Patron Adds/Updates
  • Peoplesoft Bursar Transfer
  • Peoplesoft Vocher Feed
  • Aspace2Alma Collection Record Synchronization
  • SCSB SubmitCollection Record Updates
  • POD Marc Record Adds/Updates
  • OCLC Data Sync Successful Record Update Processing
  • OCLC Data Sync Failed Record Update Processing
  • Library Current Event List
  • Library Databases List Publishing
  • Library Staff List

Output

  • CSV Files for download by other applications
  • Various text file formats for SFTP/Fileshare Processing
  • MarcXML for various purposes

Staging Mail Catcher

To See mail that has been sent on the staging server you must ssh tunnel into the server

ssh -L 1082:localhost:1080 pulsys@lib-jobs-staging1

Once the tunnel is open you can see the mail that has been sent on staging here

Getting Started

bundle install
bundle exec rake servers:start
bundle exec rails s

Then please visit the server running locally at http://localhost:3000

Run mailcatcher

The mailcatcher gem ensures you do not accidentally send test emails to actual people

  1. run once: gem install mailcatcher
  2. run every time: mailcatcher
  3. you can see the mail that has been sent at http://127.0.0.1:1080

Linting with Rubocop

bundle exec rubocop -a

Running the RSpec test suites

bundle exec rspec

Brakeman

Run brakeman normally; to ignore false positives run

brakeman -I

See brakeman ignoring false positives documentation

Deploy

Local

For local deploy, ensure you have all gems installed using bundle install, then

BRANCH=[branchname] bundle exec cap [environment] deploy
BRANCH=my_excellent_fix bundle exec cap staging deploy

Ansible Tower

For deploy using Ansible Tower, after logging in, go to the deploy template, click "Launch", fill in the form, click "Next", then click "Launch"

About

Enterprise Services batch processing tasks. Rails 7 Ruby 3.1.0

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 23

Languages