Skip to content

Commit

Permalink
chore(project): Prepare Codebase for 7.22.0 Release (camunda#4242)
Browse files Browse the repository at this point in the history
Related-to: camunda#3860
  • Loading branch information
venetrius authored Apr 8, 2024
1 parent 5df0514 commit 96c1bf3
Show file tree
Hide file tree
Showing 28 changed files with 431 additions and 36 deletions.
2 changes: 1 addition & 1 deletion database/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<version.cockroachdb>42.2.9</version.cockroachdb>

<!-- needed for sql script and backward compatibility checks -->
<camunda.version.old>7.20.0</camunda.version.old>
<camunda.version.old>7.21.0</camunda.version.old>

<!-- Testcontainers JDBC URL parameters. By default, an empty string -->
<database.tc.params />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ create table ACT_GE_SCHEMA_LOG (
);

insert into ACT_GE_SCHEMA_LOG
values ('0', CURRENT_TIMESTAMP, '7.21.0');
values ('0', CURRENT_TIMESTAMP, '7.22.0');

create table ACT_RE_DEPLOYMENT (
ID_ varchar(64),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ create table ACT_GE_SCHEMA_LOG (
);

insert into ACT_GE_SCHEMA_LOG
values ('0', CURRENT_TIMESTAMP, '7.21.0');
values ('0', CURRENT_TIMESTAMP, '7.22.0');

create table ACT_RE_DEPLOYMENT (
ID_ varchar(64) not null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ create table ACT_GE_SCHEMA_LOG (
);

insert into ACT_GE_SCHEMA_LOG
values ('0', CURRENT_TIMESTAMP, '7.21.0');
values ('0', CURRENT_TIMESTAMP, '7.22.0');

create table ACT_RE_DEPLOYMENT (
ID_ varchar(64),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ create table ACT_GE_SCHEMA_LOG (
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;

insert into ACT_GE_SCHEMA_LOG
values ('0', CURRENT_TIMESTAMP, '7.21.0');
values ('0', CURRENT_TIMESTAMP, '7.22.0');

create table ACT_RE_DEPLOYMENT (
ID_ varchar(64),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ create table ACT_GE_SCHEMA_LOG (
);

insert into ACT_GE_SCHEMA_LOG
values ('0', CURRENT_TIMESTAMP, '7.21.0');
values ('0', CURRENT_TIMESTAMP, '7.22.0');

create table ACT_RE_DEPLOYMENT (
ID_ nvarchar(64),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ create table ACT_GE_SCHEMA_LOG (
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;

insert into ACT_GE_SCHEMA_LOG
values ('0', CURRENT_TIMESTAMP, '7.21.0');
values ('0', CURRENT_TIMESTAMP, '7.22.0');

create table ACT_RE_DEPLOYMENT (
ID_ varchar(64),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ create table ACT_GE_SCHEMA_LOG (
);

insert into ACT_GE_SCHEMA_LOG
values ('0', CURRENT_TIMESTAMP, '7.21.0');
values ('0', CURRENT_TIMESTAMP, '7.22.0');

create table ACT_RE_DEPLOYMENT (
ID_ NVARCHAR2(64),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ create table ACT_GE_SCHEMA_LOG (
);

insert into ACT_GE_SCHEMA_LOG
values ('0', CURRENT_TIMESTAMP, '7.21.0');
values ('0', CURRENT_TIMESTAMP, '7.22.0');

create table ACT_RE_DEPLOYMENT (
ID_ varchar(64),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,16 @@
<tagDatabase tag="7.21.0"/>
</changeSet>

<changeSet author="Camunda" id="7.21-to-7.22">
<sqlFile path="upgrade/${db.name}_engine_7.21_to_7.22.sql"
encoding="UTF-8"
relativeToChangelogFile="true"
splitStatements="true"
stripComments="true"/>
</changeSet>

<changeSet author="Camunda" id="7.22.0-tag">
<tagDatabase tag="7.22.0"/>
</changeSet>

</databaseChangeLog>
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
--
-- 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
-- ownership. Camunda licenses this file to you under the Apache License,
-- Version 2.0; 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.
--

-- table writes should ideally come after schema changes, see https://github.com/cockroachdb/cockroach/pull/58182

insert into ACT_GE_SCHEMA_LOG
values ('1100', CURRENT_TIMESTAMP, '7.22.0');
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--
-- 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
-- ownership. Camunda licenses this file to you under the Apache License,
-- Version 2.0; 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.
--

insert into ACT_GE_SCHEMA_LOG
values ('1100', CURRENT_TIMESTAMP, '7.22.0');
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--
-- 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
-- ownership. Camunda licenses this file to you under the Apache License,
-- Version 2.0; 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.
--

insert into ACT_GE_SCHEMA_LOG
values ('1100', CURRENT_TIMESTAMP, '7.22.0');
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--
-- 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
-- ownership. Camunda licenses this file to you under the Apache License,
-- Version 2.0; 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.
--

insert into ACT_GE_SCHEMA_LOG
values ('1100', CURRENT_TIMESTAMP, '7.22.0');
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--
-- 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
-- ownership. Camunda licenses this file to you under the Apache License,
-- Version 2.0; 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.
--

insert into ACT_GE_SCHEMA_LOG
values ('1100', CURRENT_TIMESTAMP, '7.22.0');
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--
-- 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
-- ownership. Camunda licenses this file to you under the Apache License,
-- Version 2.0; 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.
--

insert into ACT_GE_SCHEMA_LOG
values ('1100', CURRENT_TIMESTAMP, '7.22.0');
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--
-- 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
-- ownership. Camunda licenses this file to you under the Apache License,
-- Version 2.0; 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.
--

insert into ACT_GE_SCHEMA_LOG
values ('1100', CURRENT_TIMESTAMP, '7.22.0');
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--
-- 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
-- ownership. Camunda licenses this file to you under the Apache License,
-- Version 2.0; 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.
--

insert into ACT_GE_SCHEMA_LOG
values ('1100', CURRENT_TIMESTAMP, '7.22.0');
1 change: 1 addition & 0 deletions qa/test-db-instance-migration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<module>test-fixture-719</module>
<module>test-fixture-720</module>
<module>test-fixture-721</module>
<module>test-fixture-722</module>
<module>test-migration</module>
</modules>

Expand Down
36 changes: 15 additions & 21 deletions qa/test-db-instance-migration/test-fixture-721/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,20 @@
<name>camunda BPM - QA - upgrade - instance migration - test fixture - 7.21.0</name>

<properties>
<!-- delete when 7.21 is released -->
<camunda.version.current>${project.version}</camunda.version.current>
<camunda.version.previous>7.20.0</camunda.version.previous>
<camunda.version.previous>7.21.0</camunda.version.previous>
</properties>

<!-- uncomment when 7.21 is released -->
<!-- <dependencyManagement> -->
<!-- <dependencies> -->
<!-- <dependency> -->
<!-- <groupId>org.camunda.bpm</groupId> -->
<!-- <artifactId>camunda-bom</artifactId> -->
<!-- <version>7.21.0</version> -->
<!-- <scope>import</scope> -->
<!-- <type>pom</type> -->
<!-- </dependency> -->
<!-- </dependencies> -->
<!-- </dependencyManagement> -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-bom</artifactId>
<version>7.21.0</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
Expand Down Expand Up @@ -106,9 +103,7 @@
<artifactItem>
<groupId>org.camunda.bpm.distro</groupId>
<artifactId>camunda-sql-scripts</artifactId>
<!-- Replace after 7.21.0 release -->
<version>${camunda.version.current}</version>
<!--<version>7.21.0</version>-->
<version>7.21.0</version>
<type>test-jar</type>
<outputDirectory>${project.build.directory}/scripts-current</outputDirectory>
<overWrite>true</overWrite>
Expand All @@ -118,8 +113,7 @@
</execution>
</executions>
</plugin>
<!-- uncomment when 7.21 is released -->
<!--<plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
Expand All @@ -140,7 +134,7 @@
</configuration>
</execution>
</executions>
</plugin>-->
</plugin>
</plugins>
</build>
</profile>
Expand Down
Loading

0 comments on commit 96c1bf3

Please sign in to comment.