-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust release pipelines for the Apache 10 release (#3589)
- Loading branch information
1 parent
2e422e0
commit f50aec6
Showing
5 changed files
with
128 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...istence/postgresql/src/main/resources/db/migration/V1.35.0__create_runtime_PostgreSQL.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
-- | ||
-- Licensed to the Apache Software Foundation (ASF) under one | ||
-- or more contributor license agreements. See the NOTICE file | ||
-- distributed with this work for additional information | ||
-- regarding copyright ownership. The ASF licenses this file | ||
-- to you under the Apache License, Version 2.0 (the | ||
-- "License"); you may not use this file except in compliance | ||
-- with the License. You may obtain a copy of the License at | ||
-- | ||
-- http://www.apache.org/licenses/LICENSE-2.0 | ||
-- | ||
-- Unless required by applicable law or agreed to in writing, | ||
-- software distributed under the License is distributed on an | ||
-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
-- KIND, either express or implied. See the License for the | ||
-- specific language governing permissions and limitations | ||
-- under the License. | ||
-- | ||
|
||
-- To be used with kie-addons-quarkus-persistence-jdbc for Quarkus or kie-addons-springboot-persistence-jdbc for SpringBoot | ||
CREATE TABLE process_instances | ||
( | ||
id character(36) NOT NULL, | ||
payload bytea NOT NULL, | ||
process_id character varying NOT NULL, | ||
version bigint, | ||
process_version character varying, | ||
CONSTRAINT process_instances_pkey PRIMARY KEY (id) | ||
); | ||
CREATE INDEX idx_process_instances_process_id ON process_instances (process_id, id, process_version); | ||
|
||
CREATE TABLE correlation_instances | ||
( | ||
id character(36) NOT NULL, | ||
encoded_correlation_id character varying(36) NOT NULL UNIQUE, | ||
correlated_id character varying(36) NOT NULL, | ||
correlation json NOT NULL, | ||
version bigint, | ||
CONSTRAINT correlation_instances_pkey PRIMARY KEY (id) | ||
); | ||
CREATE INDEX idx_correlation_instances_encoded_id ON correlation_instances (encoded_correlation_id); | ||
CREATE INDEX idx_correlation_instances_correlated_id ON correlation_instances (correlated_id); |
31 changes: 31 additions & 0 deletions
31
...tence/postgresql/src/main/resources/db/migration/V10.0.0__add_business_key_PostgreSQL.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
-- | ||
-- Licensed to the Apache Software Foundation (ASF) under one | ||
-- or more contributor license agreements. See the NOTICE file | ||
-- distributed with this work for additional information | ||
-- regarding copyright ownership. The ASF licenses this file | ||
-- to you under the Apache License, Version 2.0 (the | ||
-- "License"); you may not use this file except in compliance | ||
-- with the License. You may obtain a copy of the License at | ||
-- | ||
-- http://www.apache.org/licenses/LICENSE-2.0 | ||
-- | ||
-- Unless required by applicable law or agreed to in writing, | ||
-- software distributed under the License is distributed on an | ||
-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
-- KIND, either express or implied. See the License for the | ||
-- specific language governing permissions and limitations | ||
-- under the License. | ||
-- | ||
|
||
CREATE TABLE business_key_mapping ( | ||
business_key character (255) NOT NULL, | ||
process_instance_id character (36) NOT NULL, | ||
PRIMARY KEY (business_key), | ||
CONSTRAINT fk_process_instances | ||
FOREIGN KEY (process_instance_id) | ||
REFERENCES process_instances(id) | ||
ON DELETE CASCADE | ||
); | ||
|
||
|
||
CREATE INDEX idx_business_key_process_instance_id ON business_key_mapping (process_instance_id); |
21 changes: 21 additions & 0 deletions
21
...ence/postgresql/src/main/resources/db/migration/V10.0.1__alter_correlation_PostgreSQL.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
-- | ||
-- Licensed to the Apache Software Foundation (ASF) under one | ||
-- or more contributor license agreements. See the NOTICE file | ||
-- distributed with this work for additional information | ||
-- regarding copyright ownership. The ASF licenses this file | ||
-- to you under the Apache License, Version 2.0 (the | ||
-- "License"); you may not use this file except in compliance | ||
-- with the License. You may obtain a copy of the License at | ||
-- | ||
-- http://www.apache.org/licenses/LICENSE-2.0 | ||
-- | ||
-- Unless required by applicable law or agreed to in writing, | ||
-- software distributed under the License is distributed on an | ||
-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
-- KIND, either express or implied. See the License for the | ||
-- specific language governing permissions and limitations | ||
-- under the License. | ||
-- | ||
|
||
ALTER TABLE correlation_instances | ||
ALTER COLUMN correlation TYPE character varying; |