* 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>
* move namespace logic over into page component
* add onPageChange arg and pass @model
* update type and arg accessor
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.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 "identity" directory
* reverted top margin spacing to use top padding instead
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.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>
* move from yarn to pnpm for package management
* remove lodash.template patch override
* remove .yarn folder
* update GHA to use pnpm
* add @babel/plugin-proposal-decorators
* remove .yarnrc.yml
* add lock file to copywrite ignore
* add @codemirror/view as a dep for its types
* use more strict setting about peerDeps
* address some peerDep issues with ember-power-select and ember-basic-dropdown
* enable TS compilation for the kubernetes engine
* enable TS compilation in kv engine
* ignore workspace file
* use new headless mode in CI
* update enos CI scenarios
* add qs and express resolutions
* run 'pnpm up glob' and 'pnpm up js-yaml' to upgrade those packages
* run 'pnpm up preact' because posthog-js had a vulnerable install. see https://github.com/advisories/GHSA-36hm-qxxp-pg3
* add work around for browser timeout errors in test
* update other references of yarn to pnpm
Co-authored-by: Matthew Irish <39469+meirish@users.noreply.github.com>
* [VAULT-33083] UI: followup pr to update helper syntax to follow best practices
* fix test failures
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>