Commit Graph

6 Commits

Author SHA1 Message Date
Kaustubh Phatak 46c6395372 Fixing tenant deletes bug
Closes-Bug: 1686809

Change-Id: Ib2a7152ac5187b5b7f941963e94b49b66eb9c224
2017-04-28 14:38:57 -07:00
Roopak Parikh e7fb57fee6 Preparing for OpenSource of Mors
Added:
- License.md with Apache 2 license
- Added license header to all the python files
- Added a better readme with an overview of functionality & installation
2016-07-08 12:06:42 -07:00
Susmitha 141b307f68 Fix issue with instance lease update when multiple rows present
Added a functional test for the scenario. When more than two rows
exist in instance_lease, the update to one VM's instance lease
updates all rows instead of just one row.
2016-06-29 13:36:41 -07:00
Susmitha 49c5977a4a Fix for IAAS-5516, IAAS-5517: get API for mors not returning right value
Without this fix, get API always returns first entry in the table
irrespective of tenant_id/instance_uuid lease requested.
2016-06-02 18:44:46 -07:00
Susmitha c80416a6e7 Changing the API default for lease expiry from days to minutes
Added DB migration script
2016-06-01 12:41:25 -07:00
Roopak Parikh e62bf60096 First version of Mors - Lease Manager
What works:
- All the add/delete/update APIs integrated with UI and tested end to
  end
- Basic unit tests that test the above metioned APIs.

What (may) not be working or in other words is not fully tested
- Actual deletes of the VM, it used to work, but code has gone through
  major changes so need to test again.
- Cases:
-- Making sure Override of the lease works.
-- Cases where VM changes tenants or is deleted before the lease expiry
-- Removal of the tenant (not tested at all)

Next steps:
- Better unit test cases - better verification
- Deployment scripts (Ansible playbooks)

Adding a manage script for managing database upgrade script

Adding manage.py
2016-04-09 13:11:52 -07:00