Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade polyflow + camunda + add jpa view scripts #323

Merged
merged 5 commits into from
Jul 9, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Provide scripts for creation of view for payload resolution of tasks …
…and correlated data entries #321
p-wunderlich committed Jul 1, 2024
commit 1bf0416a5f5e33ebe69043845d2e4d2a32e6be12
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
create view PLF_VIEW_TASK_AND_DATA_ENTRY_PAYLOAD as

Check failure on line 1 in scenarios/distributed-axon-server-local-polyflow/process-platform-view-only/src/main/resources/db/migrations/V0_0_6__jpa_view_task_data_entry_payload.sql

Codacy Production / Codacy Static Code Analysis

scenarios/distributed-axon-server-local-polyflow/process-platform-view-only/src/main/resources/db/migrations/V0_0_6__jpa_view_task_data_entry_payload.sql#L1

Expected SET ANSI_NULLS ON near top of file

Check failure on line 1 in scenarios/distributed-axon-server-local-polyflow/process-platform-view-only/src/main/resources/db/migrations/V0_0_6__jpa_view_task_data_entry_payload.sql

Codacy Production / Codacy Static Code Analysis

scenarios/distributed-axon-server-local-polyflow/process-platform-view-only/src/main/resources/db/migrations/V0_0_6__jpa_view_task_data_entry_payload.sql#L1

Expected SET QUOTED_IDENTIFIER ON near top of file
((select pc.TASK_ID, dea.PATH, dea.VALUE
from PLF_TASK_CORRELATIONS pc
join PLF_DATA_ENTRY_PAYLOAD_ATTRIBUTES dea on pc.ENTRY_ID = dea.ENTRY_ID and pc.ENTRY_TYPE = dea.ENTRY_TYPE)
union
select * from PLF_TASK_PAYLOAD_ATTRIBUTES);
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
create view PLF_VIEW_TASK_AND_DATA_ENTRY_PAYLOAD as

Check warning on line 1 in scenarios/distributed-axon-server/process-application/src/main/resources/db/migrations/V0_0_15__jpa_view_task_data_entry_payload.sql

Codacy Production / Codacy Static Code Analysis

scenarios/distributed-axon-server/process-application/src/main/resources/db/migrations/V0_0_15__jpa_view_task_data_entry_payload.sql#L1

Expected TSQL Keyword to be capitalized
((select pc.TASK_ID, dea.PATH, dea.VALUE
from PLF_TASK_CORRELATIONS pc
join PLF_DATA_ENTRY_PAYLOAD_ATTRIBUTES dea on pc.ENTRY_ID = dea.ENTRY_ID and pc.ENTRY_TYPE = dea.ENTRY_TYPE)
union
select * from PLF_TASK_PAYLOAD_ATTRIBUTES);
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
create view PLF_VIEW_TASK_AND_DATA_ENTRY_PAYLOAD as
((select pc.TASK_ID, dea.PATH, dea.VALUE
from PLF_TASK_CORRELATIONS pc

Check failure on line 3 in scenarios/distributed-axon-server/process-platform-jpa/src/main/resources/db/migrations/V0_0_6__jpa_view_task_data_entry_payload.sql

Codacy Production / Codacy Static Code Analysis

scenarios/distributed-axon-server/process-platform-jpa/src/main/resources/db/migrations/V0_0_6__jpa_view_task_data_entry_payload.sql#L3

Object name not schema qualified
join PLF_DATA_ENTRY_PAYLOAD_ATTRIBUTES dea on pc.ENTRY_ID = dea.ENTRY_ID and pc.ENTRY_TYPE = dea.ENTRY_TYPE)

Check failure on line 4 in scenarios/distributed-axon-server/process-platform-jpa/src/main/resources/db/migrations/V0_0_6__jpa_view_task_data_entry_payload.sql

Codacy Production / Codacy Static Code Analysis

scenarios/distributed-axon-server/process-platform-jpa/src/main/resources/db/migrations/V0_0_6__jpa_view_task_data_entry_payload.sql#L4

Object name not schema qualified
union

Check warning on line 5 in scenarios/distributed-axon-server/process-platform-jpa/src/main/resources/db/migrations/V0_0_6__jpa_view_task_data_entry_payload.sql

Codacy Production / Codacy Static Code Analysis

scenarios/distributed-axon-server/process-platform-jpa/src/main/resources/db/migrations/V0_0_6__jpa_view_task_data_entry_payload.sql#L5

Expected TSQL Keyword to be capitalized
select * from PLF_TASK_PAYLOAD_ATTRIBUTES);
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
create view PLF_VIEW_TASK_AND_DATA_ENTRY_PAYLOAD as
((select pc.TASK_ID, dea.PATH, dea.VALUE
from PLF_TASK_CORRELATIONS pc
join PLF_DATA_ENTRY_PAYLOAD_ATTRIBUTES dea on pc.ENTRY_ID = dea.ENTRY_ID and pc.ENTRY_TYPE = dea.ENTRY_TYPE)

Check failure on line 4 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_16__jpa_view_task_data_entry_payload.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_16__jpa_view_task_data_entry_payload.sql#L4

Object name not schema qualified
union

Check warning on line 5 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_16__jpa_view_task_data_entry_payload.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_16__jpa_view_task_data_entry_payload.sql#L5

Expected TSQL Keyword to be capitalized
select * from PLF_TASK_PAYLOAD_ATTRIBUTES);

Check warning on line 6 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_16__jpa_view_task_data_entry_payload.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_16__jpa_view_task_data_entry_payload.sql#L6

