|
|
@@ -10,6 +10,19 @@
|
|
|
<property name="php_session_id" value="${php_session_id}"/>
|
|
|
<property name="webRootUrl" value="${webRootUrl}"/>
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+ <!-- for verifying module tasks -->
|
|
|
+ <property name="test_Insert.xml" value="example_wfs_transactions/Insert.xml"/>
|
|
|
+ <property name="test_Update.xml" value="example_wfs_transactions/Update.xml"/>
|
|
|
+ <property name="test_InsertTransactionResponse.xml" value="example_wfs_transactions/InsertTransactionResponse.xml"/>
|
|
|
+ <property name="test_GetFeature.xml" value="example_wfs_transactions/GetFeature.xml"/>
|
|
|
+
|
|
|
+ <!-- for triggers handling -->
|
|
|
+ <property name="Triggers_dir" location="Triggers"/>
|
|
|
+ <property name="Triggers_after_dir" location="${Triggers_dir}/After"/>
|
|
|
+ <property name="Triggers_before_dir" location="${Triggers_dir}/Before"/>
|
|
|
+
|
|
|
<target name="DescribeFeatureType" description="URL_TASK Target DescribeFeatureType">
|
|
|
<echo message="OUTPUT__TYPE__XML"/>
|
|
|
<echo message="OUTPUT__START"/>
|
|
|
@@ -112,8 +125,8 @@
|
|
|
<echo message="OUTPUT__START"/>
|
|
|
<echo message="${wfs_output}"/>
|
|
|
|
|
|
- <echo message="webRootUrl"></echo>
|
|
|
- <echo message="${webRootUrl}"></echo>
|
|
|
+ <echo message="webRootUrl"/>
|
|
|
+ <echo message="${webRootUrl}"/>
|
|
|
|
|
|
<echo message="OUTPUT__END"/>
|
|
|
|
|
|
@@ -125,4 +138,37 @@
|
|
|
<echo message="${wfs_error}"/>
|
|
|
<echo message="ERROR__END"/>
|
|
|
</target>
|
|
|
+
|
|
|
+ <target name="Test_Triggers_After" description="TODO Provide After triggers">
|
|
|
+ <!-- plan :
|
|
|
+ 1. sprawdzamy ile jest Triggers/Before katalogow = STREAMS (INPUT)
|
|
|
+ 2. dla kazdego STREAMS puszczamy output z wczesniejszego aby mozna bylo wiele akcji wykonac (TODO)
|
|
|
+ a. w kazdym odpalamy Transaction.xsl ktory powinien obsluzyc Triggers.xsl
|
|
|
+ b. dla kazdego stream w srodku trzeba wyslac ouptut do podkatalogu np CRM_UI_MSGS
|
|
|
+ c. dla kazdego podkatalogu - powiadomienia np CRM_UI_MSGS/1_custom/default.xsl trzeba wykonac output i przetworzyc transakcje
|
|
|
+ 3. triggery powinny miec opcje PREFLIGHT oraz POSTFLIGHT azeby czasami cos poscaigac przed i dac do przetworzenia
|
|
|
+
|
|
|
+ -->
|
|
|
+ </target>
|
|
|
+
|
|
|
+ <target name="Test_Triggers_Before" description="Provide Before triggers">
|
|
|
+ <!-- plan : (cos mozna stad sobie podarowac aby poszlo na after)
|
|
|
+ 1. sprawdzamy ile jest Triggers/Before katalogow = STREAMS (INPUT)
|
|
|
+ 2. dla kazdego STREAMS puszczamy output z wczesniejszego aby mozna bylo wiele akcji wykonac (TODO)
|
|
|
+ a. w kazdym odpalamy Transaction.xsl ktory powinien obsluzyc Triggers.xsl
|
|
|
+ b. dla kazdego stream w srodku trzeba wyslac ouptut do podkatalogu np CRM_UI_MSGS
|
|
|
+ c. dla kazdego podkatalogu - powiadomienia np CRM_UI_MSGS/1_custom/default.xsl trzeba wykonac output i przetworzyc transakcje
|
|
|
+ -->
|
|
|
+ </target>
|
|
|
+
|
|
|
+ <target name="__triggers_GetFeature" description="TODO Provide read about current triggers">
|
|
|
+ <echo>TODO will exec child ant for known stream ant it should respond with listings</echo>
|
|
|
+ </target>
|
|
|
+
|
|
|
+ <target name="__triggers_Insert" description="TODO Provide new trigger install">
|
|
|
+ <echo>TODO will generate build.xml with actually supporting current triggers - one build for each stream</echo>
|
|
|
+ </target>
|
|
|
+
|
|
|
+ <target name="__triggers_Edit" description="TODO Provide new trigger delete"/>
|
|
|
+
|
|
|
</project>
|