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

Commit

Permalink
Additional Security Updates (#1409)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people authored Jan 5, 2022
1 parent 2f0b04c commit 423349e
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion libraries/bot-ai-luis-v3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.microsoft.bot</groupId>
<artifactId>bot-java</artifactId>
<version>4.14.1</version>
<version>4.14.2</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion libraries/bot-ai-qna/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.microsoft.bot</groupId>
<artifactId>bot-java</artifactId>
<version>4.14.1</version>
<version>4.14.2</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ public void qnaMakerUserAgent() {
results[0].getAnswer());

// Verify that we added the bot.builder package details.
Assert.assertTrue(request.getHeader("User-Agent").contains("BotBuilder/4.0.0"));
Assert.assertTrue(request.getHeader("User-Agent").contains("BotBuilder/4."));
} catch (Exception ex) {
fail();
} finally {
Expand Down
2 changes: 1 addition & 1 deletion libraries/bot-applicationinsights/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.microsoft.bot</groupId>
<artifactId>bot-java</artifactId>
<version>4.14.1</version>
<version>4.14.2</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion libraries/bot-azure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.microsoft.bot</groupId>
<artifactId>bot-java</artifactId>
<version>4.14.1</version>
<version>4.14.2</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion libraries/bot-builder/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.microsoft.bot</groupId>
<artifactId>bot-java</artifactId>
<version>4.14.1</version>
<version>4.14.2</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion libraries/bot-connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.microsoft.bot</groupId>
<artifactId>bot-java</artifactId>
<version>4.14.1</version>
<version>4.14.2</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,18 @@
/**
* Loads configuration properties for bot-connector.
*
* Properties are located in an optional connector.properties file in the
* classpath.
* The version of the package will be in the project.properties file.
*/
public class ConnectorConfiguration {
/**
* Load and pass properties to a function.
*
*
* @param func The function to process the loaded properties.
*/
public void process(Consumer<Properties> func) {
final Properties properties = new Properties();
try (InputStream propStream =
UserAgent.class.getClassLoader().getResourceAsStream("connector.properties")) {
UserAgent.class.getClassLoader().getResourceAsStream("project.properties")) {

properties.load(propStream);
if (!properties.containsKey("version")) {
Expand Down
2 changes: 1 addition & 1 deletion libraries/bot-dialogs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.microsoft.bot</groupId>
<artifactId>bot-java</artifactId>
<version>4.14.1</version>
<version>4.14.2</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion libraries/bot-integration-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.microsoft.bot</groupId>
<artifactId>bot-java</artifactId>
<version>4.14.1</version>
<version>4.14.2</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
6 changes: 3 additions & 3 deletions libraries/bot-integration-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.microsoft.bot</groupId>
<artifactId>bot-java</artifactId>
<version>4.14.1</version>
<version>4.14.2</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -67,7 +67,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>5.3.1</version>
<version>5.3.14</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
Expand All @@ -77,7 +77,7 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot</artifactId>
<version>2.4.0</version>
<version>2.6.2</version>
<scope>compile</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion libraries/bot-schema/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.microsoft.bot</groupId>
<artifactId>bot-java</artifactId>
<version>4.14.1</version>
<version>4.14.2</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.microsoft.bot</groupId>
<artifactId>bot-java</artifactId>
<version>4.14.1</version>
<version>4.14.2</version>
<packaging>pom</packaging>

<name>Microsoft BotBuilder Java SDK Parent</name>
Expand Down Expand Up @@ -337,7 +337,7 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.15.0</version>
<version>2.17.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -349,7 +349,7 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.15.0</version>
<version>2.17.1</version>
<scope>test</scope>
</dependency>

Expand Down

0 comments on commit 423349e

Please sign in to comment.