From d5f9170ec77a5a83a0df0ee77df1ee58e098157e Mon Sep 17 00:00:00 2001 From: Johannes Hoermann <j.hoermann@adito.de> Date: Mon, 11 Nov 2019 16:53:54 +0100 Subject: [PATCH] update system liquibase to 2.8.0 --- .../data/defaultBlob/_____system_sysdb_version.xml | 2 +- .../basic/init/data/insert_asys_system.xml | 2 +- .liquibase/_____SYSTEMALIAS/basic/init/init.xml | 4 ++++ .../init/struct/create_asys_collector_data.xml | 14 ++++++++++++++ .../init/struct/create_asys_collector_tags.xml | 12 ++++++++++++ .../basic/init/struct/create_asys_roles.xml | 13 +++++++++++++ .../init/struct/create_asys_roles_children.xml | 12 ++++++++++++ 7 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 .liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_collector_data.xml create mode 100644 .liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_collector_tags.xml create mode 100644 .liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_roles.xml create mode 100644 .liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_roles_children.xml diff --git a/.liquibase/_____SYSTEMALIAS/basic/init/data/defaultBlob/_____system_sysdb_version.xml b/.liquibase/_____SYSTEMALIAS/basic/init/data/defaultBlob/_____system_sysdb_version.xml index 02dd5dea94..8e3679aca7 100644 --- a/.liquibase/_____SYSTEMALIAS/basic/init/data/defaultBlob/_____system_sysdb_version.xml +++ b/.liquibase/_____SYSTEMALIAS/basic/init/data/defaultBlob/_____system_sysdb_version.xml @@ -1,5 +1,5 @@ <?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.2</systemDbVersion> + <systemDbVersion>2.8.0</systemDbVersion> </sysDbVersion> diff --git a/.liquibase/_____SYSTEMALIAS/basic/init/data/insert_asys_system.xml b/.liquibase/_____SYSTEMALIAS/basic/init/data/insert_asys_system.xml index b4a2c1bf0a..516dc89be7 100644 --- a/.liquibase/_____SYSTEMALIAS/basic/init/data/insert_asys_system.xml +++ b/.liquibase/_____SYSTEMALIAS/basic/init/data/insert_asys_system.xml @@ -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.2"/> + <column name="TITLE" value="2.8.0"/> <column name="USER_EDIT" value="_____DESIGNERANONYM"/> <column name="USER_NEW" value="_____DESIGNERANONYM"/> <column name="XMLDATA" valueBlobFile="defaultBlob/_____system_sysdb_version.xml"/> diff --git a/.liquibase/_____SYSTEMALIAS/basic/init/init.xml b/.liquibase/_____SYSTEMALIAS/basic/init/init.xml index 1a0062079a..08e6103a4e 100644 --- a/.liquibase/_____SYSTEMALIAS/basic/init/init.xml +++ b/.liquibase/_____SYSTEMALIAS/basic/init/init.xml @@ -18,6 +18,10 @@ <include relativeToChangelogFile="true" file="struct/create_asys_permissionset.xml"/> <include relativeToChangelogFile="true" file="struct/create_asys_permissionaction.xml"/> <include relativeToChangelogFile="true" file="struct/create_asys_monitor_dashletconfig.xml"/> + <include relativeToChangelogFile="true" file="struct/create_asys_collector_data.xml"/> + <include relativeToChangelogFile="true" file="struct/create_asys_collector_tags.xml"/> + <include relativeToChangelogFile="true" file="struct/create_asys_roles.xml"/> + <include relativeToChangelogFile="true" file="struct/create_asys_roles_children.xml"/> <include relativeToChangelogFile="true" file="data/insert_asys_aliasconfig.xml"/> <include relativeToChangelogFile="true" file="data/insert_asys_system.xml"/> </databaseChangeLog> diff --git a/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_collector_data.xml b/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_collector_data.xml new file mode 100644 index 0000000000..5f8ddc0ed2 --- /dev/null +++ b/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_collector_data.xml @@ -0,0 +1,14 @@ +<?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="4fe7309e-e131-4f3d-8e65-fb399fcd7090"> + <createTable tableName="ASYS_COLLECTOR_DATA"> + <column name="DATAID" type="CHAR(63)"> + <constraints primaryKey="true" primaryKeyName="PK_ASYS_COLLECTOR_DATA_ID"/> + </column> + <column name="SHORTINFO" type="VARCHAR(255)"/> + <column name="TIMECOLLECTED" type="DATETIME"/> + <column name="PARENTID" type="CHAR(63)"/> + <column name="METRICS" type="CLOB"/> + </createTable> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_collector_tags.xml b/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_collector_tags.xml new file mode 100644 index 0000000000..1fcaf740d8 --- /dev/null +++ b/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_collector_tags.xml @@ -0,0 +1,12 @@ +<?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="4fe7309e-e131-4f3d-8e65-fb399fcd7090"> + <createTable tableName="ASYS_COLLECTOR_TAGS"> + <column name="COLLECTORDATAID" type="CHAR(63)"> + <constraints primaryKey="true" primaryKeyName="PK_ASYS_COLLECTOR_TAGS_ID"/> + </column> + <column name="TAGNAME" type="VARCHAR(63)"/> + <column name="TAGVALUE" type="VARCHAR(63)"/> + </createTable> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_roles.xml b/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_roles.xml new file mode 100644 index 0000000000..e373f85321 --- /dev/null +++ b/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_roles.xml @@ -0,0 +1,13 @@ +<?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="feba765a-3a21-4bd3-8970-6fea8a2685d8"> + <createTable tableName="ASYS_ROLES"> + <column name="ROLENAME" type="VARCHAR(63)"> + <constraints primaryKey="true" primaryKeyName="PK_ASYS_ROLES_ID"/> + </column> + <column name="ROLETITLE" type="VARCHAR(63)"/> + <column name="ROLEDESCRIPTION" type="VARCHAR(255)"/> + <column name="CHILDREN" type="CLOB"/> + </createTable> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_roles_children.xml b/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_roles_children.xml new file mode 100644 index 0000000000..9dd2c8b7d6 --- /dev/null +++ b/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_roles_children.xml @@ -0,0 +1,12 @@ +<?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="6348baa4-ec14-40c7-94db-93fdde0f89dc"> + <createTable tableName="ASYS_ROLES_CHILDREN"> + <column name="ID" type="CHAR(36)"> + <constraints primaryKey="true" primaryKeyName="PK_ASYS_ROLES_CHILDREN_ID"/> + </column> + <column name="PARENT_ROLE" type="VARCHAR(63)"/> + <column name="CHILD_ROLE" type="VARCHAR(63)"/> + </createTable> + </changeSet> +</databaseChangeLog> \ No newline at end of file -- GitLab