Sha256: e6a818073ce9917ec4d727691ff1664d301b88af4cce3bcb423867a1d2fb98ad

Contents?: true

Size: 909 Bytes

Versions: 5

Compression:

Stored size: 909 Bytes

Contents

# encoding: UTF-8

# (c) Copyright 2014 Hewlett-Packard Development Company, L.P.
#
#    Licensed under the Apache License, Version 2.0 (the "License");
#    you may not use this file except in compliance with the License.
#    You may obtain a copy of the License at
#
#        http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS,
#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#    See the License for the specific language governing permissions and
#    limitations under the License.

# Functions for test-box
class ForjCoreProcess
  # This function configure the proxy metadata
  def proxy_metadata(hParams, metadata)
    return unless hParams.exist?('network#webproxy')

    metadata['webproxy'] = hParams['network#webproxy']
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
forj-1.0.18 lib/process/forj_core/process/proxy.rb
forj-1.0.17 lib/process/forj_core/process/proxy.rb
forj-1.0.16 lib/process/forj_core/process/proxy.rb
forj-1.0.15 lib/process/forj_core/process/proxy.rb
forj-1.0.14 lib/process/forj_core/process/proxy.rb