* make router-lookup helper
* add policyPaths arg to flyout and update route cache to map
* update kv flyouts and test coverage
* round out test coverage, rename method from get to lookup
* alphabetize PATH_MAP
* support other change events for inputSearch to allow copy/pasting items
* update overview requests and improve ux for limited permissions
* request each key permissions
* add flyout to pki page header
* update changelog
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* make router-lookup helper
* add policyPaths arg to flyout and update route cache to map
* update kv flyouts and test coverage
* round out test coverage, rename method from get to lookup
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* improve dismissal logic, use AutomationSnippet component, use wizard service for tracking dismissal
* use class helper to check for multiple nodes when rendering tree chart, add test coverage
* update comments
* add modal for namespace intro and improve reusability
* style updates and general reusability updates
* make intro pages more generic and rename welcome to intro
* update tests
* update styles, use service to track intro visibility, rename components
* Update arg docs
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* WIP
* WIP...
* Update page headers and move logic back
* remove unused stuff
* Fix failing tests
* Use hasNavPermission
* Update raft storage locatin and add namespace link on top
* Update access sidebar link to Access control
* Update order of API_PATHS
* Remove namespace link
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* [VAULT-33083] support mount external engine
* add "Plugin type" and "Plugin version" fields to the enable mount page
* add changelog
* address copilot review comments
* address PR comments, code cleanup
* fix test failures
* Add support for external plugins registered without a plugin version
* external plugin should be enabled for enterprise only, plugin version should be mandatory for external plugins
* fix tests
* address copilot feedback
* fix failing tests, add unit test coverage
* address PR comments
* address PR comments
* remove dead code
* move no external versions alert
* Only show un-versioned plugin message if there are un-versioned plugins in the catalog.
* address PR comments
* use ApiService instead of custom PluginPinsService; fix failing tests
* revert changes to forms/mount.ts and forms/auth/method.ts
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
* improve dismissal logic, use AutomationSnippet component, use wizard service for tracking dismissal
* use class helper to check for multiple nodes when rendering tree chart, add test coverage
* update comments
* add wizard service unit test coverage
* move item filtering into helper func
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* Update kubernetes and kmip breadcrumbs
* Add breadcrumbs for non ember engines
* LDAP breadcrumbs..
* PKI breadcrumbs..
* Mostly working kv tests
* kv data persona tests
* Fix remaining kv-workflow test
* Route to vault.cluster instead of dashboard
* VAULT-41964 Update client count breadcrumb + test
* VAULT-41143 Remove user dropdown a11y override
* Add test for nav links on community
* Ensure we check for enterprise
* Address feedback
* Use selector instead
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* WIP secrets sidebar
* Remove unwanted text and put some things back..
* Add secrets templates for sidebar
* Fix tests
* Update more Secrets navlinks
* Add copywrite headers
* Creates secrets.hbs so its the parent route
* Update secrets comment
* Update component name
* Update sidebar to use helper
* Secrets sync breadcrumbs
* Address feedback~
* Use enum and add helper test
* Fix links!
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* updates flags service to use api service
* converts clients index route to ts
* updates clients config workflows to use api service
* updates clients date-range component to handle Date objects rather than ISO strings
* updates clients page-header component to handle Date objects and use api and capabilities services
* updates clients route to use api and capabilities services
* updates types in client-counts helpers
* updates client counts route to use api service
* updates types for client-counts serializers
* updates date handling in client counts page component
* updates clients overview page component
* converts clients page-header component to ts
* fixes type errors in clients page-header component
* updates client counts tests
* updates client-count-card component to use api service
* converts client-count-card component to ts
* removes model-form-fields test that uses clients/config model
* removes clients/version-history model usage from client-counts helpers tests
* removes migrated models from adapter and model registries
* removes clients ember data models, adapters and serializers
* updates clients date-range component to format dates in time zone
* cleans up references to activityError in client counts route
* adds clients/activity mirage model
* updates activation flags assertions in sync overview tests
* fixes issue selecting current period in clients date-range component and adds test
* fixes issues with enabled state for client counts
* updates parseAPITimestamp to handle date object formatting
* removes unnecesarry type casting for format return in parseAPITimestamp util
* updates parseAPITimestamp to use formatInTimeZone for strings
* updates parseAPITimestamp comment
* updates enabled value in clients config component to boolean
* adds date-fns-tz to core addon
* removes parseISO from date-formatters util in favor of new Date
* updates comments for client counts
* updates retention months validation for client counts config
* updates comment and min retention months default for client counts config
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* update namespace empty state
add in refresh button to empty state and update tests
update button design
* update copy
* update when exit button is shown
* update css class
* revert state changes
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* remove cluster route and model boundary route mixins
* add copyright header
* remove old unit test
* change replication/application route
* don't use cluster route in replication
* why have a base class at all?
* test tweaks
* remove afterModel redirect in replication
* refactor targetRouteName to use derived state
* Update route class name on replication-dr-promote.js
---------
Co-authored-by: Matthew Irish <39469+meirish@users.noreply.github.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* fill guided start content
* move namespace logic into page component
* add page component tests for namespace wizard
* add tree chart and changelog, update state management
* fix failing page usage test
* add back in breadcrumb update lost in merge conflict resolution across files
* fix test
* update terraform template function usage
* Update ui/app/components/wizard/namespaces/step-3.hbs
* formatting and fixes
* revert usage page changes
* move snippet generators into util and update code snippet initialization
* update test namespace page args
* move namespace wizard logic into its own component
* fix nested namespace creation via api and cli code snippets
* test update
* nested namespace terraform snippet
* remove outdated comment
* test clean up and hide wizard in CE
---------
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* convert to typescript
* move getOptions to namespace service
* delete unneeded ts file
* add test coverage and cleanup getOptions method
* use new admin const
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Allow for console error and warn and fail for everything else.
Remove disable rules for console.
Co-authored-by: Angelo Cordon <angelo.cordon@hashicorp.com>
* updates kmip scope roles route to ts
* updates kmip scope roles route to use api service and adds page component
* converts kmip role route to ts
* fixes a11y error in kmip header-credentials component
* updates kmip role route to use api service and adds page component
* removes kmip operation-field-display component that was moved into role page component
* converts kmip role create route to ts
* moves kmip role form component to component directory root
* converts kmip role form component to ts
* adds operation-groups helper and refactors kmip role page to use it
* adds operation-label helper and updates kmip role page to use it
* converts kmip edit role route to ts
* updates kmip role test to use operation-groups helper
* adds kmip role form
* updates kmip role edit and create routes to use api service and form class
* updates kmip role form component to work with form class
* updates kmip acceptance tests
* converts kmip credentials index route to ts
* updates kmip credentials route to use api service
* adds kmip credentials page component
* converts kmip credentials show route to ts
* updates kmip credentials show route to use api service and adds page component
* fixes flash message issue on kmip role form submit success
* converts kmip credentials generate route to ts
* reverts kmip credentials show page component in favor of details-credentials component which is also used in generate route
* fixes kmip details-credentials tests
* update kmip credentials generate route to use api service and updates page component
* removes store and pagination services from kmip engine
* converts kmip breadcrumb component to ts
* converts kmip header scope component to ts
* removes kmip Ember Data models and adapters
* removes store reference from kmip acceptance tests
* fixes issues routing back to secrets engine via breadcrumb in kmip roles and credentials routes
* removes kmip role adapter test
* updates open api helpers tests
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* move utils to a folder
* separate methods for serializing
* separate test coverage too
* make formatQueryParams a separate util
* use api service to request export data
* consolidate error templates
* move export request to parent route
* replace EmptyState with ApplicationState
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* add automation snippets to policy and convert to page component
* only show for acl types
* remove unnecessary tag
* update test coverage
* last fix, oops!
* wait for dropdown to close
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* updates kmip scope roles route to ts
* updates kmip scope roles route to use api service and adds page component
* converts kmip role route to ts
* fixes a11y error in kmip header-credentials component
* updates kmip role route to use api service and adds page component
* removes kmip operation-field-display component that was moved into role page component
* converts kmip role create route to ts
* moves kmip role form component to component directory root
* converts kmip role form component to ts
* adds operation-groups helper and refactors kmip role page to use it
* adds operation-label helper and updates kmip role page to use it
* converts kmip edit role route to ts
* updates kmip role test to use operation-groups helper
* adds kmip role form
* updates kmip role edit and create routes to use api service and form class
* updates kmip role form component to work with form class
* updates kmip acceptance tests
* converts kmip credentials index route to ts
* updates kmip credentials route to use api service
* adds kmip credentials page component
* converts kmip credentials show route to ts
* updates kmip credentials show route to use api service and adds page component
* fixes flash message issue on kmip role form submit success
* converts kmip credentials generate route to ts
* reverts kmip credentials show page component in favor of details-credentials component which is also used in generate route
* fixes kmip details-credentials tests
* update kmip credentials generate route to use api service and updates page component
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* updates kmip scope roles route to ts
* updates kmip scope roles route to use api service and adds page component
* converts kmip role route to ts
* fixes a11y error in kmip header-credentials component
* updates kmip role route to use api service and adds page component
* removes kmip operation-field-display component that was moved into role page component
* converts kmip role create route to ts
* moves kmip role form component to component directory root
* converts kmip role form component to ts
* adds operation-groups helper and refactors kmip role page to use it
* adds operation-label helper and updates kmip role page to use it
* converts kmip edit role route to ts
* updates kmip role test to use operation-groups helper
* adds kmip role form
* updates kmip role edit and create routes to use api service and form class
* updates kmip role form component to work with form class
* updates kmip acceptance tests
* fixes flash message issue on kmip role form submit success
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* add support for initializing with capability paths
* only render flyout for enterprise versions
* update PolicyStanza to support object
* add policy generator to kv
* only set preset stanzas if no changes have been made
* add test coverage for kv adding policy generate to page headers
* add community test
* add test coverage to capabilities service
* add changelog
* add close callback
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* Replace direct use of hds::pageheader with page::header
* Update test selector
* Remove unused selector
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* converts kmip scopes index route to ts
* adds capabilities service to kmip engine
* updates kmip scopes index route to use api service
* adds kmip scopes page component
* adds kmip scopes create page component
* adds pagination component to scopes page
* adds tests for kmip scopes page component
* fixes path for kmip scope capabilities in scopes route
* fixes issue with linked block linkPrefix in kmip scopes page
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* parse error
* add test coverage
* update test so original code fails the same way
* remove unused vars
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* VAULT-17006 - Replaced EmptyState component with HDS ApplicationState for "clients" directory
* added missing data-test values to HDS:ApplicationState header and body
* reverted top margin spacing to use top padding instead
* updated class for consistent spacing and added icon & errorCode args
* fixed failing test
* fixed vertical alignment for Hds Application State error
* VAULT-17006 - Replaced EmptyState component with HDS ApplicationState for "clients" directory
* added missing data-test values to HDS:ApplicationState header and body
* reverted top margin spacing to use top padding instead
* updated class for consistent spacing and added icon & errorCode args
* fixed failing test
* fixed vertical alignment for Hds Application State error
* fixed failing test case
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
* [UI] Ember Data Migration: KMIP Config (#11637)
* converts kmip configuration route to ts
* adds ts and template lint deps to kmip engine
* adds api service to kmip engine
* updates kmip configuration route to use api service
* converts kmip configuration template to page component
* converts kmip configure route to ts
* updates kmip configure workflow to use api service and form class
* enables ts transform in kmip engine
* fixes a11y violations on kmip configuration page
* Update ui/app/forms/secrets/kmip/config.ts
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
---------
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* fixes lint error
---------
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: Jordan Reimer <jordan.reimer@hashicorp.com>
* Remove kv header component and add tabs/toolbar component
* Use copyright headers
* Comment out dropdown check
* Add test back
* Remove extra click for now
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* add <h> tags for form header elements
* make policy snippet args reusable util
* build flyout component
* add test coverage for flyout
* update flash toast tests
* move policy tests to directory
* remove link now that its a default
* abc imports
* add test for default templates
* add comment to example
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* moving dropdown check in flaky test
* Skip navigation test
Skip the test for empty backend navigation in kv-v2 workflow.
* fix space
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>