This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Nov 09, 2021
-
-
Jeff Evans authored
Secrets
PR 5 - Translate secret connection-properties into existing types understood by frontend (#18236) * Translate secret connection-properties into existing types understood by frontend For all :type :secret properties, before returning over the wire (i.e. from `available-drivers-info`), translate the connection-property into one or more new client side properties, using the existing types, to encapsulate the behavior of that individual secret "unit". Depending on the :secret-kind and hosting environment, this could mean there are multiple additional properties injected (one for the file upload versus local path option field, one for the value itself on upload, and one for the file path) Adding utility function to do the reverse (i.e. translating those client side properties back to the server secret property definition) Adding tests for both (including updating secret-test-driver to cover all of these) Add support for the treat-before-posting connection property config * Fix bug in `delete-orphaned-secrets!`
-
- Nov 08, 2021
-
-
Jeff Evans authored
* Add backend support for keystore type secrets Adding code to handle keystore type secrets Adding test code to create and verify a keystore through the secret DB roundtrip Adding util fn to secret namespace for converting the value to file, and adding test for that
-
- Oct 21, 2021
-
-
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
-
- Jul 23, 2021
-
-
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:
Anton Kulyk <kuliks.anton@gmail.com>
-