1. 05 Apr, 2022 1 commit
  2. 30 Mar, 2022 1 commit
  3. 25 Mar, 2022 2 commits
  4. 09 Mar, 2022 4 commits
  5. 25 Feb, 2022 3 commits
  6. 21 Feb, 2022 2 commits
  7. 18 Feb, 2022 1 commit
    • Takashi Kajinami's avatar
      Fix description of orchestrator parameters · 9d917cc1
      Takashi Kajinami authored
      - coordination_url is not driver URL but backend URL. Driver is
        determined according to the backend.
      
      - The parameter description should not use abbreviations, as these
        can confuse users.
      
      Change-Id: I16eb47e161ae826393d113082091c292d097fc03
      9d917cc1
  8. 07 Feb, 2022 1 commit
  9. 10 Jan, 2022 2 commits
  10. 30 Dec, 2021 1 commit
  11. 28 Dec, 2021 1 commit
  12. 14 Dec, 2021 1 commit
  13. 13 Dec, 2021 5 commits
    • Zuul's avatar
      Merge "Fix quote API" · 0014fc50
      Zuul authored
      0014fc50
    • Zuul's avatar
      Merge "Adding two options in fetcher_keystone" · 76fcadcb
      Zuul authored
      76fcadcb
    • Zuul's avatar
      Merge "Add missing whitespace in log message" · a9355c8e
      Zuul authored
      a9355c8e
    • Rafael Weingärtner's avatar
      Fix quote API · 21a87304
      Rafael Weingärtner authored
      The quote API method has been broken for a while now. This patch fixes
      the API and makes it work again. To use it, one can issue the following
      command.
      
          curl -s -X POST "http://cloudkitty_server_and_port/v1/rating/quote" -H "Accept: application/json" -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: ${ACCESS_TOKEN_KEYSTONE}" -d '{"resources": [{"service": "<cloudkitty_service_name>", "volume": "<quantity_to_quote>", "desc": {"metadata": {"<field_name_used_to_define_price>": "<value_to_activate_a_price>"}}}]}'
      
      Change-Id: Ia6ef6543a5100445b203196d39b404bc74b75ba0
      Story: 2009022
      Task: 42744
      21a87304
    • Rafael Weingärtner's avatar
      Add support for multiple value filters · 76e98ffd
      Rafael Weingärtner authored
      The goal of this patch is to introduce support for multi-valued
      parameters. For instance, for the `type` parameter, even though the code
      was treating it as a possible list of types, the API would not allow a
      user to send multiple types.
      
      This patch enables users to send filters with multiple values, which can
      be useful for filtering by project_ids for instance, or different types
      (metric types).
      
      Change-Id: I59397b33d014709eb976c78d517f009b8a2be4cf
      76e98ffd
  14. 10 Dec, 2021 1 commit
  15. 02 Dec, 2021 1 commit
    • Rafael Weingärtner's avatar
      Introduce "response_format" for the V2 summary API · 6ba9d45e
      Rafael Weingärtner authored
      The V2 summary endpoint uses a quite unconventional data format in
      the response. Currently, the format is the following:
      
      ```
      {"total": <number of elements in the response>,
       "results": [array of arrays of data],
       "columns": [array of columns]}
      ```
      
      To process this, we need to find the index of a column in the column
      list, and with this index, we retrieve the data in the array of data
      that is found in the array of results. The proposal is to use the
      following format in the response.
      
      ```
      {"total": <number of elements in the response>,
       "results": [array of objects/dictionary]}
      ```
      
      With this new format, one does not need to consult the index of a
      column to retrieve data in one of the entries. We would only need to
      retrieve the data in the entry using its column name. Therefore, the
      coding feels more natural. To maintain compatibility, this new format
      would be only applied when an option is sent to CloudKitty via
      `response_format` option.
      
      Depends-on: https://review.opendev.org/c/openstack/cloudkitty/+/793973
      
      Change-Id: I5869d527e6e4655c653b6852d6fb7bebc9d71520
      6ba9d45e
  16. 29 Nov, 2021 3 commits
  17. 29 Oct, 2021 1 commit
  18. 27 Oct, 2021 1 commit
  19. 06 Oct, 2021 2 commits
    • Rafael Weingärtner's avatar
      Add active status fields in the storage state table · 2acaa5a4
      Rafael Weingärtner authored
      This patch adds active status fields in the storage state table
      (cloudkitty_storage_states). A boolean column called "active",
      which indicates if the CloudKitty scope is active for billing, and
      another one called "scope_activation_toggle_date" (timestamp field)
      to store the latest timestamp when the scope moved between the
      active/deactivated states. Then, during CloudKitty processing, we
      check the "active" column. If the resource is not active, we ignore
      it during the processing.
      
      Moreover, we introduce an API to allow operators to set the "active" field.
      The "scope_activation_toggle_date" will not be exposed for operators to
      change it. It is updated automatically according to the changes in the "active"
      field.
      
      This patch adds a new HTTP method to "/v2/scope" endpoint. We then use
      "patch" HTTP method to allow operators to patch a storage scope. The API
      will require the scope_id, and then, it takes into account some of the fields
      we allow operators to change, and "active" field is one of them.
      
      Change-Id: Ia02c2eeb98021c60549cb8deab6f2e964e573f1e
      Implements: https://review.opendev.org/c/openstack/cloudkitty-specs/+/770928/
      2acaa5a4
    • Thomas Goirand's avatar
      Now packaging 15.0.0 · 629f343a
      Thomas Goirand authored
      629f343a
  20. 30 Sep, 2021 1 commit
  21. 27 Sep, 2021 1 commit
  22. 20 Sep, 2021 1 commit
  23. 17 Sep, 2021 3 commits
    • Thomas Goirand's avatar
      40f1e2c1
    • Thomas Goirand's avatar
      Now packaging 15.0.0_rc1 · 03eed7a5
      Thomas Goirand authored
      03eed7a5
    • Thomas Goirand's avatar
      Merge tag '15.0.0_rc1' into debian/xena · 3a3daf4e
      Thomas Goirand authored
      cloudkitty 15.0.0.0rc1 release candidate
      
      meta:version: 15.0.0.0rc1
      meta:diff-start: -
      meta:series: xena
      meta:release-type: release candidate
      meta:pypi: yes
      meta:first: no
      meta:release:Author: Hervé Beraud <hberaud@redhat.com>
      meta:release:Commit: Hervé Beraud <hberaud@redhat.com>
      meta:release:Change-Id: I61920f111b4c71018ffdff9943a520b667baca98
      meta:release:Code-Review+1: Rafael Weingartner <rafael@apache.org>
      meta:release:Code-Review+2: Hervé Beraud <herveberaud.pro@gmail.com>
      meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech>
      meta:release:Workflow+1: Elod Illes <elod.illes@est.tech>
      3a3daf4e