Sha256: ed0b564c101e3dcb384524df859ec0160065101dc28110b372204407139b63d9

Contents?: true

Size: 1.83 KB

Versions: 20

Compression:

Stored size: 1.83 KB

Contents

require "pact_broker/webhooks/execution"
require "pact_broker/webhooks/triggered_webhook"
require "pact_broker/webhooks/webhook"
require "pact_broker/pacts/latest_pact_publication_id_for_consumer_version"
require "pact_broker/verifications/latest_verification_id_for_pact_version_and_provider_version"
require "pact_broker/integrations/integration"
require "pact_broker/pacts/pact_publication"
require "pact_broker/pacts/pact_version"
require "pact_broker/domain/verification"
require "pact_broker/domain/tag"
require "pact_broker/domain/version"
require "pact_broker/domain/label"
require "pact_broker/domain/pacticipant"
require "pact_broker/deployments/environment"
require "pact_broker/deployments/deployed_version"
require "pact_broker/deployments/released_version"
require "pact_broker/matrix/row"
require "pact_broker/matrix/head_row"
require "pact_broker/versions/branch"
require "pact_broker/versions/branch_version"
require "pact_broker/versions/branch_head"

module PactBroker
  INTEGRATIONS_TABLES = [
    PactBroker::Webhooks::Execution,
    PactBroker::Webhooks::TriggeredWebhook,
    PactBroker::Webhooks::Webhook,
    PactBroker::Pacts::LatestPactPublicationIdForConsumerVersion,
    PactBroker::Verifications::LatestVerificationIdForPactVersionAndProviderVersion,
    PactBroker::Domain::Verification,
    PactBroker::Pacts::PactPublication,
    PactBroker::Pacts::PactVersion,
    PactBroker::Domain::Tag,
    PactBroker::Deployments::DeployedVersion,
    PactBroker::Deployments::ReleasedVersion,
    PactBroker::Versions::BranchHead,
    PactBroker::Versions::BranchVersion,
    PactBroker::Versions::Branch,
    PactBroker::Domain::Version,
    PactBroker::Domain::Label,
    PactBroker::Domain::Pacticipant
  ]

  module DB
    def self.each_integration_model
      INTEGRATIONS_TABLES.each do | model |
        yield model
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
pact_broker-2.96.0 lib/pact_broker/db/models.rb
pact_broker-2.95.1 lib/pact_broker/db/models.rb
pact_broker-2.95.0 lib/pact_broker/db/models.rb
pact_broker-2.94.0 lib/pact_broker/db/models.rb
pact_broker-2.93.4 lib/pact_broker/db/models.rb
pact_broker-2.93.3 lib/pact_broker/db/models.rb
pact_broker-2.93.2 lib/pact_broker/db/models.rb
pact_broker-2.93.1 lib/pact_broker/db/models.rb
pact_broker-2.93.0 lib/pact_broker/db/models.rb
pact_broker-2.92.0 lib/pact_broker/db/models.rb
pact_broker-2.91.0 lib/pact_broker/db/models.rb
pact_broker-2.90.0 lib/pact_broker/db/models.rb
pact_broker-2.89.1 lib/pact_broker/db/models.rb
pact_broker-2.89.0 lib/pact_broker/db/models.rb
pact_broker-2.88.0 lib/pact_broker/db/models.rb
pact_broker-2.87.0 lib/pact_broker/db/models.rb
pact_broker-2.86.0 lib/pact_broker/db/models.rb
pact_broker-2.85.1 lib/pact_broker/db/models.rb
pact_broker-2.85.0 lib/pact_broker/db/models.rb
pact_broker-2.84.0 lib/pact_broker/db/models.rb