Class PactBrokerOptions

    • Constructor Detail

      • PactBrokerOptions

        PactBrokerOptions(Boolean enablePending, List<String> providerTags)
      • PactBrokerOptions

        PactBrokerOptions(Boolean enablePending)
      • PactBrokerOptions

        PactBrokerOptions()
    • Method Detail

      • getEnablePending

         final Boolean getEnablePending()

        Enable pending pacts. See https://docs.pact.io/pact_broker/advanced_topics/pending_pacts

      • getProviderTags

         final List<String> getProviderTags()

        Provider tags. Either this or providerBranch if pending pacts are enabled

      • getProviderBranch

         final String getProviderBranch()

        Provider branch. Either this or providerTags if pending pacts are enabled

      • getIncludeWipPactsSince

         final String getIncludeWipPactsSince()

        Only include WIP pacts since the provided date. Dates need to be in ISO format (YYYY-MM-DD). See https://docs.pact.io/pact_broker/advanced_topics/wip_pacts/

      • getInsecureTLS

         final Boolean getInsecureTLS()

        If we should enable insecure TLS. This will disable certificate hostname checks and accept all certificates.

      • getAuth

         final Auth getAuth()

        Authentication for the pact broker

      • parseAuthSettings

         final static Auth parseAuthSettings(Map<String, Object> options)

        Parse the authentication options provided from the build tools. These must be under an 'authentication' key and must be either an instance of au.com.dius.pact.core.support.Auth or must be a list of strings, where the first item is the scheme.