Skip to content

Commit

Permalink
minor copy changes to changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
eschwartz authored Oct 25, 2019
1 parent 8268ba1 commit 445f98a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## v0.19.0

**BREAKING**
**BREAKING CHANGES**

- Add unique ID to Leases DB and API records
- Move to an _Expiring Leases model_ (see below for details)
Expand Down Expand Up @@ -29,13 +29,12 @@ In order to upgrade your DCE deployment to v0.19.0, you will need to:

### _Expiring Leases Model_

Prior to v0.19.0, leases were held in perpetuity by principals, or until the principal removed their lease via the `DELETE /leases`. Leased accounts would be "reset" at the end of the week. During reset, the lease would be marked as _Locked_, and then marked as _Active_ again after the reset was complete.
Prior to v0.19.0, leases were held in perpetuity by principals, or until the principal removed their lease via the `DELETE /leases` endpoint. Leased accounts would be "reset" at the end of the week. During reset, the lease would be marked as _Locked_, and then marked as _Active_ again after the reset was complete.

As of v0.19.0, leases are held for a defined time period (defined by the `expiresOn` property), and then destroyed (marked as `Inactive`). Accounts are reset after leases expires. There is no longer any type of `*Locked` state, as leases are always either `Active` or `Inactive`.
As of v0.19.0, leases are held for a defined time period (defined by the `expiresOn` property), and then destroyed (marked as `Inactive`). Accounts are reset after the leases expires. There is no longer any type of `*Locked` state, as leases are always either `Active` or `Inactive`.

Changes for this new behavior include:


- Simplified lease status model to include only two statuses: Inactive and Active.
- Changed check_budget to update_lease_status and added check for expiration date.
- Changed SQS and SNS notifications for lease status change to be triggered by lease status change in DB.
Expand Down

0 comments on commit 445f98a

Please sign in to comment.