Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 4, 2014
  1. @FlaPer87

    Rename Marconi to Zaqar

    FlaPer87 authored
    This patch renames every package, file, match of Marconi in the codebase
    to Zaqar *except* for the .gitreview file, which will have to be updated
    *after* I8e587af588d9be0b5ebbab4b0f729b106a2ae537 lands.
    
    Implements blueprint: project-rename
    
    Change-Id: I63cf2c680cead4641f3e430af379452058bce5b3
  2. @FlaPer87

    Merge metadata back into the queue endpoint

    FlaPer87 authored
    During Icehouse, we decided to pull the metadata out of the queue
    endpoint by adding a new endpoint `/metadata`. This worked well because
    we didn't have a clear view of what the scope of metadata is. Now that
    we want to use it and make it a key piece of the queues, we've found
    that the workflow is not as clear as we'd like. The reason being that
    some key items of the metadata - flavor, for example - need to be
    specified during the queue creation and not after.
    
    Merging these endpoints together is enough to fix this issue.
    
    DocImpact
    
    Implements blueprint: api-v1.1-merge-queue-and-metadata
    
    Change-Id: Icca1a2b2066a518f8f50cad20e55b39a8bff0f2d
Commits on Jul 24, 2014
  1. @kgriffs

    Deprecate partial field in v1.0, remove in v1.1

    kgriffs authored
    As of the Icehouse release, drivers are no longer allowed to enqueue a
    subset of the messages submitted by the client; it's all or nothing.
    Therefore, 'partial' is now always False in the v1.0 API, and the
    field has been completely removed in v1.1.
    
    Change-Id: I97a9e7e0dc047f44c7d6aab8913cdffb04a5b642
    Partially-Implements: blueprint api-v1.1-response-document-changes
  2. @openstack-gerrit

    Merge "API v1.1 - Encapsulate message post bodies in a JSON object"

    Jenkins authored openstack-gerrit committed
  3. @openstack-gerrit

    Merge "Remove check queue exists endpoint"

    Jenkins authored openstack-gerrit committed
Commits on Jul 22, 2014
  1. @kgriffs

    API v1.1 - Encapsulate message post bodies in a JSON object

    kgriffs authored
    This patch implements one of the breaking changes specified in
    the API v1.1 spec, which requires clients to encapsulate the
    list of messages to enqueue in a JSON object, when posting
    those messages to the API.
    
    Partially-Implements: blueprint api-v1.1-request-document-changes
    Change-Id: I72ae87e1c479b6be6fbc8ce1fbaee89b2729e41a
  2. @openstack-gerrit

    Merge "feat(v1.1): Default TTL and grace values"

    Jenkins authored openstack-gerrit committed
Commits on Jul 18, 2014
  1. @kgriffs

    feat(v1.1): Default TTL and grace values

    kgriffs authored
    When posting messages, the "ttl" field may be omitted, in which
    case the server defaults to the default TTL value configured by
    the operator.
    
    Likewise, when creating a claim, the "ttl" and "grace" fields
    may be omitted to use the defaults configured for each field.
    
    Change-Id: I38c6307377293b26370de28ffa13db22228c208c
    Partially-Implements: blueprint api-v1.1-request-document-changes
  2. @malini-kamalambal

    Remove check queue exists endpoint

    malini-kamalambal authored
    This patch removes the queue exists check from the transport layer.
    Implements: blueprint api-v1.1-remove-check-queue-existence
    
    Change-Id: I5fbd3089d552c22ab59a49a7fadc743cbb884770
Commits on Jul 14, 2014
  1. @malini-kamalambal

    Implement POP in v1.1 API

    malini-kamalambal authored
    This patch implements the pop functionality for v1.1 of the Marconi
    API. The POP functionality is implemented as an optional parameter
    in the delete messages using id params endpoint. This includes the
    following validations,
    1. pop & id params cannot be used together in the request.
    2. 0 < pop value <= max_messages_per_claim_or_pop
    
    docImpact
    Change-Id: I63b22e57ed5ab398b81cde2d0284767e9704ec11
    Implements: blueprint api-v1.1-pop-operation
