Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(FM-7695) Transports - the remote content framework #157

Merged
merged 45 commits into from
Feb 26, 2019
Merged

(FM-7695) Transports - the remote content framework #157

merged 45 commits into from
Feb 26, 2019

Commits on Jan 16, 2019

  1. (FM-7597) RSAPI Transport register function

    da-ar authored and DavidS committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    7b0ab29 View commit details
    Browse the repository at this point in the history
  2. (FM-7600) RSAPI Transport connect method

    da-ar authored and DavidS committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    4a3e0bb View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2019

  1. (FM-7674) Add a Transport wrapper class

    Emulate a puppet Device-style class using a Resource API Transport. Can be
    used to provide backwards compatibility like this:
    
    ```
    require 'puppet/resource_api/transport/wrapper'
    # force registering the transport
    require 'puppet/transport/schema/panos'
    
    module Puppet::Util::NetworkDevice::Panos
      class Device < Puppet::ResourceApi::Transport::Wrapper
        def initialize(url_or_config, _options = {})
          puts url_or_config.inspect
          super('panos', url_or_config)
        end
      end
    end
    ```
    da-ar authored and DavidS committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    e7ef6ac View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2019

  1. Merge pull request #149 from da-ar/transport_wrapper

    (FM-7674) Add a Transport wrapper class
    da-ar committed Jan 21, 2019
    Configuration menu
    Copy the full SHA
    f776b57 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2019

  1. Configuration menu
    Copy the full SHA
    bc54be7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ecffcc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9d549c0 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2019

  1. Configuration menu
    Copy the full SHA
    76c6eeb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b6cbdcf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c7f3203 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c46f50b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9535fe3 View commit details
    Browse the repository at this point in the history
  6. (FM-7691) clean up wrapper to not expose or remember config

    Neither the Device API, nor the wrapper need access to the config,
    so we can immediately load the config, pass it on and never store it
    ourselves here.
    DavidS committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    f8282d2 View commit details
    Browse the repository at this point in the history
  7. (FM-7691) hide loading puppet_context from jruby

    the JRuby 1.7 only implements ruby language 1.9 which chokes on the logging named arguments. Hiding the require as shown here will avoid the file being loaded for the server-side tests.
    DavidS committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    f8fcf79 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fc4f585 View commit details
    Browse the repository at this point in the history
  9. (FM-7691) organise tests, and mark agent tests as such

    Loading a PuppetContext is not necessary on (the JRuby 1.7) puppet server, so stop trying to run the tests there.
    DavidS committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    5d89caf View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2019

  1. Configuration menu
    Copy the full SHA
    8aaedab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd3a21e View commit details
    Browse the repository at this point in the history
  3. (FM-7691) Add context parameter for test transport

    This find other places where we need to handle passing a context
    DavidS committed Jan 25, 2019
    Configuration menu
    Copy the full SHA
    ac037b2 View commit details
    Browse the repository at this point in the history
  4. (FM-7691) pass a context to transport.facts

    This uses the initial `list` implementation from the previous commit to access the schema
    to create a context to pass around.
    DavidS committed Jan 25, 2019
    Configuration menu
    Copy the full SHA
    e4e8cbe View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2019

  1. Merge pull request #150 from DavidS/FM-7691-context-refactor

    (FM-7691,FM-7696) refactoring definition handling in contexts
    da-ar committed Jan 28, 2019
    Configuration menu
    Copy the full SHA
    4211c46 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09fc856 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #151 from da-ar/env_up

    (FM-7690) Update transports cache to be grouped by environment
    DavidS committed Jan 28, 2019
    Configuration menu
    Copy the full SHA
    8e64a3d View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2019

  1. (FM-7726) implement context.transport to provide access

    Using this accessor providers can talk directly to the transport
    without having to go through the `Device` at all.
    DavidS committed Jan 29, 2019
    Configuration menu
    Copy the full SHA
    bd042cf View commit details
    Browse the repository at this point in the history
  2. Merge pull request #152 from DavidS/FM-7726-context-transport

    (FM-7726) implement `context.transport` to provide access
    da-ar committed Jan 29, 2019
    Configuration menu
    Copy the full SHA
    1341033 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2019

  1. Configuration menu
    Copy the full SHA
    4122f08 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a64276 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2019

  1. Merge pull request #153 from DavidS/FM-7726-context-transport

    (FM-7726) cleanups for the transport
    da-ar committed Feb 4, 2019
    Configuration menu
    Copy the full SHA
    92988d9 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2019

  1. Configuration menu
    Copy the full SHA
    f052a62 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3b32bc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    968a148 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2019

  1. Configuration menu
    Copy the full SHA
    203f633 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2019

  1. Merge pull request #154 from da-ar/transport_fixes

    Transport support for device specific providers
    da-ar committed Feb 7, 2019
    Configuration menu
    Copy the full SHA
    df0122e View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2019

  1. Configuration menu
    Copy the full SHA
    2330c30 View commit details
    Browse the repository at this point in the history
  2. Change behaviour of check_schema_keys to no longer remove unknown keys

    This commit prevents validation from changing resource and connection_info  hashes passed into RSAPI from removing keys that are not in their schema.
    da-ar committed Feb 14, 2019
    Configuration menu
    Copy the full SHA
    9baf1c8 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #155 from da-ar/transport_to_device

    (PDK-1271) Allow a transport to be wrapped and used like a device
    DavidS committed Feb 14, 2019
    Configuration menu
    Copy the full SHA
    8039157 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2019

  1. Configuration menu
    Copy the full SHA
    1f9ede5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2916e59 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    88c6365 View commit details
    Browse the repository at this point in the history
  4. (maint) remove invalid comment

    da-ar committed Feb 21, 2019
    Configuration menu
    Copy the full SHA
    19f9139 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7466c20 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2019

  1. (PDK-7698) Wrap raw values flagged as sensitive in Puppet Sensitive type

    Before passing the connection_info to the transport, wrap them in a PSensitiveType to prevent unexpected leaking of data.
    da-ar authored and DavidS committed Feb 25, 2019
    Configuration menu
    Copy the full SHA
    d3e2e0b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75aae39 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    95d65c0 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #156 from da-ar/recursive_sensitive

    (FM-7698) Ensure that sensitive values are handled correctly
    DavidS committed Feb 25, 2019
    Configuration menu
    Copy the full SHA
    1647088 View commit details
    Browse the repository at this point in the history