* chore: 🤖 Upgrade API layer to ember 4.12
* chore: 🤖 Upgrade ember-data to 4.12
* fix: 🐛 Fix breaking change from usage of internal method
* chore: 🤖 Remove stylelint in API addon
* test: 💍 Fix broken API tests
* chore: 🤖 get rid of toArray
* test: 💍 Fix tests broken by ember data changes
---------
Co-authored-by: dharini <dharini@hashicorp.com>
* refactor: 💡 Refactor ldap account view and serializer
Refactor LDAP account view to only show `InfoField` fields if values are
not `undefined`. Also fixed bug for updating accounts.
✅ Closes: ICU-10514
* refactor: 💡 clean up code
Quick cleanup of code for accounts
* Update account.js
change text for commit
* Update index.hbs
* refactor: 💡 format hbs
format hbs
* feat: 🎸 CRUDL capabilites for ldap managed-group
✅ Closes: ICU-10100
* refactor: 💡 managed-group serializer & remove members tab
* refactor: 💡 show members tab
* fix: 🐛 add type getters in managed group model
* refactor: 💡 fix column name
* refactor: 💡 refactor test and serializer
Refactor `auth-method` mirage serializer to delete secret attributes.
Refactor `auth-method` mirage serializer unit test for LDAP
✅ Closes: ICU-10025
* refactor: 💡 merge main
merge main
* refactor: 💡 rebase
rebase
* refactor: 💡 refactor serializer and test
Refactor serializer normalize method to delete secret attributes field.
* refactor: 💡 refactor test
Refactor failing test due to deleting secrets in mirage
* refactor: 💡 refactor test
changed assertion
* refactor: 💡 refactor test
change assertion expect
* refactor: 💡 refactor test
Refactor `auth-method-test` to include normalize oidc and ldap secrets
* refactor: 💡 rebase
rebase
* feat: 🎸 Revised auth-method model
Revised auth-method model to include LDAP attributes
✅ Closes: ICU-10024
* chore: 🤖 create transform for `account_attribute_maps`
Create transform to handle `account_attribute_maps` array
* refactor: 💡 Refactor transform and serializer
Refactor `account_claims_map` transforms overall name and logic to be
used for `account_attributes_map`. Also refactored serializer to
serialize auth-method data, by type.
✅ Closes: ICU-100024
* refactor: 💡 refactor transform
Refactor `account_claim_maps` transform.
* Update addons/api/addon/serializers/auth-method.js
changing naming of serialize method
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* refactor: 💡 refactor serializer
Refactor naming convention for serializer methods and added comments for
attributes.
* refactor: 💡 quick refactor
fixed name for method call in serializer
* refactor: 💡 refactor attributes and serializer
Refactor attributes for `auth-methods` to use the `for` option to select
which attribute belongs to which auth-method.
* Update auth-method.js
comment change
* refactor: 💡 rebase
rebase
* Update addons/api/addon/serializers/auth-method.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* Update addons/api/addon/serializers/auth-method.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* Update addons/api/addon/serializers/auth-method.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* Update addons/api/addon/serializers/auth-method.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* Update addons/api/addon/serializers/auth-method.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* refactor: 💡 refactor serialize attribute method
refactor serialize attribute method not not include type for password,
and instead let `serializePassword` handle serialization
* refactor: 💡 refactor serializer
Refcator serializer to not include password type in attribute serializer
and added `for` to one missing attribute.
* Update addons/api/addon/serializers/auth-method.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
---------
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* feat: 🎸 Update models for vault ssh cert feature (#1591)
✅ Closes: ICU-7546
* feat: 🎸 Setup types in cred library forms and use HDS component (#1597)
* feat: 🎸 Setup types in cred library forms and use HDS component
✅ Closes: ICU-7673
* feat: 🎸 Add vault ssh cert type for credential library (#1608)
* feat: 🎸 Add vault ssh cert type for credential library
✅ Closes: ICU-7678
* feat: 🎸 Enable feature flag for vault ssh cert work (#1614)
* fix: 🐛 Change fields to optional as they get default by backend (#1615)
* Chore/cleanup vault ssh cert (#1616)
* fix: 🐛 Remove json_object from payload for non-json credentials
* refactor: 💡 update new route logic for type specific attributes
* test: 💍 remove typeIn and use fillIn for json credential test
* refactor: 💡 Rename attributes called filter
* refactor: 💡 Remove adapter handling of old attribute errors
* refactor: 💡 Check for undefined in serializer instead of falsy
* chore: 🤖 JSON credential data modeling
Added json type to credential model, created `json_object` attribute for
`json` type, updated credential serializer to handle `json_object`
attribute data being sent to backend and updated normalizer to handlle
secret untracked 'json_object'.
✅ Closes: ICU-6653, ICU-6684, ICU-6685, ICU-6802, ICU-6803
* Update en-us.yaml
fixed spelling
* Update addons/api/addon/models/credential.js
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
* refactor: 💡 refactor credential serializer and .yaml
Refactored credential serializer to check for `json_object` existence
before serializing and changed help variable in `.yaml` file for
credentials.
* refactor: 💡 refactor for credential serializer
Refactor credential serializer removed redundant code,
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
* refactor: 💡 Add isSecret option for model attributes
Move secret attribute logic to application serializer that will remove
the key/value pair if the value is null or empty
✅ Closes: ICU-6800
* refactor: 💡 Add isSecret option to credential store token
* Update addons/api/addon/serializers/credential.js
Remove unneeded serialize method for credentials
Co-authored-by: Randall Morey <randall@randallmorey.com>
* refactor: 💡 add type check for serializing secret attributes
Co-authored-by: Randall Morey <randall@randallmorey.com>
* refactor: 💡 update credential serializer to delete password
update credential serializer to delete password attribute if empty
string or null allowing the user to update just the username if needed.
✅ Closes: ICU-5731
* refactor: 💡 update serializer comments and test names