Commits on Jul 9, 2014
  1. @FlaPer87

    Switch over oslo.i18n

    FlaPer87 authored
    oslo.i18n has recently been released. This patch switches marconi over
    oslo.i18n. As per oslo.i18n's instructions, a new i18n module has been
    added under marconi. This module defines the translation globals and
    imports the necessary functions from oslo.i18n.
    
    The patch doesn't change the way Marconi does translation, this means
    that a `_` function is still being injected to the builtins.
    
    Note that the gettextutils module is still a required module from
    oslo-inc because there are oslo-inc modules that depend on the old
    gettextutils module.
    
    Closes-bug: #1314300
    
    Change-Id: Ifb8f3296d1a0e2483ebd1c8d868b7359ecc99fb5
Commits on Jun 18, 2014
  1. @kgriffs

    Update hacking version and fix new violations

    kgriffs authored
    The newer hacking version is more strict about some things, so I
    had to update a bunch of files with minor issues that previously
    fell through the cracks.
    
    Change-Id: I169bc6f8533bab28c7d6cf321ea83a8d7945f136
  2. @openstack-gerrit

    Merge "Rename shards to pool"

    Jenkins authored openstack-gerrit committed
  3. @FlaPer87

    Rename shards to pool

    FlaPer87 authored
    Shard turned out to be a quite overloaded/confusing term to use here,
    although correct. We decided to rename our shard feature to pool.
    
    P.S: I swear I didn't use sed O.O
    
    Change-Id: Ic54f29a4da7d7690c9c9210b74876b96f0ae0eac
Commits on Jun 16, 2014
  1. @TheSriram

    Implement Lazy Create Queue in v1.1 API

    TheSriram authored
    This patch allows:
    1.Posting a message for queue that does not exist, and creates the queue on the fly
    2.Listing messages, Stats from a non-existing queue which gives an empty
      list with a HTTP code of 200
    
    Claim behavior is left unchanged.
    
    Implements : blueprint api-v1.1-lazy-create-queues
    
    Change-Id: Ie8e1b068d78561deaf01ca84e47e506d88422c1e
Commits on May 21, 2014
  1. @alex

    Fixed a few typos in the codebase

    alex authored
    Change-Id: If74311ae213852c54e66b835bc4d29a5ec76411e
Commits on May 20, 2014
  1. @FlaPer87

    Revert "Disable Metadata write operations on v1.1"

    FlaPer87 authored
    This reverts commit 23fa8e8.
    
    Based on the feedback we got from the summit, it seems that removing
    queues and their metadata is not a good idea.
    
    I'd like to revert this patch until we either choose to go 'The stubborn
    way' or accept this actually makes sense.
    
    Conflicts:
    	marconi/queues/transport/wsgi/v1_1/metadata.py
    
    Change-Id: Ic407e104a4108acc262a5a35c317ef6a9fc529a4
Commits on Apr 23, 2014
  1. @kgriffs

    fix(metadata): Fix inconsistent error response under v1.1

    kgriffs authored
    This patch modifies the v1.1 `on_put` responder to raise an
    instance of falcon.HTTPError, including setting the Allow
    header as required by RFC 2616.
    
    This ensures that the structured JSON response body is
    consistent with error bodies returned elsewhere in the
    API.
    
    A test was also added to cover the v1.1 implementation
    of `on_put`.
    
    Change-Id: I05e15cd3c676db8f9fc3fb7d1ba6fcd31613fc30
    Partially-Implements: blueprint api-v1.1-remove-queue-metadata
