Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Oct 21, 2021
    • Jeff Evans's avatar
      Secrets :closed_lock_with_key: PR 3 - Integrate secret handling with db-details (#17677) · 497f433d
      Jeff Evans authored
      Integrate secret handling with db-details
      
      Add helper function to database model namespace to "swap out" secret values with inserted IDs
      
      Calling this from the pre-update fn
      
      Add pre-insert fn for database model to perform the same
      
      Adding test to database model test ns
      
      Add creator_id to secret model to capture the user who created this secret instance/version
      
      Add creator-id and created-at sub properties for each secret in db details
      Unverified
      497f433d
  2. Jul 23, 2021
    • Jeff Evans's avatar
      Add support for driver deprecation (#17028) · 3ddcb263
      Jeff Evans authored
      
      # Backend changes
      
      Introducing new `superseded-by` property to plugin manifest YAML, which will indicate the driver that is to eventually replace this one (and will drive UI/UX behavior).  If a driver declares this property, then it's considered to be deprecated in favor of the specified one.
      
      Adding top level `test_modules` directory (with the same structure as modules) for the sole purpose of module/plugin testing of YAML files, which will not be included with the driver build
      
      Updating `driver-plugin-manifest` to look for the new `test_modules` directory in addition to `modules`, when loading the driver manifest
      
      # Frontend changes
      
      Calculate `supersededBy` and supersedes maps from the "superseded-by" property for each engine
      
      Change the options for the engine field to use a function to dynamically show the legacy driver if allowed by rules (either the new driver is selected, or the legacy driver was already selected for an existing DB, or the driver is not superseded by anything)
      
      Add new `DriverWarning` component to show these warnings based on supersede status
      
      Co-authored-by: default avatarAnton Kulyk <kuliks.anton@gmail.com>
      Unverified
      3ddcb263
Loading