vidispine notifications vidispine bootcamp. overview notifications can trigger on: –job...
TRANSCRIPT
![Page 1: Vidispine notifications Vidispine Bootcamp. Overview Notifications can trigger on: –Job update/finish/stop –Item create/delete –Collection create/delete](https://reader035.vdocuments.mx/reader035/viewer/2022081821/56649e845503460f94b856fd/html5/thumbnails/1.jpg)
Vidispine notifications
Vidispine Bootcamp
![Page 2: Vidispine notifications Vidispine Bootcamp. Overview Notifications can trigger on: –Job update/finish/stop –Item create/delete –Collection create/delete](https://reader035.vdocuments.mx/reader035/viewer/2022081821/56649e845503460f94b856fd/html5/thumbnails/2.jpg)
Overview
• Notifications can trigger on:– Job update/finish/stop– Item create/delete– Collection create/delete– Metadata modify– Shape create/modify/delete– File create/delete– ACL create/delete– User group create/modify/delete– Storage quote create/delete and warnings
![Page 3: Vidispine notifications Vidispine Bootcamp. Overview Notifications can trigger on: –Job update/finish/stop –Item create/delete –Collection create/delete](https://reader035.vdocuments.mx/reader035/viewer/2022081821/56649e845503460f94b856fd/html5/thumbnails/3.jpg)
Overview cont’d
• Notification destinations supported:– HTTP – sends an HTTP request to the
specified location– JMS – sends a JMS message to the
specified destination– EJB – runs the specified method in the
specified bean
![Page 4: Vidispine notifications Vidispine Bootcamp. Overview Notifications can trigger on: –Job update/finish/stop –Item create/delete –Collection create/delete](https://reader035.vdocuments.mx/reader035/viewer/2022081821/56649e845503460f94b856fd/html5/thumbnails/4.jpg)
HTTP definition
<NotificationDocument xmlns="http://xml.vidispine.com/schema/vidispine">
<action> <http synchronous="false"> <retry>3</retry> <contentType>application/json</contentType> <url>http://example.com/notify</url> <method>POST</method> <timeout>5</timeout> </http> </action> <trigger> ... </trigger> </NotificationDocument>
![Page 5: Vidispine notifications Vidispine Bootcamp. Overview Notifications can trigger on: –Job update/finish/stop –Item create/delete –Collection create/delete](https://reader035.vdocuments.mx/reader035/viewer/2022081821/56649e845503460f94b856fd/html5/thumbnails/5.jpg)
EJB definition
<NotificationDocument xmlns="http://xml.vidispine.com/schema/vidispine">
<action> <ejb synchronous="true"> <bean>vidibrain.beans.MyBeanRemote</bean> <method>myMethod</method> </ejb> </action> <trigger> ... </trigger></NotificationDocument>
![Page 6: Vidispine notifications Vidispine Bootcamp. Overview Notifications can trigger on: –Job update/finish/stop –Item create/delete –Collection create/delete](https://reader035.vdocuments.mx/reader035/viewer/2022081821/56649e845503460f94b856fd/html5/thumbnails/6.jpg)
JMS Definition
<NotificationDocument xmlns="http://xml.vidispine.com/schema/vidispine">
<action> <jms synchronous="true">
<queueFactory>VidibrainQueueFactory</queueFactory> <queue>VidibrainQueue</queue> </jms> </action> <trigger> ... </trigger></NotificationDocument>
![Page 7: Vidispine notifications Vidispine Bootcamp. Overview Notifications can trigger on: –Job update/finish/stop –Item create/delete –Collection create/delete](https://reader035.vdocuments.mx/reader035/viewer/2022081821/56649e845503460f94b856fd/html5/thumbnails/7.jpg)
Notification triggers
• The <trigger> element contains the resource and the event type.
• Example:– <trigger>
<item> <create/> </item> </trigger>