Skip to content

Commit

Permalink
Provide scripts for creation of view for payload resolution of tasks …
Browse files Browse the repository at this point in the history
…and correlated data entries #321
  • Loading branch information
p-wunderlich committed Jul 1, 2024
1 parent 9d069ea commit 1bf0416
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
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

View check run for this annotation

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

View check run for this annotation

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

View check run for this annotation

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

View check run for this annotation

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

View check run for this annotation

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

View check run for this annotation

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

View check run for this annotation

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

View check run for this annotation

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

View check run for this annotation

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

View check run for this annotation

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

0 comments on commit 1bf0416

Please sign in to comment.