
org.octopusden.octopus.dms.webhook.WebhookFeignClient.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dms-service Show documentation
Show all versions of dms-service Show documentation
Octopus module: dms-service
package org.octopusden.octopus.dms.webhook
import org.octopusden.octopus.dms.event.Event
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
import org.springframework.cloud.openfeign.FeignClient
import org.springframework.web.bind.annotation.PostMapping
@ConditionalOnProperty(prefix = "dms-service.webhook", name = ["enabled"], havingValue = "true", matchIfMissing = true)
@FeignClient("webhook", url = "\${dms-service.webhook.url}")
interface WebhookFeignClient {
@PostMapping
fun post(event: Event)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy