the sandbox->freebase loading conduit is now named "refinery"
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1313 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
289d4e4c57
commit
6273332cef
@ -49,7 +49,7 @@ public class UploadDataCommand extends Command {
|
|||||||
try {
|
try {
|
||||||
Integer jobID = (Integer) preferenceStore.get(s_dataLoadJobIDPref);
|
Integer jobID = (Integer) preferenceStore.get(s_dataLoadJobIDPref);
|
||||||
if (jobID != null) {
|
if (jobID != null) {
|
||||||
URL url = new URL("http://gridworks-loads.freebaseapps.com/job_id_to_mdo?job=" + jobID);
|
URL url = new URL("http://refinery.freebaseapps.com/job_id_to_mdo?job=" + jobID);
|
||||||
String s = ParsingUtilities.inputStreamToString(url.openConnection().getInputStream());
|
String s = ParsingUtilities.inputStreamToString(url.openConnection().getInputStream());
|
||||||
|
|
||||||
if (!s.equals("null")) {
|
if (!s.equals("null")) {
|
||||||
|
@ -25,7 +25,7 @@ public class FreebaseTimeCommonsHttpOAuthConsumer extends CommonsHttpOAuthConsum
|
|||||||
private static final int SOCKET_TIMEOUT = 3000;
|
private static final int SOCKET_TIMEOUT = 3000;
|
||||||
private static final int CONNECTION_TIMEOUT = 3000;
|
private static final int CONNECTION_TIMEOUT = 3000;
|
||||||
|
|
||||||
private static final String TIMER_URL = "http://gridworks-gadgets.freebaseapps.com/time";
|
private static final String TIMER_URL = "http://refinery.freebaseapps.com/time";
|
||||||
|
|
||||||
public FreebaseTimeCommonsHttpOAuthConsumer(String consumerKey, String consumerSecret) {
|
public FreebaseTimeCommonsHttpOAuthConsumer(String consumerKey, String consumerSecret) {
|
||||||
super(consumerKey, consumerSecret);
|
super(consumerKey, consumerSecret);
|
||||||
|
@ -54,7 +54,7 @@ public class ImportQADataOperation extends AbstractOperation {
|
|||||||
|
|
||||||
Map<Long, String> reconIDToResult = new HashMap<Long, String>();
|
Map<Long, String> reconIDToResult = new HashMap<Long, String>();
|
||||||
|
|
||||||
URL url = new URL("http://gridworks-loads.dfhuynh.user.dev.freebaseapps.com/get_answers/" + jobID);
|
URL url = new URL("http://refinery.freebaseapps.com/get_answers/" + jobID);
|
||||||
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
|
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
|
||||||
conn.setReadTimeout(30000); // 30 seconds
|
conn.setReadTimeout(30000); // 30 seconds
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ FreebaseLoadingDialog.prototype._load = function() {
|
|||||||
var freebase = self._elmts.freebase.attr("checked");
|
var freebase = self._elmts.freebase.attr("checked");
|
||||||
|
|
||||||
var get_peacock_url = function(url) {
|
var get_peacock_url = function(url) {
|
||||||
return "http://gridworks-loads.freebaseapps.com/load/" + url.split("/").slice(-1)[0];
|
return "http://refinery.freebaseapps.com/load/" + url.split("/").slice(-1)[0];
|
||||||
};
|
};
|
||||||
|
|
||||||
var doLoad = function() {
|
var doLoad = function() {
|
||||||
|
@ -370,7 +370,7 @@ MenuBar.handlers.browseToDataLoad = function() {
|
|||||||
if (data.value == null) {
|
if (data.value == null) {
|
||||||
alert("You have not tried to load the data in this project into Freebase yet.");
|
alert("You have not tried to load the data in this project into Freebase yet.");
|
||||||
} else {
|
} else {
|
||||||
$(form).attr("action", "http://gridworks-loads.freebaseapps.com/load/" + data.value);
|
$(form).attr("action", "http://refinery.freebaseapps.com/load/" + data.value);
|
||||||
form.submit();
|
form.submit();
|
||||||
w.focus();
|
w.focus();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user