Sha256: e63150a34a9e2d3c35e1ef3091f55cf6476d63c23b6ab2afb1cec82feb6486e5

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

module ThreeScaleToolbox
  module Commands
    module ServiceCommand
      module CopyCommand
        class CopyServiceProxyTask
          include Task

          def call
            target.update_proxy source.proxy
            target.update_oidc source.oidc if source.attrs['backend_version'] == 'oidc'
            puts "updated proxy of #{target.id} to match the original"
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
3scale_toolbox-0.16.0 lib/3scale_toolbox/commands/service_command/copy_command/copy_service_proxy_task.rb