* the fix
* working, but work in progress maybe change to another helper, put draft up?
* some fixes and restructing
* change names
* test assert wrong locally, lets see about gh
* initial fix. need to clear out local storage to see it work.
* first draft
* clean up
* test fix
* add test coverage
* pairing to do clean up
* update tests
* move json toggle action to template
* add test for version dropdown problem
* refactor write secret to allow for namespaces
* consolidate transition functions
* refresh model for certain routes
* add destroy assertion
* rename variables
* remove dataset clearing from details component
* add version to query params when transitioning after creating a new version
* add test coverage
* update urls in tests
* add logout method
* use desctructured secret
* remove path
* add clearRecords
* fix assertion
* clear ns just in case
* clear ns just in case
* adds ldap ember engine (#20786)
* adds ldap as mountable and supported secrets engine (#20793)
* removes active directory as mountable secrets engine (#20798)
* LDAP Config Ember Data Setup (#20863)
* adds secret-engine-path adapter
* adds model, adapater and serializer for ldap config
* adds test for ldap config adapter
* addresses PR feedback
* updates remaining instances of getURL in secrets-engine-path adapter
* adds underscore to getURL method in kubernetes/config adapter
* adds check config vars test for kubernetes/config adapter
* adds comment regarding primaryKey in secrets-engine-path adapter
* adds tab-page-header component for ldap secrets engine (#20941)
* LDAP Config Route (#21059)
* converts secret-mount-path service to ts and moves kubernetes fetch-config decorator to core addon and converts to ts
* adds ldap config route
* fixes withConfig import path in kubernetes roles route
* updates types in ldap config route
* adds unit tests for fetch-secret-config decorator
* updates comments in fetch-secret-config decorator
* renames fetch-secret-config decorator
* LDAP Configure Page Component (#21384)
* adds ldap page configure component
* removes pauseTest and updates radio card selector in ldap config test
* LDAP Configuration (#21430)
* adds ldap configuration route
* adds secrets-engine-mount-config component to core addon
* adds ldap config-cta component
* adds display fields to ldap configuration page and test
* fixes ldap config-cta test
* adds yield to secrets-engine-mount-config component
* fixes tests
* LDAP Overview Route and Page Component (#21579)
* adds ldap overview route and page component
* changes toolbar link action type for create role on overview page
* LDAP Role Model, Adapter and Serializer (#21655)
* adds model, adapter and serializer for ldap roles
* addresses review feedback
* changes ldap role type from tracked prop to attr and sets in adapter for query methods
* adds assertions to verify that frontend only props are returned from query methods in ldap role adapter
* LDAP Library Model, Adapter and Serializer (#21728)
* adds model, adapter and serializer for ldap library
* updates capitalization and punction for ldap role and library form fields
* LDAP Roles Create and Edit (#21818)
* moves stringify and jsonify helpers to core addon
* adds validation error for ttl picker in form field component
* adds ldap roles create and edit routes and page component
* adds ldap mirage handler and factory for roles
* adds example workflow to json editor component
* adds tests for ldap page create and edit component
* addresses feedback
* LDAP Role Details (#22036)
* adds ldap role route to pass down model to child routes
* adds ldap role details route and page component
* updates ldap role model capabilities checks
* adds periods to error messages
* removes modelFor from ldap roles edit and details routes
* adds flash message on ldap role delete success
* LDAP Roles (#22070)
* adds ldap roles route and page component
* update ldap role adapter tests and adds adapter options to query for partialErrorInfo
* updates ldap role adapter based on PR feedback
* adds filter-input component to core addon
* updates ldap roles page to use filter-input component
* updates ldap role adapter tests
* LDAP Role Credentials (#22142)
* adds ldap roles route and page component
* update ldap role adapter tests and adds adapter options to query for partialErrorInfo
* adds credentials actions to ldap roles list menu and fixes rotate action in details view
* adds ldap role credentials route and page component
* adds tests for ldap role credentials
* LDAP Library Create and Edit (#22171)
* adds ldap library create/edit routes and page component
* adds ldap library create-and-edit tests and library mirage factory
* updates form-field component to display validation errors and warnings for all fields
* updates ldap library edit route class name
* updates ldap library model interface name
* adds missing period in flash message
* LDAP Libraries (#22184)
* updates interface and class names in ldap roles route
* adds ldap libraries route and page component
* fixes lint error
* LDAP Library Details (#22200)
* updates interface and class names in ldap roles route
* adds ldap libraries route and page component
* fixes lint error
* adds ldap library details route and page component
* LDAP Library Details Configuration (#22201)
* updates interface and class names in ldap roles route
* adds ldap libraries route and page component
* fixes lint error
* adds ldap library details route and page component
* adds ldap library details configuration route and page component
* updates ldap library check-in enforcement value mapping
* fixes issue in code mirror modifier after merging upgrade
* fixes failing database secrets test
* LDAP Library Account Details (#22287)
* adds route and page component for ldap library accounts
* adds ldap component for checked out accounts
* updates ldap library adapter tests
* LDAP Library Check-out (#22289)
* adds route and page component for ldap library accounts
* adds ldap component for checked out accounts
* adds route and page component for ldap library checkout
* addresses PR feedback
* LDAP Overview Cards (#22325)
* adds overview cards to ldap overview route
* adds create library toolbar action to ldap overview route
* adds acceptance tests for ldap workflows (#22375)
* Fetch Secrets Engine Config Decorator Docs (#22416)
* removes uneccesary asyncs from ldap route model hooks
* updates ldap overview route class name
* adds documentation for fetch-secrets-engine-config decorator
* add changelog
* adding back external links, missed due to merge.
* changelog
* fix test after merging in dashboard work
* Update 20790.txt
---------
Co-authored-by: Angel Garbarino <angel@hashicorp.com>
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
* Adding explicit MPL license for sub-package.
This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository.
* Adding explicit MPL license for sub-package.
This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository.
* Updating the license from MPL to Business Source License.
Going forward, this project will be licensed under the Business Source License v1.1. Please see our blog post for more details at https://hashi.co/bsl-blog, FAQ at www.hashicorp.com/licensing-faq, and details of the license at www.hashicorp.com/bsl.
* add missing license headers
* Update copyright file headers to BUS-1.1
* Fix test that expected exact offset on hcl file
---------
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Sarah Thompson <sthompson@hashicorp.com>
Co-authored-by: Brian Kassouf <bkassouf@hashicorp.com>
* replaced each instance of MaskedInput in PKI with CertificateCard
* modify tests for pki-generate-csr
* add test for pki-issuer-details. modify test for pki-certificate-details
* added test for pki-key-details. modified test for pki-sign-intermediate-form
* update 2 test helper files and modify test for pki-issuer-rotate-root
* update test for certificate-card-test.js, update test for the kubernetes configuration-test.js
* modify pki-action-forms-test.js to no longer look for masked input. expand test for pki-issuer-details-test.js to check for all issuer details
* change CertificateCard to show different format types (PEM, DER, nothing) depending on the value provided. update 2 test files to account for this.
* change CertificateCard arg name from @certficateValue to @data to be more inclusive of different uses of CertificateCard (i.e when used for a private key, not a certificate). add description to certificate-card.js
* change naming for attr.options.masked to attr.options.displayCard to reflect the change from MaskedInput to CertificateCard
* add changelog
* change attribute to isCertificate to better fit the title of the component CertificateCard. edit pki-certificate-details.hbs to get rid of extraneous code
* changed MaskedInput to show a minus icon when there is no value. changed SecretFormShow to show this MaskedInput with minus icon instead of showing just a minus icon
* fixed copy button for blank value in MaskedInput; added changelog
* reword changelog to be more concise
* added test to check if minus icon shows for MaskedInput when value is empty string
* edited a test to make sytnax more concise
* changed MaskedInput to show 'danger' message when copying empty value
* added 2 tests to check for flash messages
* changed naming of a MaskedInput test to be more descriptive
* created KubernetesCertificate component, moved functionality from configuration.hbs to kubernetes-certificate.hbs, added .scss file, fixed bug in the certificate
* change new component name from KubernetesCertificate to CertificateCard
* switched to using Hds::Card in certificate-card.hbs. Added additional padding class to spacing.scss
* added tests for the CertificateCard in certificate-card-test.js
* added changelog and copyright header
* change naming on CSS class
* changed param name used in CertificateCard to be more generic. removed one class from certificate-card.scss
* changed width of CertificateCard by adding helper class to layout.scss. removed component stylesheet for CertificateCard
* created new JsonTemplate component
* used JsonTemplate in modal PolicyTemplate to replace code there
* renamed component and fixed when the editor content shows up
* changed PolicyForm to render example modal only conditionally. added desription to policy-example.js
* fixed bug in policy-example.js & edited description of that file, removed functionality from policy-template.js (it is already in policy-example.js)
* changed margin on text to better match Figma design, added example modal for when editing a policy
* added tests for PolicyExample in policy-example-tests
* added PolicyForm tests for (1) cancelling the creation/edit of policy and (2) properly rendering the policy example modal
* add changelog
* clean up code by removing unnecessary comments
* changed a conditional in policy-form.hbs for better readability (Kianna's comment)
* fixed description in policy-example.js, changed wording for RGP example, changed wording in policy-form-test.js
* added 2 more asserts in policy-form-test.js. Changed some naming for selectors in the test file
* added EGP policy to PolicyExample component, moved some functionality from .hbs to .js file and vise versa
* added tests to policy-exammple-test.js and policy-form-test.js to account for new EGP policy
* simplified all PolicyExample tests in policy-exmaple-test.js
* removed beforeEach hook in policy-exmaple-test.js