Expected TSQL Keyword to be capitalized

Check failure on line 6 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_16__jpa_view_task_data_entry_payload.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_16__jpa_view_task_data_entry_payload.sql#L6

Object name not schema qualified

Unchanged files with check annotations Beta

--

Check failure on line 1 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L1

Expected SET NOCOUNT ON near top of file
-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
-- under one or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information regarding copyright
-- limitations under the License.
--
insert into ACT_GE_SCHEMA_LOG

Check failure on line 18 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L18

Object name not schema qualified
values ('1000', CURRENT_TIMESTAMP, '7.21.0');

Check warning on line 19 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L19

Expected TSQL Keyword to be capitalized
alter table ACT_RU_EXT_TASK
add column CREATE_TIME_ timestamp;
alter table ACT_RU_JOB
add column ROOT_PROC_INST_ID_ varchar(64);

Check warning on line 25 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L25

Expected TSQL Keyword to be capitalized
create index ACT_IDX_JOB_ROOT_PROCINST on ACT_RU_JOB(ROOT_PROC_INST_ID_);

Check warning on line 27 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L27

Expected TSQL Keyword to be capitalized
--

Check failure on line 1 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L1

Expected SET NOCOUNT ON near top of file
-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
-- under one or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information regarding copyright
-- limitations under the License.
--
insert into ACT_GE_SCHEMA_LOG

Check failure on line 18 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L18

Object name not schema qualified
values ('1000', CURRENT_TIMESTAMP, '7.21.0');

Check warning on line 19 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L19

Expected TSQL Keyword to be capitalized
alter table ACT_RU_EXT_TASK
add column CREATE_TIME_ timestamp;
alter table ACT_RU_JOB
add column ROOT_PROC_INST_ID_ varchar(64);

Check warning on line 25 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L25

Expected TSQL Keyword to be capitalized
create index ACT_IDX_JOB_ROOT_PROCINST on ACT_RU_JOB(ROOT_PROC_INST_ID_);

Check warning on line 27 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L27

Expected TSQL Keyword to be capitalized
--

Check failure on line 1 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L1

Expected SET NOCOUNT ON near top of file
-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
-- under one or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information regarding copyright
-- limitations under the License.
--
insert into ACT_GE_SCHEMA_LOG

Check failure on line 18 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L18

Object name not schema qualified
values ('1000', CURRENT_TIMESTAMP, '7.21.0');

Check warning on line 19 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L19

Expected TSQL Keyword to be capitalized
alter table ACT_RU_EXT_TASK
add column CREATE_TIME_ timestamp;
alter table ACT_RU_JOB
add column ROOT_PROC_INST_ID_ varchar(64);

Check warning on line 25 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L25

Expected TSQL Keyword to be capitalized
create index ACT_IDX_JOB_ROOT_PROCINST on ACT_RU_JOB(ROOT_PROC_INST_ID_);

Check warning on line 27 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L27

Expected TSQL Keyword to be capitalized
-- limitations under the License.
--
insert into ACT_GE_SCHEMA_LOG

Check failure on line 18 in scenarios/single-node-jpa-maria/src/main/resources/db/migrations/mariadb/V0_0_8__mariadb_engine_7.19_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa-maria/src/main/resources/db/migrations/mariadb/V0_0_8__mariadb_engine_7.19_to_7.21.sql#L18

Object name not schema qualified
values ('1000', CURRENT_TIMESTAMP, '7.21.0');
alter table ACT_RU_EXT_TASK
--

Check failure on line 1 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L1

Expected SET NOCOUNT ON near top of file
-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
-- under one or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information regarding copyright
-- limitations under the License.
--
insert into ACT_GE_SCHEMA_LOG

Check failure on line 18 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L18

Object name not schema qualified
values ('1000', CURRENT_TIMESTAMP, '7.21.0');

Check warning on line 19 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L19

Expected TSQL Keyword to be capitalized
alter table ACT_RU_EXT_TASK
add column CREATE_TIME_ timestamp;
alter table ACT_RU_JOB
add column ROOT_PROC_INST_ID_ varchar(64);

Check warning on line 25 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L25

Expected TSQL Keyword to be capitalized
create index ACT_IDX_JOB_ROOT_PROCINST on ACT_RU_JOB(ROOT_PROC_INST_ID_);

Check warning on line 27 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L27

Expected TSQL Keyword to be capitalized
--

Check failure on line 1 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L1

Expected SET NOCOUNT ON near top of file
-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
-- under one or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information regarding copyright
-- limitations under the License.
--
insert into ACT_GE_SCHEMA_LOG

Check failure on line 18 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L18

Object name not schema qualified
values ('1000', CURRENT_TIMESTAMP, '7.21.0');

Check warning on line 19 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L19

Expected TSQL Keyword to be capitalized
alter table ACT_RU_EXT_TASK
add column CREATE_TIME_ timestamp;
alter table ACT_RU_JOB
add column ROOT_PROC_INST_ID_ varchar(64);

Check warning on line 25 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L25

Expected TSQL Keyword to be capitalized
create index ACT_IDX_JOB_ROOT_PROCINST on ACT_RU_JOB(ROOT_PROC_INST_ID_);

Check warning on line 27 in scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql

Codacy Production / Codacy Static Code Analysis

scenarios/single-node-jpa/src/main/resources/db/migrations/h2-postgresql/V0_0_15__postgres_engine_7.18_to_7.21.sql#L27

Expected TSQL Keyword to be capitalized