• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alphagov / backdrop / 1504
90%
master: 89%

Build:
Build:
LAST BUILD BRANCH: upgrade_paas_stack
DEFAULT BRANCH: master
Ran 02 Jun 2014 11:23AM UTC
Jobs 1
Files 50
Run time 21s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1504

push

travis-ci

Jacob Ashdown
Add basic querying to MongoStorageEngine

Add the ability to do the most basic form of query with no filtering,
limiting, sorting or grouping.

Ensure datetime fields are converted to UTC.

Add ability to filter to MongoStorageEngine.query

Add the ability to filter by field and by start / end times.

Add sort and limit to MongoStorageEngine.query

Add group and period to MongoStorageEngine.query

This adds the group_by and period parameters. However, this does not
implement collect fields. That will come in a later commit.

Add collect fields to MongoStorageEngine.query

Add collect fields to grouped queries. This just adds the collecting of
the values, applying collect functions to these will be implemented
outside of the storage engine for the moment as it is currently done in
python.

Integrate mongo storage engine query

This is the smallest change I could figure out to integrate the mongo
storage engine's query.
Highlights:
- No response munging is done in the mongo layer now, it's done in
  NewDataSet
- A few functions about the query have been moved into properties on the
  Query object.
- None of the flask apps depend on DataSet or Database anymore

Move DataSet tests over to NewDataSet

Rewrite some tests on DataSet to the new class NewDataSet.

Change migrations to depend on MongoStorageEngine

This is a hack and migrations should be removed or fixed properly.

This change marks all existing migrations as deprecated as they don't
really make so much sense with the new model.

Remove backdrop.core.database and DataSet

This is quite a broad change that cleans up the previous commits. It
includes:

- Remove backdrop.core.database module, it is now completely
  superseded by backdrop.core.storage.mongo
- Remove DataSet class from backdrop.code.data_set, it is now completely
  superseded by NewDataSet (renaming will happen in a later commit)
- Remove query execution methods from Query object, they are now handled
  by NewDataSet. Moving query a... (continued)

1681 of 1860 relevant lines covered (90.38%)

0.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1504.1 (SKIP_VIRUS_SCAN=1 SKIP_SPLINTER_TESTS=1 MONGO_REPLICA_SET='') 02 Jun 2014 11:23AM UTC 0
90.38
Travis Job 1504.1
Source Files on build 1504
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1504
  • 144996a0 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc