This repository was archived by the owner on Dec 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 13 files changed +19
-20
lines changed
src/test/java/com/microsoft/bot/ai/qna
src/main/java/com/microsoft/bot/connector Expand file tree Collapse file tree 13 files changed +19
-20
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 */
1918public 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" )) {
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments