[ 
http://opencast.jira.com/browse/MH-7349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=25571#comment-25571
 ] 

Benjamin Wulff edited comment on MH-7349 at 3/23/11 4:11 PM:
-------------------------------------------------------------

Added module matterhorn-workflowoperation-mediapackagepost. When bundle is 
deployed the workflow operation 'post-mediapackage' is available with the 
following configuration keys:

url : target URL
format : either JSON or XML
debug : if enabled the message body of the target hosts answer is written to 
the log
auth.enabled : enable/disable http authentication (auth method will be detected 
automatically)
auth.username : username for auth challenge
auth.password : password for auth challenge

Also, all configuration options with a key starting with '+' will be added to 
the message body:

<configuration key="+cmd">addData</configration>

will add the field 'key' with value 'addData' to the post message. This 
provides a simple mechanism to send additional data along with the 
mediaPackage. For example if you have an 

<input id="custom-comment" class="configField"> 

in the Workflow Configuration Panel you can pass this user input along with the 
mediaPackage to the target host by adding the configuration

<configuration key="+comment">${custom-comment}</configration>

(See example in 1.1.x-uos/docs/felix/conf/workflows/postmp-test.xml)

      was (Author: bwulff):
    Added module matterhorn-workflowoperation-mediapackagepost. When bundle is 
deployed the workflow operation 'post-mediapackage' is available with the 
following configuration keys:

url : target URL
format : either JSON or XML
debug : if enabled the message body of the target hosts answer is written to 
the log
auth.enabled : enable/disable http authentication (auth method will be detected 
automatically)
auth.username : username for auth challenge
auth.password : password for auth challenge

Also, all configuration options with a key starting with '+' will be added to 
the message body:

<configuration key="+cmd">addData</configration>

will add the field 'key' with value 'addData' to the post message. This 
provides a simple mechanism to send additional data along with the 
mediaPackage. For example if you have an 

<input id="custom-comment" class="configField"> 

in the Workflow Configuration Panel you can pass this user input along with the 
mediaPackage to the target host by adding the configuration

<configuration key="+comment">${custom-comment}</configration>
  
> (msub/1.1.x-uos) create Worflow Operation that submits MediaPackage as 
> XML/JSON to remote host
> ----------------------------------------------------------------------------------------------
>
>                 Key: MH-7349
>                 URL: http://opencast.jira.com/browse/MH-7349
>             Project: Matterhorn Project
>          Issue Type: Task
>          Components: Architecture & Services
>    Affects Versions: 1.1.x (branch)
>            Reporter: Benjamin Wulff
>            Assignee: Benjamin Wulff
>             Fix For: 1.1.x (branch)
>
>
> Workflow Operation that submits an XML/JSON marshaled MediaPackage to a 
> remote host. Should support at least simple and digest HTTP authentication. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to