Sunday, December 2, 2012

Configuring CouchDB for Travis CI

Today I made a new release on the DPLA platform that updated requests for single records. I added some new cucumber integration steps that passed locally but broke the Travis CI build.

The new record "Fetch" mechanism is performing a fetch on CouchDB after doing a simple "transformation" on the requested record ID. The id for the CouchDB is pulled from an ID assigned at the time of ingestion and indexed in ElasticSearch.

The new method and integration tests require hitting CouchDB, so fixing the build entailed enabling CouchDB in Travis. Check out the commit with the new Travis configuration here.

Instructions for setting up the CouchDB service in Travis can be found here. To get the DPLA platform configuration set up correctly for the test suite, I needed to ensure we had an Admin user set up in CouchDB, which was different from the vanilla CouchDB setup with Travis. The final solution entailed a small change to the config files so the search endpoint can be defined independent of the test environment.

2 comments:

  1. Casino With Roulette - One of the Most Trusted and
    It is 토토꽁머니 a 벳인포해외배당흐름 very simple game that 인천 휴게텔 you'll enjoy with most casinos. Here's how to find the most trusted casino without risking your bet surface area money. 바퀴벌레포커

    ReplyDelete
  2. VIP gamers can take pleasure in even more perks, corresponding to unique bonuses and invites to particular occasions. Not only are they secure, however in addition they provide huge bonuses and money prizes. If 더온카지노 this is your thought of an excellent online on line casino, you are in the best place. Let's bounce right into our list of high online on line casino manufacturers in Canada.

    ReplyDelete