1. 23 Apr, 2013 7 commits
    • Kostas Papadimitriou's avatar
      common: Test settings improvements · 70e7ed69
      Kostas Papadimitriou authored
      - Avoid settings overrides from conf files inside SYNNEFO_SETTINGS_DIR
        Tests are expected to succeed with exact setting values defined either
        in tests modules/cases or in the default synnefo setting modules. To
        ensure this we temporarily set SYNNEFO_SETTINGS_DIR environmental variable
        to a non existing directory.
      - Use DEBUG=False by default. We want our code to be tested in an
        settings environment as close to what we would set in a production
        deployment.
      - Set initial astakos IM_MODULES setting to be able to test third party
        providers. This will be removed once we manage to dynamically run
        different tests with different IM_MODULES combinations
      70e7ed69
    • Kostas Papadimitriou's avatar
      c5172eb4
    • Giorgos Korfiatis's avatar
      4537fac7
    • 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.
      f2b4640e
    • 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
      likewise.
      
      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
      c02fa17e
    • Giorgos Korfiatis's avatar
      quotaholder: Update unit tests · bfdb91cf
      Giorgos Korfiatis authored
      bfdb91cf
    • Giorgos Korfiatis's avatar
      quotaholder: Change provisions argument to list · 207ebf6e
      Giorgos Korfiatis authored
      It is the API code's task to transform the input dict to list.
      207ebf6e
  2. 22 Apr, 2013 15 commits
  3. 19 Apr, 2013 15 commits
  4. 18 Apr, 2013 3 commits