File tree Expand file tree Collapse file tree 4 files changed +90
-68
lines changed Expand file tree Collapse file tree 4 files changed +90
-68
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import "google/protobuf/wrappers.proto";
8
8
import "artifact/artifacts.proto" ;
9
9
import "ci/gcb.proto" ;
10
10
import "notification/github_status.proto" ;
11
+ import "notification/microsoft_teams.proto" ;
11
12
import "notification/slack.proto" ;
12
13
import "notification/twilio.proto" ;
13
14
import "pubsub/pubsub.proto" ;
@@ -25,6 +26,8 @@ message Echo {
25
26
Stats stats = 7 ;
26
27
Scheduler scheduler = 8 ;
27
28
29
+ notification.MicrosoftTeams microsoftteams = 9 ;
30
+
28
31
// Echo scheduler configuration.
29
32
message Scheduler {
30
33
Original file line number Diff line number Diff line change @@ -3813,6 +3813,7 @@ Configuration for the echo microservice.
3813
3813
| gcb | [ proto.ci.GoogleCloudBuild] ( #proto.ci.GoogleCloudBuild ) | | |
3814
3814
| stats | [ Echo.Stats] ( #proto.config.Echo.Stats ) | | |
3815
3815
| scheduler | [ Echo.Scheduler] ( #proto.config.Echo.Scheduler ) | | |
3816
+ | microsoftteams | [ proto.notification.MicrosoftTeams] ( #proto.notification.MicrosoftTeams ) | | |
3816
3817
3817
3818
3818
3819
Original file line number Diff line number Diff line change @@ -25,14 +25,15 @@ import (
25
25
// HalToEcho generates the echo config for the supplied config.Hal h.
26
26
func HalToEcho (h * config.Hal ) * config.Echo {
27
27
return & config.Echo {
28
- Slack : h .GetNotifications ().GetSlack (),
29
- Twilio : h .GetNotifications ().GetTwilio (),
30
- GithubStatus : h .GetNotifications ().GetGithubStatus (),
31
- Artifacts : h .GetArtifacts (),
32
- Pubsub : h .GetPubsub (),
33
- Gcb : h .GetCi ().GetGcb (),
34
- Stats : getEchoStats (h ),
35
- Scheduler : getEchoScheduler (h ),
28
+ Slack : h .GetNotifications ().GetSlack (),
29
+ Twilio : h .GetNotifications ().GetTwilio (),
30
+ GithubStatus : h .GetNotifications ().GetGithubStatus (),
31
+ Artifacts : h .GetArtifacts (),
32
+ Pubsub : h .GetPubsub (),
33
+ Gcb : h .GetCi ().GetGcb (),
34
+ Stats : getEchoStats (h ),
35
+ Scheduler : getEchoScheduler (h ),
36
+ Microsoftteams : h .GetNotifications ().GetMicrosoftteams (),
36
37
}
37
38
}
38
39
You can’t perform that action at this time.
0 commit comments