This repository was archived by the owner on Dec 4, 2023. It is now read-only.
File tree 13 files changed +19
-20
lines changed
src/test/java/com/microsoft/bot/ai/qna
src/main/java/com/microsoft/bot/connector
13 files changed +19
-20
lines changed Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.microsoft.bot</groupId >
8
8
<artifactId >bot-java</artifactId >
9
- <version >4.14.1 </version >
9
+ <version >4.14.2 </version >
10
10
<relativePath >../../pom.xml</relativePath >
11
11
</parent >
12
12
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.microsoft.bot</groupId >
8
8
<artifactId >bot-java</artifactId >
9
- <version >4.14.1 </version >
9
+ <version >4.14.2 </version >
10
10
<relativePath >../../pom.xml</relativePath >
11
11
</parent >
12
12
Original file line number Diff line number Diff line change @@ -803,7 +803,7 @@ public void qnaMakerUserAgent() {
803
803
results [0 ].getAnswer ());
804
804
805
805
// 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." ));
807
807
} catch (Exception ex ) {
808
808
fail ();
809
809
} finally {
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.microsoft.bot</groupId >
8
8
<artifactId >bot-java</artifactId >
9
- <version >4.14.1 </version >
9
+ <version >4.14.2 </version >
10
10
<relativePath >../../pom.xml</relativePath >
11
11
</parent >
12
12
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.microsoft.bot</groupId >
8
8
<artifactId >bot-java</artifactId >
9
- <version >4.14.1 </version >
9
+ <version >4.14.2 </version >
10
10
<relativePath >../../pom.xml</relativePath >
11
11
</parent >
12
12
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.microsoft.bot</groupId >
8
8
<artifactId >bot-java</artifactId >
9
- <version >4.14.1 </version >
9
+ <version >4.14.2 </version >
10
10
<relativePath >../../pom.xml</relativePath >
11
11
</parent >
12
12
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.microsoft.bot</groupId >
8
8
<artifactId >bot-java</artifactId >
9
- <version >4.14.1 </version >
9
+ <version >4.14.2 </version >
10
10
<relativePath >../../pom.xml</relativePath >
11
11
</parent >
12
12
Original file line number Diff line number Diff line change 13
13
/**
14
14
* Loads configuration properties for bot-connector.
15
15
*
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.
18
17
*/
19
18
public class ConnectorConfiguration {
20
19
/**
21
20
* Load and pass properties to a function.
22
- *
21
+ *
23
22
* @param func The function to process the loaded properties.
24
23
*/
25
24
public void process (Consumer <Properties > func ) {
26
25
final Properties properties = new Properties ();
27
26
try (InputStream propStream =
28
- UserAgent .class .getClassLoader ().getResourceAsStream ("connector .properties" )) {
27
+ UserAgent .class .getClassLoader ().getResourceAsStream ("project .properties" )) {
29
28
30
29
properties .load (propStream );
31
30
if (!properties .containsKey ("version" )) {
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.microsoft.bot</groupId >
8
8
<artifactId >bot-java</artifactId >
9
- <version >4.14.1 </version >
9
+ <version >4.14.2 </version >
10
10
<relativePath >../../pom.xml</relativePath >
11
11
</parent >
12
12
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.microsoft.bot</groupId >
8
8
<artifactId >bot-java</artifactId >
9
- <version >4.14.1 </version >
9
+ <version >4.14.2 </version >
10
10
<relativePath >../../pom.xml</relativePath >
11
11
</parent >
12
12
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >com.microsoft.bot</groupId >
7
7
<artifactId >bot-java</artifactId >
8
- <version >4.14.1 </version >
8
+ <version >4.14.2 </version >
9
9
<relativePath >../../pom.xml</relativePath >
10
10
</parent >
11
11
67
67
<dependency >
68
68
<groupId >org.springframework</groupId >
69
69
<artifactId >spring-core</artifactId >
70
- <version >5.3.1 </version >
70
+ <version >5.3.14 </version >
71
71
</dependency >
72
72
<dependency >
73
73
<groupId >org.springframework</groupId >
77
77
<dependency >
78
78
<groupId >org.springframework.boot</groupId >
79
79
<artifactId >spring-boot</artifactId >
80
- <version >2.4.0 </version >
80
+ <version >2.6.2 </version >
81
81
<scope >compile</scope >
82
82
</dependency >
83
83
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.microsoft.bot</groupId >
8
8
<artifactId >bot-java</artifactId >
9
- <version >4.14.1 </version >
9
+ <version >4.14.2 </version >
10
10
<relativePath >../../pom.xml</relativePath >
11
11
</parent >
12
12
Original file line number Diff line number Diff line change 5
5
6
6
<groupId >com.microsoft.bot</groupId >
7
7
<artifactId >bot-java</artifactId >
8
- <version >4.14.1 </version >
8
+ <version >4.14.2 </version >
9
9
<packaging >pom</packaging >
10
10
11
11
<name >Microsoft BotBuilder Java SDK Parent</name >
337
337
<dependency >
338
338
<groupId >org.apache.logging.log4j</groupId >
339
339
<artifactId >log4j-api</artifactId >
340
- <version >2.15.0 </version >
340
+ <version >2.17.1 </version >
341
341
<scope >test</scope >
342
342
</dependency >
343
343
<dependency >
349
349
<dependency >
350
350
<groupId >org.apache.logging.log4j</groupId >
351
351
<artifactId >log4j-core</artifactId >
352
- <version >2.15.0 </version >
352
+ <version >2.17.1 </version >
353
353
<scope >test</scope >
354
354
</dependency >
355
355
You can’t perform that action at this time.
0 commit comments