vidispine notifications vidispine bootcamp. overview notifications can trigger on: –job...

7
Vidispine notifications Vidispine Bootcamp

Upload: iris-hicks

Post on 29-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Vidispine notifications Vidispine Bootcamp. Overview Notifications can trigger on: –Job update/finish/stop –Item create/delete –Collection create/delete

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

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

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

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

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

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

Notification triggers

• The <trigger> element contains the resource and the event type.

• Example:– <trigger>

<item> <create/> </item> </trigger>