* 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 quick-actions-card component to ts
* updates dashboard quick-actions-card to use hds super select component
* removes searchField from params search
* fixes kvv2 workflow test
Co-authored-by: Jordan Reimer <zofskeez@gmail.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>
* removing flags
* small changes
* fixes
* move things back
* utilizing aftermodel w mods, testing aws
* fix ssh tests
* fixing aws and azure
* fix gcp
* fix test and flip kv
* fix kv2 tests
* adding model to fix tests
* updates and removals
* fix tests
* no showing empty state, redirect to plugin settings after config save
* test fixes
* update subtitle to include namepsace, fix test
* removing index, replacing with general settings, updates
* updates and fix tests
* more test fixes
* wif tests
* updates to nav tests
* update tests and cleanup configuration logic
* add todos
* fix remaining tests, add nav test to gcp
* test tweak
* address todos, test update
* Update ui/app/routes/vault/cluster/secrets/backend/configuration/plugin-settings.ts
* I love prettier so much
---------
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
Co-authored-by: Shannon Roberts (Beagin) <beagins@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>
* some change
* add console logs to debug rendering error
* add fallback in case billingStartTime does not exist
* remove console logs
* allow querying dates if there is no billing start timestamp
* add comments and test coverage
* add changelog
* remove extra divs, small copy changes
* remove extra line
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* UI: Render total monthly clients for HVD managed clusters and "new" for only self-managed (#10472)
* rename byMonthNewClients to byMonthClients
* render total vs new clients depending on cluster type
* fix mutation of original array order
* add changelog
* Apply suggestion from @hellobontempo
* Apply suggestion from @hellobontempo
* Apply suggestion from @hellobontempo
* add test coverage
* hide client list tab for HVD clusters
* add test coverage
* make copy changes
* apply copy updates from feedback sync
* skip hvd test on CE runs
* restart tests
---------
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
* the fix await the promose proxy and assign it to const to access
* add changelog
* add test coverage
* return comment
* remove uncessary await now that we await higher up
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>