Commits on Apr 16, 2014
  1. @FlaPer87

    Disable Metadata write operations on v1.1

    FlaPer87 authored
    This is the first step towards removing metadata completely from the
    API. This is temporary until we decided whether we will remove read
    operations too.
    
    Partially-Implements: api-v1.1-remove-queue-metadata
    
    Change-Id: I18b8b7a9284b37d866dec7ab1f8117dc779431f8
Commits on Mar 21, 2014
  1. @FlaPer87

    Update license headers on select source files

    Jon Bernard authored FlaPer87 committed
    Once a top-level LICENSE file is included, pep8 will compare the license
    header of a source file to its expected value and complain if they don't
    match.  This patch re-formats the headers in question to please pep8.
    
    No license content is changed, only formatting.
    
    Change-Id: I0f1318b23f343523ca679ca331ef6f9f7084ebc2
Commits on Mar 11, 2014
  1. @FlaPer87

    Prepare Marconi to support oslo's config.generator

    FlaPer87 authored
    This patch removes the options_iter function and prepares marconi's code
    base to play nice with oslo's config.generator. The replacement of lists
    with tuples is necessary to avoid oslo's config.generator to parse the
    globally defined options. In Marconi's case, we want it to use the
    registered entry_points. (This is a workaround).
    
    Change-Id: I56995fe16cd0b6e092b522dac3c32e4ec75bb269
Commits on Mar 10, 2014
  1. @kgriffs

    Add missing logging trace queues collection

    kgriffs authored
    This was done for consistency with the other request
    responders in the transport driver.
    
    Change-Id: Id1ae72f984c66a2dfd3a8d20253dd2908e1c4e4a
Commits on Mar 5, 2014
  1. @openstack-gerrit

    Merge "Removed debug level messages translations"

    Jenkins authored openstack-gerrit committed
  2. @vkmc

    Removed debug level messages translations

    vkmc authored
    Cleared _() from all debug level messages
    in order to stick to new translations guidelines
    
    Change-Id: I724f790c733c67f1111a862c77cf44f7f17d194c
    Closes-Bug: #1276335
Commits on Feb 26, 2014
  1. @kgriffs

    test(wsgi): Refactor tests in preparation for API v1.1

    kgriffs authored
    The tests were refactored into an inheritance model so that we can
    share as much of the testing code as possible between v1.0 and v1.1.
    
    As a part of this process, test class names were normalized and the
    py3k check for keystone middleware was removed.
    
    Change-Id: I04d342e2ce8bfd4fa0829935deb9b2753dd5af32
    Partially-Implements: blueprint api-v1.1
Commits on Feb 20, 2014
  1. @OpenStacker

    feat(v1.1): Implement /ping endpoint for v1.1

    OpenStacker authored
    This patch creates a new endpoint /ping in v1.1 API, which is a
    clone of the /health endpoint in v1.0. Because a new /health
    endpoint will be added in v1.1 to return more detailed KPI of
    Marconi server.
    
    Implement blueprint: api-v1.1-ping-endpoint
    
    Change-Id: I486c8a3583fc557c0b0578b0f73a6c6a2a3748b3
Commits on Feb 18, 2014
  1. @kgriffs

    feat(v1.1): Plumb v1.1 API in the WSGI transport

    kgriffs authored
    This patch creates a copy of the v1.0 API as a starting point for
    implementing the v1.1 API. The way that the "admin_mode" config option was
    implemented was changed, in order to simplify the grafting of the two API
    versions into a single driver. When the mode was implemented via inheritance,
    grafting the two API versions required some ugly hacks.
    
    Partially-Implements: blueprint api-v1.1
    Change-Id: I0e753315e3171bb5c23a57b8fb3826d08bfd5f26
