fix: rename getStreeamPath to getStreamPath
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ff2650e8c1
commit
50e98353ef
12
CHANGELOG.md
12
CHANGELOG.md
@ -2,6 +2,10 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## unreleased
|
||||
|
||||
### Fixed
|
||||
* renamed `UraClientConfiguration#getStreeamPath()` to `getStreamPath()`
|
||||
|
||||
### Dependencies
|
||||
* Updated Jackson dependency to 2.17.1
|
||||
|
||||
@ -71,6 +75,14 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
----
|
||||
|
||||
## 1.3.3 - 2022-11-21
|
||||
### Security
|
||||
* Updated Jackson dependency to 2.14.0
|
||||
|
||||
### Fixed
|
||||
* Querying trips and messages with limit directly from `Query` instance (#19)
|
||||
|
||||
|
||||
## 1.3.2 - 2022-08-30
|
||||
|
||||
### Improvements
|
||||
|
@ -314,7 +314,7 @@ public class UraClient implements Serializable {
|
||||
// Create the reader.
|
||||
try {
|
||||
AsyncUraTripReader reader = new AsyncUraTripReader(
|
||||
URI.create(requestURL(config.getBaseURL() + config.getStreeamPath(), REQUEST_TRIP, query)),
|
||||
URI.create(requestURL(config.getBaseURL() + config.getStreamPath(), REQUEST_TRIP, query)),
|
||||
config,
|
||||
consumers
|
||||
);
|
||||
|
@ -87,7 +87,7 @@ public class UraClientConfiguration implements Serializable {
|
||||
*
|
||||
* @return Stream endpoint path.
|
||||
*/
|
||||
public String getStreeamPath() {
|
||||
public String getStreamPath() {
|
||||
return this.streamPath;
|
||||
}
|
||||
|
||||
|
@ -25,7 +25,7 @@ class UraClientConfigurationTest {
|
||||
UraClientConfiguration config = UraClientConfiguration.forBaseURL(baseURL).build();
|
||||
assertEquals(baseURL, config.getBaseURL(), "Unexpected base URL");
|
||||
assertEquals("/interfaces/ura/instant_V1", config.getInstantPath(), "Unexpected default instant path");
|
||||
assertEquals("/interfaces/ura/stream_V1", config.getStreeamPath(), "Unexpected default stream path");
|
||||
assertEquals("/interfaces/ura/stream_V1", config.getStreamPath(), "Unexpected default stream path");
|
||||
assertNull(config.getConnectTimeout(), "No default connection timeout expected");
|
||||
assertNull(config.getTimeout(), "No default timeout expected");
|
||||
|
||||
@ -36,7 +36,7 @@ class UraClientConfigurationTest {
|
||||
.build();
|
||||
assertEquals(baseURL, config.getBaseURL(), "Unexpected base URL");
|
||||
assertEquals(instantPath, config.getInstantPath(), "Unexpected custom instant path");
|
||||
assertEquals(streamPath, config.getStreeamPath(), "Unexpected custom stream path");
|
||||
assertEquals(streamPath, config.getStreamPath(), "Unexpected custom stream path");
|
||||
|
||||
// With timeouts. (#14)
|
||||
config = UraClientConfiguration.forBaseURL(baseURL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user