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

move to 1.4 #115

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/com/datasift/client/DataSiftConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class DataSiftConfig {
* so it'll never be creating a whole new load of resources for each instance.
*/
protected HttpRequestBuilder http = HttpRequestBuilder.instance();
protected String versionPrefix = "v1.3";
protected String versionPrefix = "v1.4";
protected String urlEncodingFormat = "ISO-8859-1";
protected int port = 80;
protected boolean manualPort;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class CucumberBase {
CucumberMockWrapper wrapper = new CucumberMockWrapper();
DataSiftConfig config = new DataSiftConfig("zcourts", "some-api-key") {
{
versionPrefix("behat-v1.3");
versionPrefix("behat-v1.4");
host("localhost");
setSslEnabled(false);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import java.io.IOException;
import java.util.HashMap;

@Path("/behat-v1.3/")
@Path("/behat-v1.4/")
@Produces(MediaType.APPLICATION_JSON)
public class CucumberMockWrapper {
private String response;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import java.util.HashMap;
import java.util.Map;

@Path("v1.3")
@Path("v1.4")
public class MockCoreApi {
Map<String, String> headers = new HashMap<>();
private double dpu = -1f;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Created by agnieszka on 17/01/2014.
*/

@Path("v1.3/historics")
@Path("v1.4/historics")
public class MockHistoricsApi {
Map<String, String> headers = new HashMap<>();
private String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Created by agnieszka on 17/01/2014.
*/
@Path("v1.3/source")
@Path("v1.4/source")
public class MockManagedSourcesApi {
Map<String, String> headers = new HashMap<>();
private Map<String, Object> streams = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Created by agnieszka on 17/01/2014.
*/

@Path("v1.3/preview")
@Path("v1.4/preview")
public class MockPreviewApi {
Map<String, String> headers = new HashMap<>();
private DateTime createdAt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Created by agnieszka on 15/01/2014.
*/

@Path("v1.3/pull")
@Path("v1.4/pull")
public class MockPullApi extends MockPushApi {

@Path("/")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* Created by agnieszka on 15/01/2014.
*/

@Path("v1.3/push")
@Path("v1.4/push")
public class MockPushApi {

Map<String, String> headers = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import java.util.List;
import java.util.Map;

@Path("v1.3/pylon")
@Path("v1.4/pylon")
public class MockPylonApi {
Map<String, String> headers = new HashMap<>();
private String recordingId;
Expand Down