Dharini Jeeva
3fc22b4aa3
fix: 🐛 clear token on normalization ( #1351 )
...
* fix: 🐛 clear token on normalization
2022-09-26 18:25:02 -07:00
Randall Morey
f937bbf282
fix: 🐛 stop sending scope_id on cred libraries ( #1343 )
2022-09-20 18:24:18 -04:00
Dharini Jeeva
2614b311a1
Icu 5578 - introduce injected application credential on the api ( #1269 )
...
* chore: 🤖 include injected cred sources to the target model
2022-09-01 10:07:36 -07:00
Randall Morey and Zhihe Li
cde6abd445
refactor: 💡 convert brokered cred IDs array to simple attribute ( #1259 )
...
* refactor: 💡 convert brokered cred IDs array to simple attribute
* fix: 🐛 missing test assertion
* fix: 🐛 simplify computed
* refactor: 💡 convert host sources array to simple attribute (#1260 )
* refactor: 💡 convert host source IDs array to simple attribute
* fix: 🐛 host source tests
* Refactor role fragment arrays (#1262 )
* refactor: 💡 convert grant strings to regular attribute
* refactor: 💡 convert principals array to simple attribute
* Update ui/admin/app/routes/scopes/scope/roles/role.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* fix: 🐛 remove unused import
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2022-08-31 09:55:59 -07:00
Cameron Perera
83c7b76f48
refactor: 💡 Update passphrase to private_key_passphrase ( #1290 )
...
✅ Closes: ICU-5916
2022-08-30 20:40:31 -05:00
Zhihe Li
3130831ae0
feat: 🎸 Add create worker page ( #1244 )
...
* feat: 🎸 Add create worker page
✅ Closes: ICU-5246
2022-08-26 11:50:53 -04:00
Cameron Perera
9a10b68bbe
refactor: 💡 update credential serializer to delete password ( #1277 )
...
* 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
2022-08-25 17:02:48 -05:00
fb981c02ea
Icu 5651 create spk type ( #1266 )
...
Add functionality for creating a ssh private key credential and add
corresponding acceptance tests.
✅ Closes: ICU-5651
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
Co-authored-by: Randall Morey <randall@randallmorey.com >
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2022-08-24 15:50:48 -07:00
Dharini Jeeva
f4f7c0e343
fix: 🐛 disable scope ( #1265 )
2022-08-18 08:23:43 -07:00
Cameron Perera
50038cdf85
Icu 5646 serializer ( #1257 )
...
* feat: 🎸 Update Credential Serializer
Add support for SSH Private Key credentials
✅ Closes: ICU-5646
* test: 💍 Add normalize test for ssh private key credentials
* refactor: 💡 remove deletion of hmac attributes in serializer
2022-08-16 14:35:33 -05:00
Dharini Jeeva
e3324ad64a
chore: 🤖 rename application_credentials_sources_ids to brokered ( #1255 )
2022-08-15 09:48:12 -07:00
Cameron Perera
39c0835a99
feat: 🎸 Update credential model with ssh private key attributes ( #1254 )
...
✅ Closes: ICU-5645
2022-08-12 15:56:19 -05:00
Randall Morey
d8b5056094
fix: 🐛 fixes host set attributes field types ( #1251 )
2022-08-11 16:10:42 -04:00
Zhihe Li
4ab7304411
feat: 🎸 Added list view for workers ( #1234 )
...
* feat: 🎸 Add list view for workers
✅ Closes: ICU-5251
2022-08-09 16:12:56 -04:00
Devon Anderson and Dharini Jeeva
62077d3c25
feat: 🎸 Add worker serializer ( #1230 )
...
* feat: 🎸 Add worker serializer
Add worker serializer that focus' on `config_tags.type` and
`canonical_tags.type`.
[API](https://docs.google.com/document/d/1G-lfl8gk9NfoKFImSpHb90E3xC3CSEVDwVy3bJ9eOhA/edit#heading=h.9e06o4b8etpi )
✅ Closes: ICU-5241
* refactor: 💡 refactored `models/worker.js`
Because `canonical_tags` and `config_tags` are `readOnly` attributes, we
could use `attr` decorator instead of `fragment`.
✅ Closes: ICU-5241
* refactored `model/worker.js and deleted un-needed files
* refactor: 💡 Refactored model/worker.js and created test
Refactored model/worker.js to include custom method for POST route for
adding new worker.
BREAKING CHANGE: 🧨 no
✅ Closes: ICU-5241
* refactor: 💡 Refactored custom POST route method for worker
Refactored custom method on `model/worker.js` to include serialization
for `worker_genrated_auth_token`
BREAKING CHANGE: 🧨 no
✅ Closes: ICU-5241
* refactor: 💡 Refactor test
Refactor model/worker-test.js and serializers/worker.js
BREAKING CHANGE: 🧨 no
✅ Closes: ICU-5241
* Update addons/api/addon/serializers/worker.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
* update worker.js documentation block
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
2022-08-09 15:34:42 -04:00
Dharini Jeeva
1f0baceb5e
Icu 5476 refactor target model serializer and mirage ( #1235 )
...
chore: 🤖 refactor target model to support credentials
2022-08-08 09:21:07 -07:00
Cameron Perera
ae0ce2bfad
fix: 🐛 Add missing mirage config urls for credentials ( #1209 )
2022-07-22 12:29:53 -05:00
lisbet-alvarez and Cameron Perera
821b9b56a7
Icu 5230 credential serializer ( #1200 )
...
* feat: 🎸 Create Credential Model in API
✅ Closes: ICU-5229
* feat: 🎸 update credential model
Add attributes to credential model
✅ Closes: ICU-5229
* feat: 🎸 no verify
✅ Closes: ICU-5230
* feat: 🎸 Add credential serializer and tests
✅ Closes: ICU-5230
* feat: 🎸 Add credential serializer
Credential serializer along with unit tests were added.
✅ Closes: ICU-5230
* feat: 🎸 Credential serializer & unit tests
✅ Closes: ICU-5230
* fix: 🐛 Resolved commit conflicts
✅ Closes: ICU-5230
* fix: 🐛 deleted password_hmac from inside the serializer
✅ Closes: ICU-5230
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2022-07-20 12:34:18 -07:00
Randall Morey
bdabcc119e
Refactor base scope fragment ( #1166 )
...
* refactor: 💡 migrate managed-group off fragments
* refactor: 💡 migrate credential-store off fragments
* refactor: 💡 migrate credential-library off fragments
* refactor: 💡 migrate account off fragments
* refactor: 💡 convert base model scope field to simple attr
* fix: 🐛 skip broken test
2022-07-18 11:30:53 -07:00
Dharini Jeeva
6c3e5ba4a8
chore: 🤖 add static credential store support ( #1191 )
...
* chore: 🤖 add static credential store support to the API layer
2022-07-15 13:24:04 -07:00
Randall Morey
890cfe5168
Refactor attributes fragments ( #1156 )
...
* refactor: 💡 migrate managed-group off fragments
* refactor: 💡 migrate credential-store off fragments
* refactor: 💡 migrate credential-library off fragments
* refactor: 💡 migrate account off fragments
2022-06-28 19:30:26 -04:00
Zhihe Li
1b9f774937
fix: 🐛 Use more common hasOwnProperty and don't modify payload ( #1112 )
2022-05-19 17:52:10 -04:00
Zhihe Li
97196368cb
Fix Users page not updating fields correctly ( #1105 )
...
* fix: 🐛 Normalize update responses to track removed fields
✅ Closes: ICU-4189
2022-05-12 10:16:14 -04:00
Carlos Alcaide Corvo
8776b46277
Chore update eslint ( #1045 )
...
Update eslint and eslint-plugin-ember to their latest versions.
2022-04-13 14:17:46 -07:00
dharini
8f60066cc8
fix: 🐛 remove sync_interval_seconds attribute from static type
2022-03-03 14:17:11 -08:00
dharini
d50b3a5625
feat: 🎸 add sync_interval_seconds to plugin host-sets
2022-03-02 09:44:30 -08:00
Randall Morey
c5601a5c63
chore: support filters when it is a string by converting to an array
2022-02-16 16:48:01 -05:00
Randall Morey
93fd52954f
chore: 🤖 explicitly set secrets to null when missing
2022-02-14 11:50:39 -05:00
Randall Morey
ac215e200f
refactor: 💡 simplify host catalog modeling and normalization
2022-02-14 11:24:58 -05:00
Randall Morey
d53cfbcc33
refactor: 💡 simplify nested fields normalization
2022-02-14 11:14:52 -05:00
Carlos Alcaide Corvo
e1282bb870
Fix conditional to check for undefined
2022-02-10 11:47:30 -08:00
Carlos Alcaide Corvo
b33a4d0b1d
refactor: 💡 Refactor app normalize and host catalog normalize
...
Refactor app normalize to deal with nestedAttributes and nestedSecrets
as expected, before it was not working as expected. Refactor the host
catalog normalize method. Add normalize test on host catalog to validate
changes on normalize methods.
2022-02-10 11:43:30 -08:00
Carlos Alcaide Corvo
e52093c6ed
PR suggestions applied
2022-02-04 09:26:26 -08:00
Carlos Alcaide Corvo
5e12566a65
Refactor tests
2022-02-03 11:27:08 -08:00
Carlos Alcaide Corvo
5e918cdddc
Add all the new fields. Refactor serializer to fit new changes. Work in progress with normalize
2022-02-03 11:27:08 -08:00
Carlos Alcaide Corvo
614be72a6e
Add isNestedSecret option to model, add secrets field to model, add isNestedSecert serialization. Change tests to the last changes
2022-01-21 12:55:04 -08:00
Randall Morey
712607cb0c
fix: variable name
2022-01-21 15:26:27 -05:00
Randall Morey
44ea5e329b
chore: always delete nested secrets from main payload
2022-01-21 15:24:38 -05:00
Randall Morey
cd02f6aec3
chore: add isNestedSecret support
2022-01-21 15:22:59 -05:00
Randall Morey
d8aaddfcca
chore: convert writeOnce to writeOnly
2022-01-21 12:43:45 -05:00
Randall Morey
cd60c0bbc3
chore: add writeOnce field support
2022-01-20 17:20:24 -05:00
Randall Morey
1889dd0090
chore: tweak dynamic fields serialization
2022-01-20 16:47:46 -05:00
Carlos Alcaide Corvo
cd96313857
feat: 🎸 Add fields to host-catalog model
...
Add new fields to host-catalog model for plugin type host-catalog.
Fields are corresponding to Azure and Aws plugins.
2022-01-20 08:35:41 -08:00
Randall Morey
121129ffd2
fix: 🐛 include nulls
2022-01-19 12:16:57 -05:00
Randall Morey
ac14e8786d
feat: 🎸 support isNestedAttribute in models
2022-01-18 13:44:27 -05:00
Susmitha Girumala
6ba9ffc3af
chore: Managed groups edit integration fix
2021-11-11 17:58:08 -05:00
Carlos Alcaide Corvo
087e1346d3
feat: 🎸 Refactor serializer and model for managed-group
...
Refactor serializer and model with suggestions from previous PR for
managed-group.
2021-11-05 08:55:37 -07:00
Carlos Alcaide Corvo
14623a6386
feat: 🎸 Refactor all managed-group plurals to singular
...
Refactor all file names and classes declaration from managed-groups
(plural) to managed-group (singular)
2021-11-05 08:55:37 -07:00
Carlos Alcaide Corvo
5df6b6de11
feat: 🎸 Refactor modeling
...
Remove OIDC as default value for fragment field filter. Applied default
value OIDC to type field. Accomodate tests for the changes. Add a
readOnly serializer test. Delete from fragment serializer not
serializing readOnly, because that is a case it will never reproduce on
such model.
2021-11-05 08:55:37 -07:00
Carlos Alcaide Corvo
2620607cc3
feat: 🎸 Finish fragment serializer and tests
...
Finish fragment serializer and refactor the tests of the model to
accomadate the change.
2021-11-05 08:55:37 -07:00