[openstack-dev] Barbican : Use of consumer resource

John Wood john.wood at RACKSPACE.COM
Tue Mar 31 05:06:29 UTC 2015

(Including Adam, who implemented this feature last year to make sure I'm not misspeaking here :)

Hello Asha,

The consumers feature allows clients/services to register 'interest' in a given secret or container. The URL provided is unrestricted. Clients that wish to delete a secret or consumer may add logic to hold off deleting if other services have registered their interest in the resource. However for Barbican this data is only informational, with no business logic (such as rejecting delete attempts) associated with it.

I hope that helps.


From: Asha Seshagiri <asha.seshagiri at gmail.com<mailto:asha.seshagiri at gmail.com>>
Date: Monday, March 30, 2015 at 5:04 PM
To: openstack-dev <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Cc: John Wood <john.wood at rackspace.com<mailto:john.wood at rackspace.com>>, "Reller, Nathan S." <Nathan.Reller at jhuapl.edu<mailto:Nathan.Reller at jhuapl.edu>>, Douglas Mendizabal <douglas.mendizabal at RACKSPACE.COM<mailto:douglas.mendizabal at RACKSPACE.COM>>, "alee at redhat.com<mailto:alee at redhat.com>" <alee at redhat.com<mailto:alee at redhat.com>>, Paul Kehrer <paul.kehrer at RACKSPACE.COM<mailto:paul.kehrer at RACKSPACE.COM>>
Subject: Re: Barbican : Use of consumer resource

Including Alee and Paul in the loop

Refining the above question :

The consumer resource allows the clients to register with container resources. Please find the command and response below

POST v1/containers/888b29a4-c7cf-49d0-bfdf-bd9e6f26d718/consumers

Header: content-type=application/json
        X-Project-Id: {project_id}
    "name": "foo-service",
    "URL": "https://www.fooservice.com/widgets/1234"

I would like to know the following :

1. Who  does the client here refers to ? Openstack Services or any other services as well?

2. Once the client gets registered through the consumer resource , How does client consume or use the consumer resource

Any Help would be appreciated.

Thanks Asha.

On Mon, Mar 30, 2015 at 12:05 AM, Asha Seshagiri <asha.seshagiri at gmail.com<mailto:asha.seshagiri at gmail.com>> wrote:
Hi All,

Once the consumer resource registers to the containers , how does the consumer resource consume the container resource?
Is there any API supporting the above operation.

Could any one please help on this?

Thanks and Regards,
Asha Seshagiri

Thanks and Regards,
Asha Seshagiri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150331/aeda22f3/attachment.html>

More information about the OpenStack-dev mailing list