Giter Site home page Giter Site logo

cgreweling / matterhorn-workflowoperation-mediapackagepost Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lkiesow/matterhorn-workflowoperation-mediapackagepost

0.0 2.0 0.0 125 KB

Workflow handler for Opencast Matterhorn which send a processed Mediapackage to a remote webservice

Java 98.55% Shell 1.45%

matterhorn-workflowoperation-mediapackagepost's Introduction

============================================= matterhorn-workflowoperation-mediapackagepost

This Opencast Matterhorn workflowoperation handler can be used to send a POST request containing the currently processed Mediapackage to an external webservice.


Features

  • Send Mediapackage to remote webservice
  • Handle HTTP Basic/Digest authentication
  • Send additional data

Contributors


Workflow Configuration

The workflowoperation handler can be integrated like this:

<!--
	This operation will send a POST request containing the Mediapackage to an
	external webservice.
-->
<operation
	id="post-mediapackage"
	fail-on-error="false"
	exception-handler-workflow="error"
	description="Sending MediaPackage to Lernfunk3">
	<configurations>
		<!-- target url -->
		<configuration key="url">http://example.com:5000/</configuration>
		<!-- Use xml as export format -->
		<configuration key="format">xml</configuration>
		<!--
			Disable this on a productive system. if enabled, request bodies
			etc. will be written to log. Is disabled, only errors will be
			logged.
		-->
		<configuration key="debug">no</configuration>
		<!-- Type of Mediapackage to send (possible values: workflow, search; default: search) -->
		<configuration key="mediapackage.type">search</configuration>
		<!-- enable authentication (simple/digest will be detected automatically) -->
		<configuration key="auth.enabled">yes</configuration>
		 <!-- username for authentication -->
		<configuration key="auth.username">exportuser</configuration>
		<!-- password for authentication -->
		<configuration key="auth.password">secret</configuration>
		<!-- fields with keys beginning with + will be added to the message body -->
		<configuration key="+source_system">video.example.com</configuration>
	</configurations>
</operation>

matterhorn-workflowoperation-mediapackagepost's People

Contributors

lkiesow avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.