Cue

Comment 1 for bug 1428896

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cue (master)

Reviewed: https://review.openstack.org/169128
Committed: https://git.openstack.org/cgit/stackforge/cue/commit/?id=d5cb1c627601601456526ea9e0e26897f417913f
Submitter: Jenkins
Branch: master

commit d5cb1c627601601456526ea9e0e26897f417913f
Author: dagnello <email address hidden>
Date: Wed Mar 25 14:59:10 2015 -0700

    Updating database models to fix time stamp errors

    * Updated DB models to use sqlalchemy models TimeStampMixIn from
      our own version as our version had a bug in created_at timestamp
      being the same for all created clusters.
    * As part of sqlalchemy models TimeStampMixIn, updated_at is an
      optional field, therefore changes to table definition was
      required.
    * Updated API to reflect optional fields (e.g. updated_at)
    * Added test to verify created_at, updated_at and deleted_at times
      are in correct order for corresponding changes (e.g. create,
      update and delete).

    closes-bug: 1428896
    Change-Id: I0047a197e48cbc017d7f750da797967108da423c