* separate header comp
* replacing header
* redirect to general settings
* moving kv configure under plugin settings
* add exit button
* removing all use of old header with new, updated logic
* reuse secretPath, add button to badge
* test updates pt1
* test updates pt2, refactors
* test fixes
* testing
* removing extendedConfig
* put tabs out of header
* adding new config edit page & updates
* adding page test
* pr comments
* replace type with effectiveType
* test fixes
* adding badges, cleanup test
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* [VAULT-33083] UI: support builtin plugins as external plugins
* address copilot review comments
* add changelog
* remove unused id property
* address some nits & add test coverage
* should use utils instead of mixins
* update comments
* move/consolidate logic for 'transform' engine type into ENGINE_TYPE_TO_MODEL_TYPE_MAP, added/updated test coverage
* cleanup: extract transform engine model type logic into helper functions
* address pr comment
* separation of concerns - move relevant vars/fns from all engines metadata to external plugin helpers & secret engine model helpers files
* add TODO; remove unnecessary exports
* rename secret-engine-model-helpers to secret-engine-helpers
* update unknown engine metadata from var to fn to handle a methodType param
* remove unnecessary test
* update changelog; return methodType for unknown engine metadata, simplify code for readability
* add optional chaining for fail-safe
* address kvv1 edge case - on exit configuration, kvv1 should redirect to list-root while kvv2 should redirect to the engineRoute defined in all-engines-metadata
* add ibm header
* fix test failure after updating unknown engine type
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
* converts kubernetes overview page component to ts
* converts kubernetes role index controller to ts
* updates kubernetes overview to use api service
* removes store service from kubernetes engine
* removes kubernetes models, adapters and serializers
* removes unused types
* updates removed type references
* removes fetch-secrets-config decorator
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* enables typescript in kubernetes engine
* adds api service to kubernetes engine
* removes mounts handler from kubernetes mirage handler
* adds kubernetes application route to handle withConfig decorator check
* updates usage of application model in kubernetes engine
* updates kubernetes configuration route to use api service fetched config
* adds kubernetes config form class
* updates error route backend references to secretsEngine
* updates kubernetes configure workflow to use api service and form class
* fixes tests
* converts kubernetes index route to ts
* adds capabilities service to kubernetes engine
* updates kubernetes roles view to use api service
* converts kubernetes role details component to ts
* updates kubernetes role details route to use api service
* reverts kubernetes mirage handler change
* converts kubernetes role index route to ts
* updates kubernetes generate credentials workflow to use api service
* converts kubernetes role edit and create routes to ts
* converts kubernetes create-and-edit component to ts
* adds form class for kubernetes role
* updates kubernetes create and edit routes to use api service and form class
* fixes tests
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* enables typescript in kubernetes engine
* adds api service to kubernetes engine
* removes mounts handler from kubernetes mirage handler
* adds kubernetes application route to handle withConfig decorator check
* updates usage of application model in kubernetes engine
* updates kubernetes configuration route to use api service fetched config
* adds kubernetes config form class
* updates error route backend references to secretsEngine
* updates kubernetes configure workflow to use api service and form class
* fixes tests
* reverts kubernetes mirage handler change
* updates type for inferredState in kubernetes config page component
* removes commented out form field in kubernetes config form
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* replace Hds::Reveal with Hds::Accordion
* adjust spacing to render in Hds::Form component
* fix spacing in policy-example
* cleanup form-section class usage
* implement visual builder in create policy form
* hide visual editor in search select modal
* use general selectors, alphabetize form/field selectors
* update test coverage to check for visual policy editor
* reorganzie tests by module
* add saving functionality for visual editor
* refactor event handling methods
* refactor component so parent manages stanzas
* move snippets to automation-snippets tab component
* polish up policy diff modal
* refactor arg to be isCompact
* update test coverage and export new component
* rearrange methods to make diff easier
* small cleanup, abc vars and remove unneeded change
* add lanuage and update test coverage
* update comment
* fix form hierarchy
* fix modal spacing;
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* removes withConfig decorator and moves check to application route
* updates backendModel references in ldap engine to secretsEngine
* adds ldap config form class
* updates ldap config type in application route
* updates ldap configure and configuration routes to use api service
* adds capabilities service to ldap engine
* updates ldap mirage handler and scenario
* adds ldap capabilities constants and helper for fetching capabilities for roles
* updates ldap roles view to use api service
* updates ldap role details view to use api service
* updates ldap role create/edit views to use api service and form classes
* updates ldap role subdirectory view to use api service
* updates ldap role credentials view to use api service
* updates ldap libraries list views to use api service
* updates ldap library details view to use api service
* updates ldap library details accounts view to use api service
* updates ldap library details accounts check out view to use api service
* updates ldap library details configuration view to use api service
* updates ldap library create/edit workflows to use api service and form class
* fixes lint errors
* updates ldap overview to use api service
* updates ldap overview tests
* removes store and pagination services from ldap engine
* removes ldap related ember data files
* updates path_to_library var casing
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* removes withConfig decorator and moves check to application route
* updates backendModel references in ldap engine to secretsEngine
* adds ldap config form class
* updates ldap config type in application route
* updates ldap configure and configuration routes to use api service
* adds capabilities service to ldap engine
* updates ldap mirage handler and scenario
* adds ldap capabilities constants and helper for fetching capabilities for roles
* updates ldap roles view to use api service
* updates ldap role details view to use api service
* updates ldap role create/edit views to use api service and form classes
* updates ldap role subdirectory view to use api service
* updates ldap role credentials view to use api service
* updates ldap libraries list views to use api service
* updates ldap library details view to use api service
* updates ldap library details accounts view to use api service
* updates ldap library details accounts check out view to use api service
* updates ldap library details configuration view to use api service
* updates ldap library create/edit workflows to use api service and form class
* fixes lint errors
* removes errant log
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* removes withConfig decorator and moves check to application route
* updates backendModel references in ldap engine to secretsEngine
* adds ldap config form class
* updates ldap config type in application route
* updates ldap configure and configuration routes to use api service
* adds capabilities service to ldap engine
* updates ldap mirage handler and scenario
* adds ldap capabilities constants and helper for fetching capabilities for roles
* updates ldap roles view to use api service
* updates ldap role details view to use api service
* updates ldap role create/edit views to use api service and form classes
* updates ldap role subdirectory view to use api service
* updates ldap role credentials view to use api service
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* removes withConfig decorator and moves check to application route
* updates backendModel references in ldap engine to secretsEngine
* adds ldap config form class
* updates ldap config type in application route
* updates ldap configure and configuration routes to use api service
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* removes store query from pki config route
* updates pki overview route to use api service
* removes remaining references to store in pki tests
* removes unused store service injections in pki components
* removes store dependency from pki engine
* removes ember data related unit tests for pki
* removes pki ember data models, adapters and serializers
* removes unused pagination service injections in config-ui, kv, pki and sync engines
* removes unused store service injections from pki engine
* updates dashboard quick-actions-card component to fetch options using api service
* removes path-help test using pki model
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* clarify warning message for scenarios where a comma is intentional
* add test
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* updates pki tidy auto route to use api service
* updates pki tidy status view to use api service
* updates pki tidy auto and manual workflows to use api service and form class
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* removes unused model hook from issuer import route
* updates pki roles route to use api service
* updates pki role details route to use api service
* removes Ember Data Model support from pki-not-valid-after-form component
* updates pki role generate and sign workflows to use certificate form and api service
* adds pki certificate form
* updates pki certificates routes to use api service
* adds pki role form
* removes Ember Data Model support from pki-key-parameters component
* removes Ember Data Model support from pki-key-usage component
* updates pki role create and edit views to use api service and form class
* fixes tests
* fixes a11y violations
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* remove request for ldap config;
* simplify tabs to accept routes as args
* reuse tabs in ember engines
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* add breadcrumbs to secret recovery pages
* Add breadcrumbs to auth method and mfa pages
* add breadcrumbs for oidc provider pages and fix breadcrumbs comp not checking current param
* remove todo
* update test
* tidy
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* updates issuers list route to use api service
* updates issuer details route to use api service
* updates issuer edit route to use api service
* updates issuer cross sign route to use api service
* updates issuer sign intermediate route to use api service
* updates rotate root route to use api service
* fixes a11y violation in pki-issuer-edit component
* updates pki keys list view to api service
* updates pki key details view to api service
* updates pki key import view to api service
* updates pki key create/edit views to api service
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* updates issuers list route to use api service
* updates issuer details route to use api service
* updates issuer edit route to use api service
* updates issuer cross sign route to use api service
* updates issuer sign intermediate route to use api service
* updates rotate root route to use api service
* fixes a11y violation in pki-issuer-edit component
* updates subject_serial_number to serial_number for pki
* [UI] Ember Data Migration - PKI Config Setup (#10320)
* adds api and capabilities services to pki engine
* updates eslintrc to ignore rest siblings for no-unused-vars rule
* adds ember-template-lint to pki engine
* updates check-issuers decorator to use api service
* adds constants for pki capabilities paths
* updates pki configuration route to use api service and fetch capabilities
* [UI] Ember Data Migration - PKI Config Generate Form (#10322)
* updates form class data object to tracked
* adds isNot validator
* updates tsconfig to resolve json modules
* updates open-api form class to use the spec file rather than help response for form field/group generation
* adds pki config generate form
* [UI] Ember Data Migration - PKI Config Create (#10331)
* updates pki configure create route and component
* updates pki generate csr component to use api service and form class
* updates pki generate root component to use api service and form class
* updates pki import bundle component to use api service
* [UI] Ember Data Migration - PKI Config Generate Sub Components (#10332)
* updates pki generate toggle groups component to support form class
* updates pki key parameters component to support form class
* updates pki generate immediate component based on csr component changes
* updates pki generate root component based on root component changes
* more pki config sub component updates
* updates pki issuer rotate root component to use api serivce and form
* updates pki acceptance tests (#10341)
* [UI] Ember Data Migration - PKI Configuration Edit (#10339)
* adds forms for pki config acme, cluster, crl and urls
* updates pki config edit worflow to use api service and forms
* updates pki config details workflow to use api service (#10340)
* updates auth configure section route to pass schema key to OpenApiForm constructor
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* fix LIST request for metadata endpoint
* add test coverage
* update kv suggestion input compoent
* update comment, add another test for kv suggestion input
* fix typo in web REPL for metadata flag, add test
* update from curly to angle bracket syntax
* sanitize url in api service VAULT-40414
* add fallback return for no url to removeDuplicateSlashes method
* move sanitization directly to middleware
* remove sanitization for kv list requests
* strip requests of trailing slash
* revert changes to api pre request middleware
* update vault-client-typescript
* add changelog
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* Set up dynamic page header component and update secret engine header
* Add copyright headers
* Remvoe unsused tab for now
* Add page header test
* Remove component test since we deleted component
* Address feedback..
* Add deprecation comment
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* update jsondiffpatch dep + use webpack to convert into UMD format
* do not lint vendor files
* update test
* lint fix
* fix merge conflict error
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* replace instances of ToolTip component with HDS tooltip
* Replace InfoTooltip component instances with HDS tooltip
* update tests
* remove remaining custom tooltip code
* remove rich tooltip with copy
* update test and update toolbar link with styling to remove extra link
* Apply suggestions from code review
* update test and remove setRunOptions now that tooltip violations are addressed
* Revert "Apply suggestions from code review"
This reverts commit 90f01c653be68f23b6dbd75f252d227e38dbe53f.
* Remove unused disabled tooltip code
* add comment and TODO explaining conditional modifier pattern
---------
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* license: update headers to IBM Corp.
* `make proto`
* update offset because source file changed
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
* add parallel command
* declare vault-keys module for test helpers
* use mirage to make dropdown check more reliably
* wait for inputs
* attempt to stabilize dashboard tests in parallel
* revert wait for inputs
* move problem acceptance tests to integration tests
* move more tests to integration
* remove assert.expect() because there are no callback assertions
* delete redundant acceptance tests
* cleanup login state in afterEach hook
* use mirage for login settings test
* update other test based on mirage handler changes
* throw some waitFor in there
* revert waitFor
* use mirage in shared-identity-test
* remove storage cleanup from this pr
* remove parallel..again
* remove unnecessary auth login changes
* add version to dashboard/overview test "it shows the learn more card on enterprise"
* convert "version 2 with no update to config endpoint still allows mount of secret engine" to integration test
* restart tests
* Apply suggestion from @hellobontempo
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* sample setup with table & pagination
* adding selected, hooking actions
* no side border
* adding multi disable
* updates to placement, test labels
* updates for pagination, design change on filter
* update test
* update test selectors
* straggler test
* more test fixes
* minor fixes
* change back
* refactor components
* fixing tests, pls be the end
* some cleanup, adding comments
* adding cleanup for these tests
* added changelog
* modernize test and pray
* last try
* updates
* updates and I love tests, pt1
* i love tests pt2
* minor fix
* update card
* update card test
* pr comments
* updating disable tasks, test fix
* fix test
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* adds error handling for control groups to api service as post request middleware
* updates kv list route to use api service
* updates kv config route to use api service
* updates kv secrets overview route to use api service
* updates kv secret details route to use api service
* adds kv form
* updates kv metadata details route to use api service
* updates kv paths and version history routes to use api service
* refactors kv-data-fields component to form component
* updates kv secret create route to use api service
* updates kv secret edit route to use api service
* updates kv metadata edit route to use api service
* adds waitFor to async middleware in api service to attempt to fix race conditions in tests
* adds kvMetadata path to capabilities path map
* fixes kv list item delete test selector
* removes kv models, adapters and serializers
* removes store from kv addon
* removes ember data related test helpers from kv-run-commands
* updates comments that referred to kv ember data models
* updates kv-page-header tests
* updates model-form-fields test to use totp-key model rather than kv/data
* removes another reference to kv/data model from path-help test
* fixes kv v2 workflow create tests
* fixes issue returning metadata for secret when latest version is deleted
* decodes uri in path returned by api service parseError method
* fixes kv v2 edge cases tests
* fixes issue deleteing control group token in api service
* decodes url for control group token lookup in api service
* fixes version history linked block link
* defaults cas to 0 when creating new secret
* removes log
* adds ember-template-lint to kv engine
* more test fixes
* updates kv-suggestion-input component to use api service
* removes kv metadata model reference from quick actions card
* fixes sync destination sync secrets tests
* updates kv helpers from classic format
* updates kv helpers imports
* reverts to use secret.version in details edit route
* fixes isDeleted import in kv version history test
* adds waitFor to api service parseError method
* reverts removing async from addQueryParams api method
* attempts to fix test flakiness requesting custom metadata from data endpoint
* more tweaks to requesting metadata from data
* adds waitFor to requestData method
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* adds error handling for control groups to api service as post request middleware
* updates kv list route to use api service
* updates kv config route to use api service
* updates kv secrets overview route to use api service
* updates kv secret details route to use api service
* adds kv form
* updates kv metadata details route to use api service
* updates kv paths and version history routes to use api service
* refactors kv-data-fields component to form component
* updates kv secret create route to use api service
* updates kv secret edit route to use api service
* updates kv metadata edit route to use api service
* adds waitFor to async middleware in api service to attempt to fix race conditions in tests
* adds kvMetadata path to capabilities path map
* fixes kv list item delete test selector
* fixes kv v2 workflow create tests
* fixes issue returning metadata for secret when latest version is deleted
* decodes uri in path returned by api service parseError method
* fixes kv v2 edge cases tests
* fixes issue deleteing control group token in api service
* decodes url for control group token lookup in api service
* fixes version history linked block link
* defaults cas to 0 when creating new secret
* removes log
* adds ember-template-lint to kv engine
* more test fixes
* updates kv helpers from classic format
* updates kv helpers imports
* reverts to use secret.version in details edit route
* fixes isDeleted import in kv version history test
* adds waitFor to api service parseError method
* reverts removing async from addQueryParams api method
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>