Skip to content
This repository was archived by the owner on Feb 26, 2021. It is now read-only.

Commit c64d9be

Browse files
authored
Merge pull request #41 from secureCodeBox/upgrade-to-camunda-7.9
Upgrade to camunda 7.10 and spring.boot.starter 3.2.0
2 parents 81dd14f + 6eb2665 commit c64d9be

File tree

52 files changed

+109
-59
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+109
-59
lines changed

pom.xml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@
5656
IMPORTANT: camunda.version and camunda.spring.boot.starter.version must be compatible
5757
please see org.camunda.bpm.springboot.project:camunda-bpm-spring-boot-starter-root
5858
-->
59-
<camunda.version>7.8.0</camunda.version>
60-
<camunda.spring.boot.starter.version>2.3.0</camunda.spring.boot.starter.version>
59+
<camunda.version>7.10.0</camunda.version>
60+
<camunda.spring.boot.starter.version>3.2.0</camunda.spring.boot.starter.version>
6161
<!-- END IMPORTANT -->
6262

63-
<spring-boot.version>1.5.13.RELEASE</spring-boot.version>
63+
<spring-boot.version>2.1.1.RELEASE</spring-boot.version>
6464
<swagger-version>2.9.0</swagger-version>
6565
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6666
</properties>
@@ -98,6 +98,12 @@
9898
<type>pom</type>
9999
</dependency>
100100

101+
<dependency>
102+
<groupId>org.springframework.boot</groupId>
103+
<artifactId>spring-boot-properties-migrator</artifactId>
104+
<scope>runtime</scope>
105+
</dependency>
106+
101107
<!-- Add camunda spring boot starter classes -->
102108
<dependency>
103109
<groupId>org.camunda.bpm.springboot</groupId>
@@ -138,7 +144,13 @@
138144
<groupId>org.camunda.bpm.extension.mockito</groupId>
139145
<artifactId>camunda-bpm-mockito</artifactId>
140146
<scope>test</scope>
141-
<version>3.1.0</version>
147+
<version>3.2.1</version>
148+
</dependency>
149+
<dependency>
150+
<groupId>org.camunda.bpm.extension</groupId>
151+
<artifactId>camunda-bpm-assert</artifactId>
152+
<version>1.2</version> <!-- Use 2.0-alpha2 for the CMMN assertions preview! -->
153+
<scope>test</scope>
142154
</dependency>
143155
<dependency>
144156
<groupId>org.camunda.bpm.extension</groupId>

scb-engine/pom.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@
2828
<groupId>org.camunda.bpm.springboot</groupId>
2929
<artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId>
3030
</dependency>
31+
<dependency>
32+
<groupId>org.springframework.boot</groupId>
33+
<artifactId>spring-boot-properties-migrator</artifactId>
34+
<scope>runtime</scope>
35+
<version>2.0.2.RELEASE</version>
36+
</dependency>
3137

3238
<dependency>
3339
<groupId>io.springfox</groupId>
@@ -72,6 +78,11 @@
7278
<scope>runtime</scope>
7379
</dependency>
7480

81+
<dependency>
82+
<groupId>org.apache.tomcat</groupId>
83+
<artifactId>tomcat-jdbc</artifactId>
84+
</dependency>
85+
7586
<dependency>
7687
<groupId>io.securecodebox.persistenceproviders</groupId>
7788
<artifactId>empty-persistenceprovider</artifactId>
@@ -203,7 +214,7 @@
203214
<dependency>
204215
<groupId>org.elasticsearch</groupId>
205216
<artifactId>elasticsearch</artifactId>
206-
<version>6.2.4</version>
217+
<version>6.4.3</version>
207218
</dependency>
208219
</dependencies>
209220
</dependencyManagement>

scb-engine/src/main/java/io/securecodebox/engine/helper/DefaultGroupConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class DefaultGroupConfiguration extends AbstractCamundaConfiguration {
4646

4747
public static final String GROUP_SCANNER = "scanner";
4848
public static final String GROUP_APPROVER = "approver";
49-
public static final String GROUP_CI = "continuous-integration";
49+
public static final String GROUP_CI = "continuousIntegration";
5050

5151
private static final Logger LOG = LoggerFactory.getLogger(DefaultGroupConfiguration.class);
5252

scb-engine/src/main/java/io/securecodebox/engine/rest/ScanJobResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public ResponseEntity completeJob(
169169
) {
170170
try{
171171
authService.checkAuthorizedFor(id.toString(), ResourceType.SECURITY_TEST, PermissionType.UPDATE);
172-
}catch (InsufficientAuthenticationException e){
172+
} catch (InsufficientAuthenticationException e){
173173
return ResponseEntity.status(HttpStatus.FORBIDDEN).build();
174174
}
175175

scb-engine/src/main/resources/app/admin/assets/images/favicon.ico renamed to scb-engine/src/main/resources/META-INF/resources/webjars/camunda/app/admin/assets/images/favicon.ico

File renamed without changes.

scb-engine/src/main/resources/app/admin/assets/images/logo_secureCodeBox_black.svg renamed to scb-engine/src/main/resources/META-INF/resources/webjars/camunda/app/admin/assets/images/logo_secureCodeBox_black.svg

File renamed without changes.

scb-engine/src/main/resources/app/admin/assets/images/logo_secureCodeBox_color.svg renamed to scb-engine/src/main/resources/META-INF/resources/webjars/camunda/app/admin/assets/images/logo_secureCodeBox_color.svg

File renamed without changes.

scb-engine/src/main/resources/app/admin/assets/images/logo_secureCodeBox_white.svg renamed to scb-engine/src/main/resources/META-INF/resources/webjars/camunda/app/admin/assets/images/logo_secureCodeBox_white.svg

File renamed without changes.

scb-engine/src/main/resources/app/admin/styles/user-styles.css renamed to scb-engine/src/main/resources/META-INF/resources/webjars/camunda/app/admin/styles/user-styles.css

File renamed without changes.

scb-engine/src/main/resources/app/cockpit/assets/images/favicon.ico renamed to scb-engine/src/main/resources/META-INF/resources/webjars/camunda/app/cockpit/assets/images/favicon.ico

File renamed without changes.

0 commit comments

Comments
 (0)