Commits on Feb 11, 2014
  1. @ajaeger

    Improve help strings

    ajaeger authored
    Follow oslo.config style guide for help strings better to create
    consistent help strings:
    * Finish help strings with "."
    * Add missing space between strings
    
    Change-Id: I2e23144208dd0d567b02be78a9f0f309f0ac6294
  2. @kgriffs @openstack-gerrit

    fix(wsgi): Cleanup limit config options

    kgriffs authored openstack-gerrit committed
    This patch contains several misc. changes to queue, message, and
    claim limits to reduce confusion and bring the implementation in
    line with the v1 spec.
    
    1. Removed a couple of WSGI driver config options that are
    no longer needed now that we have redefined (and simplified) how
    we constrain message and metadata size.
    
        metadata_max_length = 65536
        content_max_length = 262144
    
    2. Renamed options to be more readable and consistent
    3. Moved options to [transport] section
    4. Made max messages that can be claimed its own setting, to reduce confusion
    5. Removed enforcing an upper limit on the number of messages that can be
    posted; this was never in the spec, and appears to be gold-plating. Now, the
    only upper limit is max_message_size.
    6. Removed the check on the size of a create claim request since (1) it is
    not part of the API spec, and (2) sanity-checks like that are best done by
    the web server, before a request even touches the app.
    7. Migrated limits for storage driver interface params to static values,
    since those defaults define the static contract between transport and
    storage drivers.
    8. Wrapped validation error messages in gettextutils._, and converted them
    to use .format instead of %.
    
    Change-Id: I1372e5002f030f5c8c47774ab00ca8ee7e12232d
    Closes-Bug: #1270260
  3. @cabrera

    fix(shards): guard against registering bad shard URIs

    cabrera authored
    Whenever an admin would attempt to register a new shard, the shard was
    admitted whether or not the shard URI actually existed, and whether or
    not marconi could handle shards of that type.
    
    This patch makes it so that a DataDriver instance is temporarily
    instantiated prior to storing the shard entry. This instance uses
    is_alive() to determine whether or not the shard can be reached/is
    supported. This applies to both PUT/PATCH. HTTP 400 is returned if the
    registration fails, as a result.
    
    To enable this change, the ability to create a dynamic configuration
    object was extracted from sharding.Catalog. Tests were written for
    this new function.
    
    The unit tests were updated accordingly, expanding the coverage of
    test_shards to include the new failure cases.
    
    Some changes needed to be made to handle new oslo.cache interface:
    - cache.unset doesn't exist - now using cache.unset_many
    - cache.get_cache() takes a URI, not a ConfigOpts
    
    Change-Id: I40509f525466da01baad2a5aef81c7b99c8d2f97
    Closes-Bug: #1258591
    Closes-Bug: #1273376
    Closes-Bug: #1273377
Commits on Feb 4, 2014
  1. @openstack-gerrit

    Merge "test(functional): Use direct WSGI requests in lieu of a wsgire…

    Jenkins authored openstack-gerrit committed
    …f server"
  2. @kgriffs

    test(functional): Use direct WSGI requests in lieu of a wsgiref server

    kgriffs authored
    The wsgiref server is very flaky when running in the gate, so let's just
    pass WSGI requests directly to the app for now, at look into adding a
    devstack job to the gate that will use a standalone server.
    
    Change-Id: Ifb6cd0c9080ded7ab93cced6e0d40a776eb2cd50
  3. @openstack-gerrit

    Merge "add copyright notices to some source files"

    Jenkins authored openstack-gerrit committed
Commits on Jan 27, 2014
  1. @liu-sheng

    add copyright notices to some source files

    liu-sheng authored
    Only empty files don't need copyright notices.
    
    Change-Id: If1720d243bcd5bc1b5cee8b4a914ba0ca5b2f397
Commits on Jan 24, 2014
  1. @FlaPer87

    DRY applied to class names

    FlaPer87 authored
    Closes-bug: #1237747
    
    We had some classes that contained part of the namespace in its name.
    This makes classes names unnecessarily verbose.
    
    Change-Id: I1a5c5be290437b6087cb57c63d9ea10826667f19
Something went wrong with that request. Please try again.