(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. Thanks, John From: Asha Seshagiri <[email protected]<mailto:[email protected]>> Date: Monday, March 30, 2015 at 5:04 PM To: openstack-dev <[email protected]<mailto:[email protected]>> Cc: John Wood <[email protected]<mailto:[email protected]>>, "Reller, Nathan S." <[email protected]<mailto:[email protected]>>, Douglas Mendizabal <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>, Paul Kehrer <[email protected]<mailto:[email protected]>> 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 <[email protected]<mailto:[email protected]>> 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
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
