[logs] added default configuration data set
authorAsier Lostalé <asier.lostale@openbravo.com>
Fri, 06 Feb 2015 12:35:05 +0100
changeset 25994 a7180b9422e2
parent 25993 c4055c84d569
child 25995 3c1873e9d062
[logs] added default configuration data set
modules/org.openbravo.utility.cleanup.log/referencedata/standard/Log_Clean_Up_Default_Configuration.xml
modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_DATASET.xml
modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_DATASET_TABLE.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.utility.cleanup.log/referencedata/standard/Log_Clean_Up_Default_Configuration.xml	Fri Feb 06 12:35:05 2015 +0100
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?><ob:Openbravo xmlns:ob="http://www.openbravo.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" defaultValues="true">
+  <OBULOG_Config id="60D34CD578FA4F6FA2123B5A7215D7B9" identifier="AD_PInstance">
+    <id>60D34CD578FA4F6FA2123B5A7215D7B9</id>
+    <active>true</active>
+    <table id="282" entity-name="ADTable" identifier="AD_PInstance"/>
+    <olderThan>15</olderThan>
+    <column xsi:nil="true"/>
+    <hQLWhereClause xsi:nil="true"/>
+  </OBULOG_Config>
+  <OBULOG_Config id="6B23B39F20CB466A84C935D34781F0EC" identifier="AD_Session_Usage_Audit">
+    <id>6B23B39F20CB466A84C935D34781F0EC</id>
+    <active>true</active>
+    <table id="49F3C31FA3F340A080D0C7F45ADB0216" entity-name="ADTable" identifier="AD_Session_Usage_Audit"/>
+    <olderThan>40</olderThan>
+    <column xsi:nil="true"/>
+    <hQLWhereClause xsi:nil="true"/>
+  </OBULOG_Config>
+  <OBULOG_Config id="6E8DE0FE6C3241679F30F71D0EB9A783" identifier="AD_Process_Run">
+    <id>6E8DE0FE6C3241679F30F71D0EB9A783</id>
+    <active>true</active>
+    <table id="6567DD0C6715472CAE04255A4BEC4654" entity-name="ADTable" identifier="AD_Process_Run"/>
+    <olderThan>30</olderThan>
+    <column xsi:nil="true"/>
+    <hQLWhereClause>status != 'SUC'</hQLWhereClause>
+  </OBULOG_Config>
+  <OBULOG_Config id="D4ABF737F2DC4B4193EE72F53218C8EC" identifier="AD_Session">
+    <id>D4ABF737F2DC4B4193EE72F53218C8EC</id>
+    <active>true</active>
+    <table id="566" entity-name="ADTable" identifier="AD_Session"/>
+    <olderThan>40</olderThan>
+    <column xsi:nil="true"/>
+    <hQLWhereClause xsi:nil="true"/>
+  </OBULOG_Config>
+  <OBULOG_Config id="E0BDF5E5F6E2475D8F8CE77B65EFAFC6" identifier="AD_Process_Run">
+    <id>E0BDF5E5F6E2475D8F8CE77B65EFAFC6</id>
+    <active>true</active>
+    <table id="6567DD0C6715472CAE04255A4BEC4654" entity-name="ADTable" identifier="AD_Process_Run"/>
+    <olderThan>15</olderThan>
+    <column xsi:nil="true"/>
+    <hQLWhereClause>status = 'SUC'</hQLWhereClause>
+  </OBULOG_Config>
+  <ProcessRequest id="8E020D1888EA44B9941D7A8639E822D5" identifier="Log Clean Up Process - ">
+    <id>8E020D1888EA44B9941D7A8639E822D5</id>
+    <active>true</active>
+    <process id="7A3E2A2BF61C47F8AD9FD4F898F2870B" entity-name="ADProcess" identifier="Log Clean Up Process"/>
+    <description xsi:nil="true"/>
+    <userContact id="100" entity-name="ADUser" identifier="Openbravo"/>
+    <securityBasedOnRole>false</securityBasedOnRole>
+    <openbravoContext>{"org.openbravo.scheduling.ProcessContext":{"user":100,"role":0,"language":"en_US","theme":"ltr\/org.openbravo.userinterface.skin.250to300Comp\/250to300Comp","client":0,"organization":0,"warehouse":"","command":"DEFAULT","userClient":"","userOrganization":"","dbSessionID":"","javaDateFormat":"","jsDateFormat":"","sqlDateFormat":"","accessLevel":"","roleSecurity":false}}</openbravoContext>
+    <status>SCH</status>
+    <nextExecution xsi:nil="true"/>
+    <previousExecution xsi:nil="true"/>
+    <finish xsi:nil="true"/>
+    <channel>Process Scheduler</channel>
+    <timing>S</timing>
+    <startTime>2015-02-06T00:00:00.0Z</startTime>
+    <startDate>2015-02-05T00:00:00.0Z</startDate>
+    <frequency>5</frequency>
+    <intervalInSeconds xsi:nil="true"/>
+    <intervalInMinutes xsi:nil="true"/>
+    <hourlyInterval xsi:nil="true"/>
+    <dailyInterval>1</dailyInterval>
+    <repetitions xsi:nil="true"/>
+    <numRepetitions xsi:nil="true"/>
+    <numberOfRepetitions xsi:nil="true"/>
+    <monday>false</monday>
+    <tuesday>false</tuesday>
+    <wednesday>false</wednesday>
+    <thursday>false</thursday>
+    <friday>false</friday>
+    <saturday>false</saturday>
+    <sunday>true</sunday>
+    <monthlyOption>S</monthlyOption>
+    <dayInMonth xsi:nil="true"/>
+    <dayOfTheWeek xsi:nil="true"/>
+    <finishes>false</finishes>
+    <finishTime xsi:nil="true"/>
+    <finishDate xsi:nil="true"/>
+    <dailyOption>N</dailyOption>
+    <cronExpression xsi:nil="true"/>
+    <processSet xsi:nil="true"/>
+    <scheduleProcess>false</scheduleProcess>
+    <rescheduleProcess>false</rescheduleProcess>
+    <unscheduleProcess>false</unscheduleProcess>
+    <params xsi:nil="true"/>
+    <processGroup xsi:nil="true"/>
+    <isgroup>false</isgroup>
+    <triggeredByGroup xsi:nil="true"/>
+  </ProcessRequest>
+</ob:Openbravo>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_DATASET.xml	Fri Feb 06 12:35:05 2015 +0100
@@ -0,0 +1,20 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<data>
+<!--E90465924E64486B89AFA6A80F2EED4C--><AD_DATASET>
+<!--E90465924E64486B89AFA6A80F2EED4C-->  <AD_DATASET_ID><![CDATA[E90465924E64486B89AFA6A80F2EED4C]]></AD_DATASET_ID>
+<!--E90465924E64486B89AFA6A80F2EED4C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--E90465924E64486B89AFA6A80F2EED4C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--E90465924E64486B89AFA6A80F2EED4C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--E90465924E64486B89AFA6A80F2EED4C-->  <VALUE><![CDATA[Log Clean Up Default Configuration]]></VALUE>
+<!--E90465924E64486B89AFA6A80F2EED4C-->  <NAME><![CDATA[Log Clean Up Default Configuration]]></NAME>
+<!--E90465924E64486B89AFA6A80F2EED4C-->  <DESCRIPTION><![CDATA[Default configuration for Log Clean Up Utility]]></DESCRIPTION>
+<!--E90465924E64486B89AFA6A80F2EED4C-->  <AD_MODULE_ID><![CDATA[8A34B301DC524EA3A07513DF9F42CC90]]></AD_MODULE_ID>
+<!--E90465924E64486B89AFA6A80F2EED4C-->  <EXPORT><![CDATA[N]]></EXPORT>
+<!--E90465924E64486B89AFA6A80F2EED4C-->  <ACCESSLEVEL><![CDATA[4]]></ACCESSLEVEL>
+<!--E90465924E64486B89AFA6A80F2EED4C-->  <EXPORTALLOWED><![CDATA[Y]]></EXPORTALLOWED>
+<!--E90465924E64486B89AFA6A80F2EED4C-->  <CHECKSUM><![CDATA[161136195862500024155338377097517071035]]></CHECKSUM>
+<!--E90465924E64486B89AFA6A80F2EED4C-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--E90465924E64486B89AFA6A80F2EED4C-->  <ISDEFAULTVALUESDATASET><![CDATA[Y]]></ISDEFAULTVALUESDATASET>
+<!--E90465924E64486B89AFA6A80F2EED4C--></AD_DATASET>
+
+</data>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_DATASET_TABLE.xml	Fri Feb 06 12:35:05 2015 +0100
@@ -0,0 +1,30 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<data>
+<!--3980BA27272A44EF91A5EBCBD47AEAF4--><AD_DATASET_TABLE>
+<!--3980BA27272A44EF91A5EBCBD47AEAF4-->  <AD_DATASET_TABLE_ID><![CDATA[3980BA27272A44EF91A5EBCBD47AEAF4]]></AD_DATASET_TABLE_ID>
+<!--3980BA27272A44EF91A5EBCBD47AEAF4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--3980BA27272A44EF91A5EBCBD47AEAF4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--3980BA27272A44EF91A5EBCBD47AEAF4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--3980BA27272A44EF91A5EBCBD47AEAF4-->  <AD_DATASET_ID><![CDATA[E90465924E64486B89AFA6A80F2EED4C]]></AD_DATASET_ID>
+<!--3980BA27272A44EF91A5EBCBD47AEAF4-->  <AD_TABLE_ID><![CDATA[D370F1BCD26D42D8A33AFF5D3941BEF7]]></AD_TABLE_ID>
+<!--3980BA27272A44EF91A5EBCBD47AEAF4-->  <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS>
+<!--3980BA27272A44EF91A5EBCBD47AEAF4-->  <EXCLUDEAUDITINFO><![CDATA[Y]]></EXCLUDEAUDITINFO>
+<!--3980BA27272A44EF91A5EBCBD47AEAF4-->  <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT>
+<!--3980BA27272A44EF91A5EBCBD47AEAF4-->  <AD_MODULE_ID><![CDATA[8A34B301DC524EA3A07513DF9F42CC90]]></AD_MODULE_ID>
+<!--3980BA27272A44EF91A5EBCBD47AEAF4--></AD_DATASET_TABLE>
+
+<!--3BFCF7EDD5E941C88231B9DEDE8DCBF0--><AD_DATASET_TABLE>
+<!--3BFCF7EDD5E941C88231B9DEDE8DCBF0-->  <AD_DATASET_TABLE_ID><![CDATA[3BFCF7EDD5E941C88231B9DEDE8DCBF0]]></AD_DATASET_TABLE_ID>
+<!--3BFCF7EDD5E941C88231B9DEDE8DCBF0-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--3BFCF7EDD5E941C88231B9DEDE8DCBF0-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--3BFCF7EDD5E941C88231B9DEDE8DCBF0-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--3BFCF7EDD5E941C88231B9DEDE8DCBF0-->  <AD_DATASET_ID><![CDATA[E90465924E64486B89AFA6A80F2EED4C]]></AD_DATASET_ID>
+<!--3BFCF7EDD5E941C88231B9DEDE8DCBF0-->  <AD_TABLE_ID><![CDATA[82D4EDCF39AE44FB9B24E95A1B18B21C]]></AD_TABLE_ID>
+<!--3BFCF7EDD5E941C88231B9DEDE8DCBF0-->  <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS>
+<!--3BFCF7EDD5E941C88231B9DEDE8DCBF0-->  <WHERECLAUSE><![CDATA[id = '8E020D1888EA44B9941D7A8639E822D5']]></WHERECLAUSE>
+<!--3BFCF7EDD5E941C88231B9DEDE8DCBF0-->  <EXCLUDEAUDITINFO><![CDATA[Y]]></EXCLUDEAUDITINFO>
+<!--3BFCF7EDD5E941C88231B9DEDE8DCBF0-->  <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT>
+<!--3BFCF7EDD5E941C88231B9DEDE8DCBF0-->  <AD_MODULE_ID><![CDATA[8A34B301DC524EA3A07513DF9F42CC90]]></AD_MODULE_ID>
+<!--3BFCF7EDD5E941C88231B9DEDE8DCBF0--></AD_DATASET_TABLE>
+
+</data>