Class: ConfigurationService::Test::StubOrchestrationProvider

Inherits:
OrchestrationProvider show all
Defined in:
lib/configuration_service/test/stub_orchestration_provider.rb

Overview

Test Orchestrator provider for testing the Stub service provider

Registered to the OrchestrationProviderRegistry as stub.

Constant Summary

Constants inherited from OrchestrationProvider

OrchestrationProvider::ACTIVITY_ROLE_MAP, OrchestrationProvider::ROLES

Instance Method Summary collapse

Methods inherited from OrchestrationProvider

#authorize, #deauthorize, #existing_configuration, #existing_revision, #fail_next_request, #given_existing_configuration, #given_invalid_configuration, #given_metadata, #given_missing_configuration, #initialize, #publish_configuration, #request_configuration

Constructor Details

This class inherits a constructor from ConfigurationService::Test::OrchestrationProvider

Instance Method Details

#service_provider_configurationObject

Return configuration for a Stub



23
24
25
# File 'lib/configuration_service/test/stub_orchestration_provider.rb', line 23

def service_provider_configuration # :doc:
  {name: "Stub configuration service provider"}
end

#service_provider_idObject



16
17
18
# File 'lib/configuration_service/test/stub_orchestration_provider.rb', line 16

def service_provider_id
  "stub"
end