Skip to content

Commit

Permalink
chore: remove verificationStatus from the integrations response
Browse files Browse the repository at this point in the history
The field is meaningless (what use is the status of the 'latest' pact?) and it has a large performance impact.

PACT-1040
  • Loading branch information
bethesque committed Jun 7, 2023
1 parent 673dcac commit c61eccc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions lib/pact_broker/api/decorators/integration_decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ class IntegrationDecorator < BaseDecorator
property :name
end

property :verificationStatus, getter: ->(represented:, **) { represented.verification_status_for_latest_pact.to_s }

link "pb:dashboard" do | options |
{
title: "BETA: Pacts to show on the dashboard",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ module Decorators
"provider" => {
"name" => "the provider"
},
"verificationStatus" => "some_status",
"_links" => {
"pb:dashboard" => {
"href" => "/dashboard"
Expand Down

0 comments on commit c61eccc

Please sign in to comment.