Skip to content
Snippets Groups Projects
Commit a38dd659 authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

put all system alias liquibase into init folder, update/add timers tables, update db-version

parent 348656df
No related branches found
No related tags found
No related merge requests found
Showing
with 79 additions and 110 deletions
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="autogenerated" id="667e73e0-cf8e-48c8-a75e-022689462cda">
<insert tableName="ASYS_ALIASCONFIG">
<column name="ALIASID" value="mailServerIMAP"/>
<column name="DATE_EDIT" valueDate="2019-06-25T01:14:32"/>
<column name="DATE_NEW" valueDate="2019-06-25T01:14:32"/>
<column name="ID" value="530a2f77-c1c3-4d93-b1fe-41ebe7410695"/>
<column name="KIND" valueNumeric="105"/>
<column name="NAME" value="mailServerIMAP_default"/>
<column name="SERVERID" value="default"/>
<column name="USER_EDIT" value="_____DESIGNERANONYM"/>
<column name="USER_NEW" value="_____DESIGNERANONYM"/>
<column name="XMLDATA" valueBlobFile="defaultBlob/mailServerIMAP.xml"/>
</insert>
<insert tableName="ASYS_ALIASCONFIG">
<column name="ALIASID" value="defaultDbRepository"/>
<column name="DATE_EDIT" valueDate="2019-06-25T01:14:46"/>
<column name="DATE_NEW" valueDate="2019-06-25T01:14:35"/>
<column name="ID" value="b2ae3180-afd2-493c-a17b-16038e3a3860"/>
<column name="KIND" valueNumeric="105"/>
<column name="NAME" value="defaultDbRepository_default"/>
<column name="SERVERID" value="default"/>
<column name="USER_EDIT" value="_____DESIGNERANONYM"/>
<column name="USER_NEW" value="_____DESIGNERANONYM"/>
<column name="XMLDATA" valueBlobFile="defaultBlob/defaultDbRepository.xml"/>
</insert>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<aliasConfig xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/aliasConfig/1.1.0">
<name>_____CONFIGURATION</name>
<serverId>default</serverId>
<definitionName>_____CONFIGURATION</definitionName>
<aliasConfigSub>
<aliasSubInstanceConfiguration>
<databaseAuditEnabled v="true" />
<indexsearchEnabled v="true" />
<loggingConsoleEnabled v="true" />
<loggingFileEnabled v="true" />
<loggingRemoteEnabled v="false" />
<mailGlobalEnabled v="true" />
<neonVaadinClientEnabled v="true" />
<neonDisableConnectionSecurity v="false" />
<neonUseDummyKeystore v="true" />
<securityConnectionSSLEnabled v="true" />
<securitySSLDisableCertificateCheck v="true" />
<telephonyEnabled v="true" />
<telephonyProvider></telephonyProvider>
<customProperties>
<customBooleanProperty>
<name>dataCaching.client.forceDisable</name>
<description>Enabling this option will disable the per-client-context data-cache within the customzing (for exameple the caching of Keywords). This is usefull if you're testing and want to frequently add data like keywords, etc. which are cached which help of the "DataCaching_lib".</description>
<property v="false" />
</customBooleanProperty>
</customProperties>
</aliasSubInstanceConfiguration>
</aliasConfigSub>
</aliasConfig>
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="j.goderbauer" id="6947b44d-0ef4-4fb6-a74d-f496d99b1e69">
<update tableName="ASYS_ALIASCONFIG">
<column name="XMLDATA" valueBlobFile="defaultBlob/_____configuration.xml"/>
<where>ID = ?</where>
<whereParams>
<param value="f4a33c35-5033-4699-b55a-9520b465b4c5" />
</whereParams>
</update>
</changeSet>
</databaseChangeLog>
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<include relativeToChangelogFile="true" file="notificationcenter/create_asys_notifications.xml"/>
<include relativeToChangelogFile="true" file="notificationcenter/create_asys_notificationcontents.xml"/>
<include relativeToChangelogFile="true" file="permission/create_asys_permission.xml"/>
<include relativeToChangelogFile="true" file="permission/create_asys_permissionset.xml"/>
<include relativeToChangelogFile="true" file="permission/create_asys_permissionaction.xml"/>
<include relativeToChangelogFile="true" file="aliasConfig/updateForDataCaching.xml"/>
<include relativeToChangelogFile="true" file="aliasConfig/addMailingAliases.xml"/>
</databaseChangeLog>
<?xml version="1.0" encoding="UTF-8"?>
<aliasConfig xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/aliasConfig/1.1.0">
<aliasConfig xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.2" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/aliasConfig/1.1.2">
<name>_____CONFIGURATION</name>
<serverId>default</serverId>
<definitionName>_____CONFIGURATION</definitionName>
......@@ -10,13 +10,21 @@
<loggingConsoleEnabled v="true" />
<loggingFileEnabled v="true" />
<loggingRemoteEnabled v="false" />
<mailGlobalEnabled v="true" />
<neonVaadinClientEnabled v="true" />
<neonDisableConnectionSecurity v="false" />
<neonUseDummyKeystore v="true" />
<securityConnectionSSLEnabled v="true" />
<securitySSLDisableCertificateCheck v="true" />
<telephonyEnabled v="true" />
<telephonyProvider>Asterisk;Server=sip.adito.de</telephonyProvider>
<telephonyProvider></telephonyProvider>
<customProperties>
<customBooleanProperty>
<name>dataCaching.client.forceDisable</name>
<description>Enabling this option will disable the per-client-context data-cache within the customzing (for exameple the caching of Keywords). This is usefull if you're testing and want to frequently add data like keywords, etc. which are cached which help of the "DataCaching_lib".</description>
<property v="false" />
</customBooleanProperty>
</customProperties>
</aliasSubInstanceConfiguration>
</aliasConfigSub>
</aliasConfig>
<?xml version="1.0" encoding="UTF-8"?>
<sysDbVersion xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.2.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/sysDbVersion/1.2.0">
<name>_____SYSTEM_SYSDB_VERSION</name>
<systemDbVersion>2.7.0</systemDbVersion>
<systemDbVersion>2.7.2</systemDbVersion>
</sysDbVersion>
<?xml version="1.0" encoding="UTF-8"?>
<aliasConfig xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/aliasConfig/1.1.0">
<aliasConfig xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.2" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/aliasConfig/1.1.2">
<name>f50ee138-12d9-420d-a4f9-9b8257e207e4</name>
<description>jdbc:derby://localhost:1527/basic_data</description>
<serverId>default</serverId>
......
<?xml version="1.0" encoding="UTF-8"?>
<aliasConfig xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/aliasConfig/1.1.1">
<aliasConfig xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.2" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/aliasConfig/1.1.2">
<name>defaultDbRepository_default</name>
<serverId>default</serverId>
<definitionName>defaultDbRepository</definitionName>
......
......@@ -27,6 +27,31 @@
<column name="XMLDATA" valueBlobFile="defaultBlob/data_alias.xml"/>
</insert>
<insert tableName="ASYS_ALIASCONFIG">
<column name="ALIASID" value="mailServerIMAP"/>
<column name="DATE_EDIT" valueDate="2019-06-25T01:14:32"/>
<column name="DATE_NEW" valueDate="2019-06-25T01:14:32"/>
<column name="ID" value="530a2f77-c1c3-4d93-b1fe-41ebe7410695"/>
<column name="KIND" valueNumeric="105"/>
<column name="NAME" value="mailServerIMAP_default"/>
<column name="SERVERID" value="default"/>
<column name="USER_EDIT" value="_____DESIGNERANONYM"/>
<column name="USER_NEW" value="_____DESIGNERANONYM"/>
<column name="XMLDATA" valueBlobFile="defaultBlob/mailServerIMAP.xml"/>
</insert>
<insert tableName="ASYS_ALIASCONFIG">
<column name="ALIASID" value="defaultDbRepository"/>
<column name="DATE_EDIT" valueDate="2019-06-25T01:14:46"/>
<column name="DATE_NEW" valueDate="2019-06-25T01:14:35"/>
<column name="ID" value="b2ae3180-afd2-493c-a17b-16038e3a3860"/>
<column name="KIND" valueNumeric="105"/>
<column name="NAME" value="defaultDbRepository_default"/>
<column name="SERVERID" value="default"/>
<column name="USER_EDIT" value="_____DESIGNERANONYM"/>
<column name="USER_NEW" value="_____DESIGNERANONYM"/>
<column name="XMLDATA" valueBlobFile="defaultBlob/defaultDbRepository.xml"/>
</insert>
<rollback>
<delete tableName="ASYS_ALIASCONFIG">
<where>ID = ?</where>
......
......@@ -7,7 +7,7 @@
<column name="DATE_NEW" valueDate="2018-05-24T14:53:57.763"/>
<column name="KIND" valueNumeric="600"/>
<column name="NAME" value="_____SYSTEM_SYSDB_VERSION"/>
<column name="TITLE" value="2.7.0"/>
<column name="TITLE" value="2.7.2"/>
<column name="USER_EDIT" value="_____DESIGNERANONYM"/>
<column name="USER_NEW" value="_____DESIGNERANONYM"/>
<column name="XMLDATA" valueBlobFile="defaultBlob/_____system_sysdb_version.xml"/>
......
......@@ -9,9 +9,15 @@
<include relativeToChangelogFile="true" file="struct/create_asys_system.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_timer.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_timers.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_timers_serverruns.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_users.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_calendarbackend.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_calendarlink.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_notifications.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_notificationcontents.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_permission.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_permissionset.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_permissionaction.xml"/>
<include relativeToChangelogFile="true" file="data/insert_asys_aliasconfig.xml"/>
<include relativeToChangelogFile="true" file="data/insert_asys_system.xml"/>
......
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="j.hoermann" id="98f057b6-0140-4edd-b08d-9cc7cf178bab">
<changeSet author="a.schindlbeck" id="98f057b6-0140-4edd-b08d-9cc7cf178bab">
<createTable tableName="ASYS_NOTIFICATIONS">
<column name="ID" type="CHAR(36)">
<constraints primaryKey="true" primaryKeyName="PK_ASYS_NOTIFICATIONS_ID"/>
</column>
<column name="BACKPACK" type="CLOB"/>
<column name="CAPTION" type="VARCHAR(512)"/>
<column name="CONTENTID" type="VARCHAR(512)"/>
<column name="CREATIONDATE" type="BIGINT"/>
<column name="DESCRIPTION" type="VARCHAR(1023)"/>
<column name="FORCEDPRIORITY" type="INTEGER"/>
<column name="ICON_INFO" type="VARCHAR(1023)"/>
<column name="LIFETIME" type="BIGINT"/>
<column name="LINK_INFO" type="VARCHAR(1023)"/>
<column name="ORIGINATORNAME" type="VARCHAR(63)"/>
<column name="RECIPIENTUSERIDS" type="CLOB"/>
<column name="STATE" type="VARCHAR(16)"/>
<column name="TYPECODE" type="VARCHAR(63)"/>
<column name="CONTENTID" type="CHAR(36)"/>
<column name="STATE" type="VARCHAR(15)"/>
<column name="USERID" type="VARCHAR(63)"/>
<column name="VERSION" type="INTEGER"/>
<column name="RESOLVEDPRIORITY" type="VARCHAR(15)"/>
</createTable>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
</databaseChangeLog>
......@@ -5,13 +5,18 @@
<column name="TIMERID" type="VARCHAR(127)">
<constraints primaryKey="true" primaryKeyName="PK_ASYS_TIMERS_TIMERID"/>
</column>
<column name="LASTRUN" type="DATETIME"/>
<column name="STARTTIME" type="DATETIME"/>
<column name="INTERVALVALUE" type="INTEGER"/>
<column name="ACTIVE" type="VARCHAR(5)"/>
<column name="INTERVALDESCRIPTION" type="VARCHAR(255)"/>
<column name="INTERVALUNIT" type="INTEGER"/>
<column name="INTERVALVALUE" type="INTEGER"/>
<column name="KEEPJDITO" type="VARCHAR(5)"/>
<column name="LASTRUN" type="DATETIME"/>
<column name="PROCESSNAME" type="VARCHAR(255)"/>
<column name="INTERVALDESCRIPTION" type="VARCHAR(255)"/>
<column name="ACTIVE" type="VARCHAR(5)"/>
<column name="PROCESSUSER" type="VARCHAR(255)"/>
<column name="STARTTIME" type="DATETIME"/>
<column name="THREADPRIORITY" type="INTEGER"/>
<column name="TIMERTYPE" type="INTEGER"/>
</createTable>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
</databaseChangeLog>
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="a.schindlbeck" id="98f057b6-0140-4edd-b08d-9cc7cf178bab">
<!---
its ok to drop the old ASYS_NOTIFICATIONS due to new version
-->
<dropTable tableName="ASYS_NOTIFICATIONS"/>
<createTable tableName="ASYS_NOTIFICATIONS">
<column name="ID" type="CHAR(36)">
<constraints primaryKey="true" primaryKeyName="PK_ASYS_NOTIFICATIONS_ID"/>
<changeSet author="m.sieber" id="">
<createTable tableName="ASYS_TIMERS_SERVERRUNS">
<column name="SERVERID" type="VARCHAR(127)">
<constraints nullable="false"/>
</column>
<column name="CONTENTID" type="CHAR(36)"/>
<column name="STATE" type="VARCHAR(15)"/>
<column name="USERID" type="VARCHAR(63)"/>
<column name="RESOLVEDPRIORITY" type="VARCHAR(15)"/>
<column name="TIMERID" type="VARCHAR(127)">
<constraints nullable="false"/>
</column>
<column name="LASTRUN" type="DATETIME"/>
</createTable>
<addPrimaryKey tableName="ASYS_TIMERS_SERVERRUNS"
columnNames="SERVERID, TIMERID"
constraintName="PK_ASYS_TIMERS_SERVERRUNS_SERVERID_TIMERID"/>
</changeSet>
</databaseChangeLog>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<include relativeToChangelogFile="true" file="basic/init/init.xml"/>
<include relativeToChangelogFile="true" file="basic/2019.1.4/changelog.xml"/>
<include relativeToChangelogFile="true" file="basic/_demoData/changelog.xml" context="example"/>
</databaseChangeLog>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment