Skip to content

Commit 643ecfe

Browse files
authored
Merge pull request #745 from marklogic/feature/22458-black-duck
MLE-22458 More Black Duck fixes
2 parents a29e856 + a8761bb commit 643ecfe

File tree

9 files changed

+10
-107
lines changed

9 files changed

+10
-107
lines changed

examples/data-services/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies {
2525
testImplementation "org.junit.jupiter:junit-jupiter:5.12.2"
2626

2727
// Force usage of logback for logging
28-
testImplementation "ch.qos.logback:logback-classic:1.3.14"
28+
testImplementation "ch.qos.logback:logback-classic:1.5.18"
2929
testImplementation "org.slf4j:jcl-over-slf4j:2.0.17"
3030
testImplementation "org.slf4j:slf4j-api:2.0.17"
3131
}

examples/jdbc-project/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repositories {
88
}
99

1010
dependencies {
11-
implementation "org.springframework:spring-jdbc:6.2.7"
11+
implementation "org.springframework:spring-jdbc:6.2.8"
1212
implementation "org.postgresql:postgresql:42.6.2"
1313
}
1414

examples/mlcp-project/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dependencies {
3131
// Since MLCP 11.2, have not been able to get logging to work via a log4j2.xml or
3232
// log4j2.properties file. MLCP 11.2 removed logback as a direct dependency. Adding it back
3333
// results in logging working correctly.
34-
mlcp "ch.qos.logback:logback-classic:1.3.14"
34+
mlcp "ch.qos.logback:logback-classic:1.5.18"
3535

3636
/**
3737
* mlcp uses logback for logging, and without a logback configuration file, no MLCP logging will appear.

examples/sample-project/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ configurations {
5555
*/
5656
dependencies {
5757
testImplementation "com.marklogic:marklogic-junit5:1.5.0"
58-
testImplementation "com.jayway.restassured:rest-assured:2.9.0"
5958
testImplementation "javax.xml.bind:jaxb-api:2.3.1"
6059
testImplementation "org.glassfish.jaxb:jaxb-runtime:2.3.2"
6160
testImplementation "org.glassfish.jaxb:jaxb-core:2.3.0.1"

examples/sample-project/gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ mlHost=localhost
55
mlAppName=sample-project
66

77
# ml-gradle is geared towards applications that use the REST API, so a port number is needed for a new REST API server
8-
mlRestPort=8050
8+
mlRestPort=8004
99

1010
# If specified, then a test database with app servers for that database will be created, which can then be used for
1111
# automated tests.
12-
mlTestRestPort=8051
12+
mlTestRestPort=8005
1313

1414
# You can define just mlUsername and mlPassword, and that user will be used for all deployment operations, but that's
1515
# generally not a good practice, as this user will need the admin role in order to create security resources. Generally,

examples/sample-project/src/test/java/sample/GetClientConfigTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class GetClientConfigTest extends AbstractSampleProjectTest {
2020
public void testConfig() {
2121
DatabaseClientConfig config = applicationContext.getBean(DatabaseClientConfig.class);
2222
assertEquals("localhost", config.getHost());
23-
assertEquals(8051, config.getPort());
23+
assertEquals(8005, config.getPort());
2424
}
2525

2626
}

examples/sample-project/src/test/java/sample/SearchDocumentsViaRestAssuredTest.java

Lines changed: 0 additions & 96 deletions
This file was deleted.

ml-app-deployer/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ dependencies {
22
api project(":ml-javaclient-util")
33

44
// For RestTemplate, which wraps OkHttpClient.
5-
api 'org.springframework:spring-web:6.2.7'
5+
api 'org.springframework:spring-web:6.2.8'
66

77
// For wrangling JSON. Matching the version used by the Java Client.
88
api 'com.fasterxml.jackson.core:jackson-databind:2.17.2'
@@ -32,7 +32,7 @@ dependencies {
3232

3333
// With 5.12.x, tests are somehow not found by Gradle.
3434
testImplementation 'org.junit.jupiter:junit-jupiter:5.11.2'
35-
testImplementation 'org.springframework:spring-test:6.2.7'
35+
testImplementation 'org.springframework:spring-test:6.2.8'
3636
testImplementation 'commons-io:commons-io:2.19.0'
3737
testImplementation 'xmlunit:xmlunit:1.6'
3838
}

ml-javaclient-util/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dependencies {
22
api 'com.marklogic:marklogic-client-api:7.1.0'
33
api 'com.marklogic:marklogic-xcc:11.3.1'
4-
api 'org.springframework:spring-context:6.2.7'
4+
api 'org.springframework:spring-context:6.2.8'
55

66
implementation 'org.jdom:jdom2:2.0.6.1'
77

@@ -13,7 +13,7 @@ dependencies {
1313

1414
// With 5.12.x, tests are somehow not found by Gradle.
1515
testImplementation 'org.junit.jupiter:junit-jupiter:5.11.2'
16-
testImplementation 'org.springframework:spring-test:6.2.7'
16+
testImplementation 'org.springframework:spring-test:6.2.8'
1717
testImplementation 'org.mockito:mockito-core:4.11.0'
1818

1919
// Used for testing loading modules from the classpath

0 commit comments

Comments
 (0)