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

Commit

Permalink
fixed various issues per @anurse
Browse files Browse the repository at this point in the history
  • Loading branch information
bradygaster committed Nov 1, 2018
1 parent 92a54f6 commit 5e5111a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion PullRequestR/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation group: 'com.microsoft.signalr', name: 'signalr', version: '1.0.0-preview4-t000'
implementation 'com.microsoft.signalr:signalr:1.0.0-preview3-35501'
implementation 'io.reactivex.rxjava2:rxjava:2.2.2'
implementation group: 'org.slf4j', name: 'slf4j-android', version: '1.7.7'
implementation 'com.squareup.picasso:picasso:2.71828'
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

// This URL does NOT need to be suffixed with the "negotiate" endpoint,
// the /api endpoint is correct.
String url = "https://YOUR-FUNCTION-URI.azurewebsites.net/api";
PullRequestAdapter adapter = new PullRequestAdapter(this, pullRequests);
ListView lvItems = (ListView)findViewById(R.id.lvPullRequestList);
Expand Down
3 changes: 0 additions & 3 deletions PullRequestR/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ allprojects {
repositories {
google()
jcenter()
maven {
url 'https://www.myget.org/F/ping-verify/maven/'
}
}
}

Expand Down
3 changes: 3 additions & 0 deletions PullRequestR/function-dotnet/Negotiate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@

namespace Company.Function
{
// The class AND the value of the FunctionName parameter must
// both be set to "negotiate" as the SignalR client expects
// to call this specific endpoint.
public static class negotiate
{
[FunctionName("negotiate")]
Expand Down

0 comments on commit 5e5111a

Please sign in to comment.