lib/pact_broker/locale/en.yml in pact_broker-2.34.0 vs lib/pact_broker/locale/en.yml in pact_broker-2.35.0
- old
+ new
@@ -11,9 +11,25 @@
pacticipant_exists?: "does not match an existing pacticipant"
pact_broker:
messages:
response_body_hidden: For security purposes, the response details are not logged. To enable response logging, configure the webhook_host_whitelist property. See /doc/webhooks#whitelist for more information.
+ webhooks:
+ parameters:
+ pactbroker:
+ consumerName: the consumer name
+ providerName: the provider name
+ consumerVersionNumber: the version number of the most recent consumer version associated with the pact content.
+ providerVersionNumber: the provider version number for the verification result
+ consumerVersionTags: the list of tag names for the most recent consumer version associated with the pact content, separated by ", "
+ providerVersionTags: the list of tag names for the provider version associated with the verification result, separated by ", ".
+ consumerLabels: the list of labels for the consumer associated with the pact content, separated by ", ".
+ providerLabels: the list of labels for the provider associated with the pact content, separated by ", ".
+ pactUrl: the "permalink" URL to the newly published pact (the URL specifying the consumer version URL, rather than the "/latest" format.
+ verificationResultUrl: the URL to the relevant verification result.
+ githubVerificationStatus: the verification status using the correct keywords for posting to the Github commit status API. See https://developer.github.com/v3/repos/statuses.
+ bitbucketVerificationStatus: the verification status using the correct keywords for posting to the Bitbucket commit status API. See https://developer.atlassian.com/server/bitbucket/how-tos/updating-build-status-for-commits/.
+
errors:
validation:
blank: "cannot be blank."
attribute_missing: "Missing required attribute '%{attribute}'"
invalid_http_method: "Invalid HTTP method '%{method}'"