Advertisement
Guest User

Untitled

a guest
May 30th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.75 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <action-sequence>
  3.   <name>session-region-list.xaction</name>
  4.   <title>%title</title>
  5.   <version>1</version>
  6.   <logging-level>debug</logging-level>
  7.   <documentation>
  8.     <author>Brandon Jackson</author>  
  9.     <description>%description</description>  
  10.     <help/>
  11.   </documentation>
  12.  
  13.   <inputs>
  14.     <user type="string">
  15.       <sources>
  16.         <session>name</session>
  17.       </sources>
  18.     </user>  
  19.     <REGION_list_msg type="string">
  20.       <sources/>  
  21.       <default-value>REGION-list has been set.</default-value>
  22.     </REGION_list_msg>
  23.   </inputs>
  24.  
  25.   <outputs>
  26.     <REGION_list_msg type="string">
  27.       <destinations>
  28.         <response>content</response>
  29.       </destinations>
  30.     </REGION_list_msg>  
  31.     <regions type="list">
  32.       <destinations>
  33.         <session>region_list</session>
  34.         <session>REGION_FILTER</session>
  35.       </destinations>
  36.     </regions>
  37.   </outputs>
  38.  
  39.   <resources/>
  40.  
  41.   <actions>
  42.     <action-definition>
  43.       <component-name>SQLLookupRule</component-name>
  44.       <action-type>Relational</action-type>
  45.       <action-inputs/>
  46.       <action-outputs>
  47.         <query-result type="result-set" mapping="region_list"/>  
  48.         <regions type="list"/>
  49.       </action-outputs>
  50.       <component-definition>
  51.         <live><![CDATA[true]]></live>  
  52.         <query><![CDATA[SELECT region
  53. FROM staging.adminlist
  54. WHERE sAMAccountname = '<user>';]]></query>  
  55.         <driver><![CDATA[com.mysql.jdbc.Driver]]></driver>  
  56.         <connection><![CDATA[jdbc:mysql://172.27.0.204/staging]]></connection>  
  57.         <user-id><![CDATA[stonegate]]></user-id>  
  58.         <password><![CDATA[nah-jk]]></password>
  59.       </component-definition>
  60.     </action-definition>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement