Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 423349e

Browse files
LeeParrishMSFTdependabot[bot]gabog
authored
Additional Security Updates (#1409)
* Bump log4j-core from 2.17.0 to 2.17.1 (#1406) Bumps log4j-core from 2.17.0 to 2.17.1. --- updated-dependencies: - dependency-name: org.apache.logging.log4j:log4j-core dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump log4j-api from 2.17.0 to 2.17.1 (#1405) Bumps log4j-api from 2.17.0 to 2.17.1. --- updated-dependencies: - dependency-name: org.apache.logging.log4j:log4j-api dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update to pick up correct SDK version (#1404) * Update to pick up correct SDK version * Fix unit test in QnAMaker and spelling in comment. Co-authored-by: Gabo Gilabert <gabog@users.noreply.github.com> * Update version to 4.14.2 Bump log4j-core from 2.17.0 to 2.17.1 (#1406) Bumps log4j-core from 2.17.0 to 2.17.1. --- updated-dependencies: - dependency-name: org.apache.logging.log4j:log4j-core dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update spring-core and spring-boot packages. (#1408) Co-authored-by: Gabo Gilabert <gabog@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gabo Gilabert <gabog@users.noreply.github.com>
1 parent 2f0b04c commit 423349e

File tree

13 files changed

+19
-20
lines changed

13 files changed

+19
-20
lines changed

libraries/bot-ai-luis-v3/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.microsoft.bot</groupId>
88
<artifactId>bot-java</artifactId>
9-
<version>4.14.1</version>
9+
<version>4.14.2</version>
1010
<relativePath>../../pom.xml</relativePath>
1111
</parent>
1212

libraries/bot-ai-qna/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.microsoft.bot</groupId>
88
<artifactId>bot-java</artifactId>
9-
<version>4.14.1</version>
9+
<version>4.14.2</version>
1010
<relativePath>../../pom.xml</relativePath>
1111
</parent>
1212

libraries/bot-ai-qna/src/test/java/com/microsoft/bot/ai/qna/QnAMakerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ public void qnaMakerUserAgent() {
803803
results[0].getAnswer());
804804

805805
// Verify that we added the bot.builder package details.
806-
Assert.assertTrue(request.getHeader("User-Agent").contains("BotBuilder/4.0.0"));
806+
Assert.assertTrue(request.getHeader("User-Agent").contains("BotBuilder/4."));
807807
} catch (Exception ex) {
808808
fail();
809809
} finally {

libraries/bot-applicationinsights/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.microsoft.bot</groupId>
88
<artifactId>bot-java</artifactId>
9-
<version>4.14.1</version>
9+
<version>4.14.2</version>
1010
<relativePath>../../pom.xml</relativePath>
1111
</parent>
1212

libraries/bot-azure/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.microsoft.bot</groupId>
88
<artifactId>bot-java</artifactId>
9-
<version>4.14.1</version>
9+
<version>4.14.2</version>
1010
<relativePath>../../pom.xml</relativePath>
1111
</parent>
1212

libraries/bot-builder/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.microsoft.bot</groupId>
88
<artifactId>bot-java</artifactId>
9-
<version>4.14.1</version>
9+
<version>4.14.2</version>
1010
<relativePath>../../pom.xml</relativePath>
1111
</parent>
1212

libraries/bot-connector/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.microsoft.bot</groupId>
88
<artifactId>bot-java</artifactId>
9-
<version>4.14.1</version>
9+
<version>4.14.2</version>
1010
<relativePath>../../pom.xml</relativePath>
1111
</parent>
1212

libraries/bot-connector/src/main/java/com/microsoft/bot/connector/ConnectorConfiguration.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,18 @@
1313
/**
1414
* Loads configuration properties for bot-connector.
1515
*
16-
* Properties are located in an optional connector.properties file in the
17-
* classpath.
16+
* The version of the package will be in the project.properties file.
1817
*/
1918
public class ConnectorConfiguration {
2019
/**
2120
* Load and pass properties to a function.
22-
*
21+
*
2322
* @param func The function to process the loaded properties.
2423
*/
2524
public void process(Consumer<Properties> func) {
2625
final Properties properties = new Properties();
2726
try (InputStream propStream =
28-
UserAgent.class.getClassLoader().getResourceAsStream("connector.properties")) {
27+
UserAgent.class.getClassLoader().getResourceAsStream("project.properties")) {
2928

3029
properties.load(propStream);
3130
if (!properties.containsKey("version")) {

libraries/bot-dialogs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.microsoft.bot</groupId>
88
<artifactId>bot-java</artifactId>
9-
<version>4.14.1</version>
9+
<version>4.14.2</version>
1010
<relativePath>../../pom.xml</relativePath>
1111
</parent>
1212

libraries/bot-integration-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.microsoft.bot</groupId>
88
<artifactId>bot-java</artifactId>
9-
<version>4.14.1</version>
9+
<version>4.14.2</version>
1010
<relativePath>../../pom.xml</relativePath>
1111
</parent>
1212

0 commit comments

Comments
 (0)