Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
	<objects xmlns="http://www.springframework.net"
		xmlns:db="http://www.springframework.net/database"
		xmlns:nms="http://www.springframework.net/nms"
		xmlns:tx="http://www.springframework.net/tx">
	  <!-- Kodi.Kodiak.OrderEntry -->
	  <!-- OrderInstructions -->
	  <object id="OrderInstructionEntryDma" type="Kodi.Kodiak.OrderInstructions.OrderInstructionEntry, Kodi.Kodiak.OrderInstructions">
		<property name="ClientPublisher" ref="ClientPublisher"/>    
		<!-- Services -->
		<property name="OrderService" ref="OrderService"/>    
		<!-- Adapters -->
		<property name="OrderValidationAdapter" ref="OrderValidationAdapterDma"/>
		<property name="OrderInstructionEntryUtil" ref="OrderInstructionEntryUtil"/>
	  </object>
	 
	 
		<object id="OrderValidationAdapterDma" type="Kodi.Kodiak.OrderEntry.Dma.OrderValidationAdapter, Kodi.Kodiak.OrderEntry.Dma">	
			<property name="ExternalUserRepository" ref="ExternalUserRepository"/>
			<property name="UserRepository" ref="UserRepository"/>	
			<property name="InstrumentRepository" ref="InstrumentRepository"/>	
			<property name="OrderRepository" ref="OrderRepository"/>	
			<property name="OrderInstructionRepository" ref="OrderInstructionRepository"/>	
			<property name="EmailService" ref="EmailService"/>	
			
		<!-- 
			Used when calculating orders for daily limit. 
			RiskCheckByCustomer = true will get orders for customer.   
			RiskCheckByCustomer = false will get orders for user.   
			-->
		<property name="RiskCheckByCustomer" value="false"/>

		<!-- 
			Used when calculating orders for daily limit. 
			RiskCheckOnOnlyDmaOrders = true will filter on OrderHandling = DMA
		-->
		<property name="RiskCheckOnOnlyDmaOrders" value="false"/>	
			
			<property name="Url" value="${ApiUrl}"/>
			<property name="AuthenticationServiceUrl" value="${AuthenticationServiceUrl}"/>
			<property name="Username" value="${AuthUsername}"/>
			<property name="Password" value="${AuthPassword}"/>
			
			<property name="SystemId" value="kodiak_oms"/>
			<property name="UserAgent" value="Oms"/>			
		</object>  
	</objects>

...