* 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: 💡 Migrate Target form to use HDS components
* chore: 🤖 add ember-test-selectors to remove data-test attribute
Removes data-test attributes in production builds
* refactor: 💡 Default Port marked requried or optional by type
* feat: 🎸 add egress and ingress worker filter to target model
✅ Closes: ICU-7300
* chore: 🤖 update mirage to include ingress/egress worker filter
* refactor: 💡 update target mirage config for worker filters
* refactor: 💡 update how target id is set in mirage factory
* refactor: 💡 update target id and default_port mirage setup
* test: 💍 fix missing address attribute in new tests
* fix: 🐛 refactor info-field component
Overall context of how the `<InfoField/>` was changed to the correct
order. Corrected css grid to have the order of
`label,input-field,helper-text`. Also refactored all component instances
affected by the change.
* refactor: 💡 refactor styling for icon to be center
refactor will get the icon as close to center as possible.
* chore: 🤖 ssh type first; update names and descriptions
* chore: 🤖 tweak info field styles
* chore: 🤖 fix formatting/linting issue
* refactor: 💡 credential stylistic changes per PR feedback
* chore: 🤖 reuse configPath
* fix: 🐛 fix lint error
* chore: 🤖 add target type field helper text
Co-authored-by: dvonanderson <devon.anderson@hashicorp.com>
* feat: 🎸 create form for json credentials
✅ Closes: ICU-6682
* refactor: 💡 add new info field
* refactor: 💡 add feature flag
* refactor: 💡 add hds radio cards to json cred
* Update ui/admin/tests/acceptance/credential-store/credentials/create-test.js
* test: 💍 add test for json cred
* chore: 🤖 Remove ember-data-model-fragments package
* fix: 🐛 Update how json is added as a known credential type
* refactor: 💡 update credentialTypes if statement to ternary
* chore: 🤖 add ember-data back to addon/api project
* chore: 🤖 remove ember-feature-flag from addon/api
* refactor: 💡 remove if statement in cred form
* refactor: 💡 update selectors for json cred. tests
* refactor: 💡 Update Credential Form to use form.disabled
* test: 💍 Fix test selectors for radio card credential tests
* refactor: 💡 update credential types declaration to const
* style: 💄 Fix style issue with SecretEditor in edit mode
* refactor: 💡 remove disabled and readonly attributes in form
* refactor: 💡 Create credential ability canRead override
* test: 💍 add credential ability override tests
* test: 💍 Fix brokered credential test with json support added
* refactor: 💡 add attributes comment back to credential model
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
* refactor: 💡 Rename attributes called filter
* refactor: 💡 Remove adapter handling of old attribute errors
* refactor: 💡 Check for undefined in serializer instead of falsy
* refactor: 💡 change host_ids to a simple attribute
* refactor: 💡 manually manage host set array model attributes
* refactor: 💡 Fix host set IDs usage
* style: 💄 Fix comment and add braces for if statements
* refactor: 💡 Add back in empty array for normalizer
* refactor: 💡 Move attributes to generated model
* refactor: 💡 Update array actions when creating new host sets
* test: 💍 Add a few create tests for azure and aws host sets
* test: 💍 Add update tests for azure and aws host sets
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* 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: 💡 update scope form to use HDS input and textarea
* chore: 🤖 tweak "optional" label text color in dark mode
* fix: 🐛 add HDS field margins and fix form tests
* fix: 🐛 fix acceptance tests and add TextInput event handlers
* fix: 🐛 use input event and fix set-from-event to handle empty
* fix: 🐛 fix linting and add @type='text' on HDS text input
* fix: 🐛 fix HDS field margin overrides
* chore: 🤖 simplify selector
* 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>