Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
reverted to localhost urls
Browse files Browse the repository at this point in the history
  • Loading branch information
royclarkson committed May 26, 2011
1 parent 0724b6c commit ad11e16
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Expand Up @@ -79,6 +79,6 @@ public String getPictureUrl() {
* @return The URL of the user's profile.
*/
public String getProfileUrl() {
return "https://greenhouse.springsource.org/members/" + accountId;
return "http://10.0.2.2:8080/greenhouse/members/" + accountId;
}
}
Expand Up @@ -59,8 +59,7 @@ protected URI buildUri(String path, MultiValueMap<String, String> parameters) {
return uri;
}

// private static final String API_URL_BASE = "http://10.0.2.2:8080/greenhouse/";
private static final String API_URL_BASE = "https://greenhouse.springsource.org/";
private static final String API_URL_BASE = "http://10.0.2.2:8080/greenhouse/";

private static final LinkedMultiValueMap<String, String> EMPTY_PARAMETERS = new LinkedMultiValueMap<String, String>();
}
Expand Up @@ -29,9 +29,9 @@ public class GreenhouseServiceProvider extends AbstractOAuth1ServiceProvider<Gre

public GreenhouseServiceProvider(String consumerKey, String consumerSecret) {
super(consumerKey, consumerSecret, new OAuth1Template(consumerKey, consumerSecret,
"https://greenhouse.springsource.org/oauth/request_token",
"https://greenhouse.springsource.org/oauth/confirm_access",
"https://greenhouse.springsource.org/oauth/access_token"));
"http://10.0.2.2:8080/greenhouse/oauth/request_token",
"http://10.0.2.2:8080/greenhouse/oauth/confirm_access",
"http://10.0.2.2:8080/greenhouse/oauth/access_token"));
}

public GreenhouseApi getApi(String accessToken, String secret) {
Expand Down

0 comments on commit ad11e16

Please sign in to comment.