1. 04 Oct, 2013 1 commit
  2. 04 Jun, 2013 1 commit
    • Giorgos Korfiatis's avatar
      astakos: Record the service originating a resource · 9ef530af
      Giorgos Korfiatis authored
      Add field service_origin in model Resource as well as in the
      resource definitions, indicating the service where the resource
      comes from. It is not a foreign key, in order to allow deleting
      a component/service, without affecting registered resources and
      API call /service_quotas uses this field to identify relevant
  3. 03 Jun, 2013 1 commit
    • Giorgos Korfiatis's avatar
      astakos: Lift old-style services to components · ba8549dd
      Giorgos Korfiatis authored
      Add model Component and migrate services along with their token
      and UI URL to this new model. Rename service to component where
      Add field service_type in Resource and fill it based on the name
      of the service that used to own the resource.
  4. 20 May, 2013 2 commits
    • Giorgos Korfiatis's avatar
      astakos: Lock chain for projects, user for syncing · e3b982f4
      Giorgos Korfiatis authored
      Lock project's chain for every operation affecting either a project or
      an application. Subsequently, lock user when needing to sync or to issue
      commission to update pending_app quota.
      In views, replace locking qh_add_pending_app with check_pending_app_quota,
      which will only query quota, so that to respect the above mentioned order.
      Order by id when locking multiple users.
    • Giorgos Korfiatis's avatar
      astakos: Remove some unused imports · 0ad5d74b
      Giorgos Korfiatis authored
      Also add a missing import in quotas.py
  5. 16 May, 2013 2 commits
  6. 15 May, 2013 1 commit
    • Giorgos Korfiatis's avatar
      astakos: Improve quota syncing · 1542c439
      Giorgos Korfiatis authored
       - Split code that lists and syncs quotas
       - Merge the latter with qh_sync_users
       - Move qh_sync_projects in quotas.py; sync only active members
       - Add missing select for update in project suspend
       - Clean up quotas.py
  7. 14 May, 2013 2 commits
  8. 29 Apr, 2013 4 commits
  9. 23 Apr, 2013 2 commits
    • Giorgos Korfiatis's avatar
      astakos: Rename get_service_quotas to service_get_quotas · f2b4640e
      Giorgos Korfiatis authored
      So that it follows the naming scheme of other astakosclient calls.
    • Giorgos Korfiatis's avatar
      Handle max pending applications as a quotable resource · c02fa17e
      Giorgos Korfiatis authored
      Assume a resource `astakos.pending_app' related to service `astakos'.
      On submitting an application, issue a commission that will update the
      related counter if possible, and accept the commission on success.
      On approving/denying/cancelling an application, update the counter
      We always charge the application `owner'; however, if the `applicant'
      is a project admin, we issue commission in force mode which succeeds
      even if it exceeds the limit.
      In order to pre-emptively check in the UI, follow the same process in
      `dry run' mode, which issues a commission and rejects it on success.
      Remove option of user-update to set its limit.
      Refs #3349
  10. 22 Apr, 2013 8 commits
  11. 19 Apr, 2013 2 commits
  12. 18 Apr, 2013 3 commits
  13. 08 Apr, 2013 1 commit
  14. 05 Apr, 2013 2 commits