-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moving interfaces to the domain package
- Loading branch information
1 parent
30e2a91
commit 3da1640
Showing
6 changed files
with
18 additions
and
15 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
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
8 changes: 6 additions & 2 deletions
8
src/main/kotlin/net/leanix/vsm/gitlab/broker/webhook/domain/WebhookProvider.kt
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,4 +1,8 @@ | ||
package net.leanix.vsm.gitlab.broker.webhook.domain | ||
|
||
class WebhookProvider { | ||
} | ||
interface WebhookProvider { | ||
|
||
fun getAllWebhooks(): List<GitlabWebhook> | ||
fun deleteWebhook(webhookId: Int) | ||
fun createWebhook(): GitlabWebhook | ||
} |
5 changes: 3 additions & 2 deletions
5
src/main/kotlin/net/leanix/vsm/gitlab/broker/webhook/domain/WebhookService.kt
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,4 +1,5 @@ | ||
package net.leanix.vsm.gitlab.broker.webhook.domain | ||
|
||
class WebhookService { | ||
} | ||
interface WebhookService { | ||
fun registerWebhook(): GitlabWebhook | ||
} |
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