Skip to content

Commit

Permalink
Fix failing tests: add missing element columns to CRDB DDL
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarrez committed Jul 10, 2019
1 parent 2e2ac1b commit 22645a8
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 14 deletions.
9 changes: 5 additions & 4 deletions distro/src/readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ <h4>GENERAL</h4>

<ul>
<li>Support has been added for CockroachDB (<a href="https://github.com/cockroachdb/cockroach">https://github.com/cockroachdb/cockroach</a>) as an alternative DB option.
A blog post with more details and getting started can be found <a href="http://blog.flowable.org/2019/07/10/getting-started-with-flowable-and-cockroachdb/">here</a>.
The full list of changes can be found here <a href="https://github.com/flowable/flowable-engine/pull/1716">https://github.com/flowable/flowable-engine/pull/1716</a>.</li>
<li>Extracted the event subscription logic from the BPMN engine into a service (similar to the variable and job service for example), so that event subscriptions
can also be used from the CMMN engine and possibly other engines.</li>
can also be used from the CMMN engine and possibly other engines in the future.</li>
<li>The manual sql scripts that can be found in the distro download are updated to include convenient scripts that will update and create the engines in one sql script.</li>
<li>Various small bugfixes and improvements all around.</li>
</ul>
Expand All @@ -44,14 +45,14 @@ <h4>BPMN</h4>

<ul>
<li>Added support for BPMN escalation events.</li>
</ul
</ul>

<h4>CMMN</h4>

<ul>
<li>Added support to listen to signal events in a CMMN case model. This enables more options to interact from a BPMN process instance with a CMMN case instance.</li>
<li>Added availability condition to CMMN event listeners (e.g. timer event listener) to provide an option to dismiss an event listener.</li>
</ul
<li>Added 'available condition' to CMMN event listeners (e.g. user or timer event listener) to guard precisely when an event listener becomes available. See the documentation for examples.</li>
</ul>

<h4>Highlights</h4>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ CREATE TABLE if not exists ACT_GE_BYTEARRAY (
);

insert into ACT_GE_PROPERTY
values ('common.schema.version', '6.5.0.0', 1);
values ('common.schema.version', '6.5.0.1', 1);

insert into ACT_GE_PROPERTY
values ('next.dbid', '1', 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,9 @@ alter table ACT_PROCDEF_INFO
unique (PROC_DEF_ID_);

insert into ACT_GE_PROPERTY
values ('schema.version', '6.5.0.0', 1);
values ('schema.version', '6.5.0.1', 1);

insert into ACT_GE_PROPERTY
values ('schema.history', 'create(6.5.0.0)', 1);
values ('schema.history', 'create(6.5.0.1)', 1);

--force-commit
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ create table ACT_RU_ENTITYLINK (
create index ACT_IDX_ENT_LNK_SCOPE on ACT_RU_ENTITYLINK(SCOPE_ID_, SCOPE_TYPE_, LINK_TYPE_);
create index ACT_IDX_ENT_LNK_SCOPE_DEF on ACT_RU_ENTITYLINK(SCOPE_DEFINITION_ID_, SCOPE_TYPE_, LINK_TYPE_);

insert into ACT_GE_PROPERTY values ('entitylink.schema.version', '6.5.0.0', 1);
insert into ACT_GE_PROPERTY values ('entitylink.schema.version', '6.5.0.1', 1);

-- force-commit
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ create table ACT_RU_EVENT_SUBSCR (
create index ACT_IDX_EVENT_SUBSCR_CONFIG_ on ACT_RU_EVENT_SUBSCR(CONFIGURATION_);
create index ACT_IDX_EVENT_SUBSCR on ACT_RU_EVENT_SUBSCR(EXECUTION_ID_);

insert into ACT_GE_PROPERTY values ('eventsubscription.schema.version', '6.5.0.0', 1);
insert into ACT_GE_PROPERTY values ('eventsubscription.schema.version', '6.5.0.1', 1);
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ create index ACT_IDX_IDENT_LNK_GROUP on ACT_RU_IDENTITYLINK(GROUP_ID_);
create index ACT_IDX_IDENT_LNK_SCOPE on ACT_RU_IDENTITYLINK(SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_IDENT_LNK_SCOPE_DEF on ACT_RU_IDENTITYLINK(SCOPE_DEFINITION_ID_, SCOPE_TYPE_);

insert into ACT_GE_PROPERTY values ('identitylink.schema.version', '6.5.0.0', 1);
insert into ACT_GE_PROPERTY values ('identitylink.schema.version', '6.5.0.1', 1);

-- force-commit
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ create table ACT_ID_PROPERTY (
);

insert into ACT_ID_PROPERTY
values ('schema.version', '6.5.0.0', 1);
values ('schema.version', '6.5.0.1', 1);

create table ACT_ID_BYTEARRAY (
ID_ varchar(64),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ CREATE TABLE ACT_RU_JOB (
EXECUTION_ID_ varchar(64),
PROCESS_INSTANCE_ID_ varchar(64),
PROC_DEF_ID_ varchar(64),
ELEMENT_ID_ varchar(255),
ELEMENT_NAME_ varchar(255),
SCOPE_ID_ varchar(255),
SUB_SCOPE_ID_ varchar(255),
SCOPE_TYPE_ varchar(255),
Expand Down Expand Up @@ -35,6 +37,8 @@ CREATE TABLE ACT_RU_TIMER_JOB (
EXECUTION_ID_ varchar(64),
PROCESS_INSTANCE_ID_ varchar(64),
PROC_DEF_ID_ varchar(64),
ELEMENT_ID_ varchar(255),
ELEMENT_NAME_ varchar(255),
SCOPE_ID_ varchar(255),
SUB_SCOPE_ID_ varchar(255),
SCOPE_TYPE_ varchar(255),
Expand All @@ -60,6 +64,8 @@ CREATE TABLE ACT_RU_SUSPENDED_JOB (
EXECUTION_ID_ varchar(64),
PROCESS_INSTANCE_ID_ varchar(64),
PROC_DEF_ID_ varchar(64),
ELEMENT_ID_ varchar(255),
ELEMENT_NAME_ varchar(255),
SCOPE_ID_ varchar(255),
SUB_SCOPE_ID_ varchar(255),
SCOPE_TYPE_ varchar(255),
Expand All @@ -85,6 +91,8 @@ CREATE TABLE ACT_RU_DEADLETTER_JOB (
EXECUTION_ID_ varchar(64),
PROCESS_INSTANCE_ID_ varchar(64),
PROC_DEF_ID_ varchar(64),
ELEMENT_ID_ varchar(255),
ELEMENT_NAME_ varchar(255),
SCOPE_ID_ varchar(255),
SUB_SCOPE_ID_ varchar(255),
SCOPE_TYPE_ varchar(255),
Expand Down Expand Up @@ -190,6 +198,6 @@ alter table ACT_RU_DEADLETTER_JOB
references ACT_GE_BYTEARRAY (ID_);


insert into ACT_GE_PROPERTY values ('job.schema.version', '6.5.0.0', 1);
insert into ACT_GE_PROPERTY values ('job.schema.version', '6.5.0.1', 1);

-- force-commit
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ create index ACT_IDX_TASK_SCOPE on ACT_RU_TASK(SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_TASK_SUB_SCOPE on ACT_RU_TASK(SUB_SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_TASK_SCOPE_DEF on ACT_RU_TASK(SCOPE_DEFINITION_ID_, SCOPE_TYPE_);

insert into ACT_GE_PROPERTY values ('task.schema.version', '6.5.0.0', 1);
insert into ACT_GE_PROPERTY values ('task.schema.version', '6.5.0.1', 1);

-- force-commit
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ alter table ACT_RU_VARIABLE
foreign key (BYTEARRAY_ID_)
references ACT_GE_BYTEARRAY (ID_);

insert into ACT_GE_PROPERTY values ('variable.schema.version', '6.5.0.0', 1);
insert into ACT_GE_PROPERTY values ('variable.schema.version', '6.5.0.1', 1);

-- force-commit

0 comments on commit 22645a8

Please sign in to comment.