<dfm name='gsgNotification' namespace='http://www.genesyslab.com/modules/dfm/gsgNotification/v1'> 

	<protocols>
		<protocol type='http'>
			<params>
				<param name='timeout' expr='20'/>
			</params>
			<globalevents>
				<event name='done' mapping='200'/>
				<event name='error' mapping='0,400-510'/> 
			</globalevents>
		</protocol>
	</protocols>
	
	<connections> 
		<connection name='HTTP_simple' type='http' selectionmode='simple'> 
			<servers>
				<server name='gsg' host='demosrv' port='88' />   
			</servers>
		</connection> 			 		
	</connections> 
		
	<transports> 
		<transport name='HTTP_GET' conntype='HTTP_simple'>  
			<param name='method' expr='GET'/> 
			<param name='enctype' expr='application/x-www-form-urlencoded'/>
		</transport> 
		<transport name='HTTP_POST' conntype='HTTP_simple'>  
			<param name='method' expr='POST'/> 
			<param name='enctype' expr='application/json'/> 
		</transport>	
		<transport name='HTTP_DELETE' conntype='HTTP_simple'>  
			<param name='method' expr='DELETE'/> 
			<param name='enctype' expr='application/x-www-form-urlencoded'/>
		</transport> 		
	</transports> 
	
	<actions> 		
 		<action name='create' transport='HTTP_POST' > 
			<overrides> 
				<param name='url' expr='/genesys/${apiVersion}/notification/subscription'/>
			</overrides>  
			<attributes> 
				<attribute name='apiVersion' type='String' optional='false' /> 
				<attribute name='content' type='Expression' optional='false' mapping='content'/>
			</attributes>
		</action> 
 		<action name='deleteSubscription' transport='HTTP_DELETE' > 
			<overrides> 
				<param name='url' expr='/genesys/${apiVersion}/notification/subscription/${subscriptionID} '/>
			</overrides>  
			<attributes> 
				<attribute name='apiVersion' type='String' optional='false' /> 
				<attribute name='subscriptionID' type='String' optional='false' /> 
			</attributes>
		</action> 
 		<action name='deleteSubscriber' transport='HTTP_DELETE' > 
			<overrides> 
				<param name='url' expr='/genesys/${apiVersion}/notification/subscription/subscriber/${subscriberID}'/>
			</overrides>  
			<attributes> 
				<attribute name='apiVersion' type='String' optional='false' /> 
				<attribute name='subscriberID' type='String' optional='false' /> 
			</attributes>
		</action> 
 		<action name='publish' transport='HTTP_POST' > 
			<overrides> 
				<param name='url' expr='/genesys/${apiVersion}/notification/publish'/>
			</overrides>  
			<attributes> 
				<attribute name='apiVersion' type='String' optional='false' /> 
				<attribute name='content' type='Expression' optional='false' mapping='content'/>
			</attributes>
		</action> 
	</actions> 
	
</dfm>