-
Notifications
You must be signed in to change notification settings - Fork 652
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(retrofit2): replace retrofit client with retrofit2 client (#…
…1466) * refactor(retrofit2): upgrade KeelService retrofit API interface to retrofit2 * refactor(retrofit2): upgrade CDEventsSenderClient retrofit API interface to retrofit2 * refactor(retrofit2): upgrade BearychatService retrofit API interface to retrofit2 * refactor(retrofit2): upgrade JiraService retrofit API interface to retrofit2 * refactor(retrofit2): upgrade GoogleChatClient retrofit API interface to retrofit2 * refactor(retrofit2): upgrade GithubService retrofit API interface to retrofit2 * refactor(retrofit2): upgrade SlackClient retrofit API interface to retrofit2 * refactor(retrofit2): upgrade PagerDutyService retrofit API interface to retrofit2 * refactor(retrofit2): upgrade MicrosoftTeamsClient retrofit API interface to retrofit2 * refactor(retrofit2): upgrade TelemetryService retrofit API interface to retrofit2 * refactor(retrofit2): move Retrofit2TestConfig from echo-notification/src/test/.. to echo-test/src/main/.. so that other modules can utilize * refactor(retrofit2): upgrade RestService retrofit API interface to retrofit2 * refactor(retrofit2): upgrade TwilioService retrofit API interface to retrofit2 * refactor(retrofit2): upgrade OrcaService retrofit API interface to retrofit2 * refactor(retrofit2): upgrade IgorService retrofit API interface to retrofit2 * refactor(retrofit2): upgrade SlackHookService retrofit API interface to retrofit2 * refactor(retrofit2): upgrade SpinnakerService retrofit API interface to retrofit2 * refactor(retrofit2): upgrade Front50Service retrofit API interface to retrofit2 * refactor(retrofit2): Remove RetrofitError from JiraNotificationService * refactor(retrofit2): remove remaining references to retrofit1 * refactor(retrofit2): Convert Retrofit2TestConfig to java * refactor(retrofit2): move java classes from main/groovy/.. to main/java/.. in echo-notifications * refactor(retrofit2): replaced retrofit1's encode=false flag to retrofit2's encoded=true * refactor(retrofit2): addressed review comments
- Loading branch information
1 parent
469d50f
commit 6a0e784
Showing
120 changed files
with
1,635 additions
and
1,346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 12 additions & 28 deletions
40
echo-artifacts/src/main/java/com/netflix/spinnaker/echo/config/KeelConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
echo-artifacts/src/main/java/com/netflix/spinnaker/echo/services/KeelService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
package com.netflix.spinnaker.echo.services; | ||
|
||
import java.util.Map; | ||
import retrofit.http.Body; | ||
import retrofit.http.POST; | ||
import retrofit2.Call; | ||
import retrofit2.http.Body; | ||
import retrofit2.http.POST; | ||
|
||
public interface KeelService { | ||
@POST("/artifacts/events") | ||
Void sendArtifactEvent(@Body Map event); | ||
Call<Void> sendArtifactEvent(@Body Map event); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.