All Downloads are FREE. Search and download functionalities are using the official Maven repository.

au.com.dius.pact.provider.maven.PactBroker.kt Maven / Gradle / Ivy

package au.com.dius.pact.provider.maven

import java.net.URL

/**
 * Bean to configure a pact broker to query
 */
data class PactBroker @JvmOverloads constructor(
  val url: URL? = null,
  val tags: List? = emptyList(),
  val authentication: PactBrokerAuth? = null,
  val serverId: String? = null
)

/**
 * Authentication for the pact broker, defaulting to Basic Authentication
 */
data class PactBrokerAuth @JvmOverloads constructor (
  val scheme: String? = "basic",
  val token: String? = null,
  val username: String? = null,
  val password: String? = null
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy