Hi Rohit,
I'd like to understand more about your use-case. Maybe I can help clarify a
few things and determine if there is a solution we can offer.
1. There actually isn't a concept of "push" on the server-side. It's
purely a client-side concept that the CLI uses to wrap a number of API
requests needed to run your application. This makes a push event difficult
to pin down.
2. The version guid can change for a number of reasons besides the app
being pushed, e.g. memory being change, ssh being enabled, etc.
Can you tell us more about what you are looking for in terms of push events
given those don't exactly line up with what happens on the platform?
Thanks,
Nick
On Wed, Jul 20, 2016 at 3:24 PM, rohit vyavahare <rohit.vyavahare(a)gmail.com>
wrote:
We want to listen to app push events from cloud foundry.
Right now we are listening to app create and update events, and on each
update event we call CF for the app summary to get the version guid. If the
version guid has changed from the previous time, then the app has been
pushed.
However, this process is expensive. Does anyone know of a better way to
know an app push event?
From version 238 I can see audit.app.package.upload, does that mean it is
a push event ?
--
Nicholas Calugar
Product Manager - Cloud Foundry API
Pivotal Software, Inc.