Revision 38d5464c Changelog

b/Changelog
23 23

  
24 24
Astakos
25 25
-------
26
* Redesign of the accounting system (quotaholder) and integration into
27
astakos.
28

  
29
  * Simplified the quotaholder model; removed tables Entity and Policy; now
30
    table Holding contains limit and usage for every holding.
31

  
32
  * Extended table Holding, so that we can keep track of quota for every
33
    valid combination of holder (e.g. user), resource, and source (e.g. the
34
    default system or some specific project).
35

  
36
  * Refactored code for issuing and resolving commissions for robustness;
37
    added a 'force' option to bypass the upper limit check when issuing a
38
    commission.
39

  
40
  * Simplified syncing to the quotaholder; removed fields from models
41
    Project and ProjectMembership, previously needed for syncing; removed
42
    state PROJECT_DEACTIVATED from ProjectMembership.
43

  
44
* Service and resource specification and handling:
45

  
46
  * Specified a format for defining resources a service exposes. Migrated
47
    internal resource name by prefixing it with service name (e.g. 'vm'
48
    becomes 'cyclades.vm'); renamed registered service 'pithos+' to
49
    'pithos'.
50

  
51
  * Specified a procedure to register a service's resources in astakos and
52
    set their respective default base quota limit. Removed resource
53
    definitions from settings.
54

  
55
  * Moved service and resource presentation data out of the respective db
56
    models into a separate file of UI constants.
57

  
58
* Converted the limit on pending applications from a setting to a quotable
59
  resource. Converted the related user setting to a user-specific base quota
60
  limit. Deprecated model UserSetting; removed setting
61
  ASTAKOS_PENDING_APPLICATION_LIMIT.
62

  
63
* Changes in locking strategy:
64

  
65
  * Lock only project's chain for all project operations; lock user before
66
    syncing to quotaholder.
67

  
68
  * When locking multiple rows (e.g. users or holdings) include an ORDER BY
69
    clause in the query to impose ordering on locking.
70

  
71
* API-related changes:
72

  
73
 * Implemented API calls for quota, resources, and commissions.
74

  
75
 * Moved all API calls under '/astakos/api'. Kept also previous locations
76
   for backwards compatibility.
77

  
78
* Changes in views:
79

  
80
  * Replaced custom transaction context with a simple decorator for managing
81
    transactions and a context 'ExceptionHandler', which logs and suppresses
82
    exceptions
83

  
84
* Management commands:
85

  
86
  * Renamed command astakos-quota to quota; user-update to user-modify.
87

  
88
  * Removed user-set-initial-quota; integrated its functionality in
89
    user-modify and quota.
90

  
91
  * Added quota and project-related information in user-show command; added
92
    membership information in project-show.
93

  
26 94

  
27 95
Cyclades
28 96
--------

Also available in: Unified diff