Lauren
e8cc22879f
[ICU-15403] Trim whitespace on storage buckets and host sets json attrs serializers ( #2636 )
...
* trim whitespace on json attrs in storage bucket serializer
* add test for storage bucket serializer
* move trimWhitespace check to application level
* add trimWhitespace to preferred_endpoints attr
* add conditional for string arr
* trim whitespace on str arr
* add check for null val
* refactor, move logic
* relocate comment
* add unit test for application serializer
2025-02-11 18:31:01 -05:00
Dharini Jeeva
3b6a421af2
chore: Updates to gcp hc form ( #2649 )
...
* chore: 🤖 add worker_filter field, updates to helper text
2025-01-10 14:18:48 -08:00
Dharini Jeeva
520020f2c6
Chore: refactor host catalog model and serializer to accommodate GCP plugin ( #2627 )
...
* chore: 🤖 GCP plugin support
2025-01-10 14:18:48 -08:00
Dharini Jeeva
6397cd80a6
Refactor key value comp ( #2180 )
...
* refactor: 💡 keyvalue comp
2024-06-03 13:38:42 -07:00
Dharini Jeeva
9b1f052a56
chore: Update desktop client license from MPL to BSL ( #2307 )
...
* chore: 🤖 license
2024-05-31 11:29:24 -07:00
Dharini Jeeva
bd65c91ff9
chore: 🤖 alias target route ( #2228 )
2024-04-12 16:36:17 -07:00
Carlos Alcaide Corvo
b51c8203ee
chore: 🤖 Upgrade eslint-plugin-qunit ( #2011 )
...
* chore: 🤖 Upgrade eslint-plugin-qunit
* Delete unnecessary assert.expect from tests
2023-12-08 12:56:00 -08:00
Dharini Jeeva
3f2f2ba756
feat: 🎸 Allow prompts in oidc auth method form ( #2007 )
...
* feat: 🎸 Allow prompts in OIDC auth method form
2023-11-28 11:59:16 -08:00
Zhihe Li
bcf004b8a4
Reformat codebase with trailing commas in functions ( #2006 )
...
* style: 💄 Update trailing commas in API
* style: 💄 Update trailing commas in core
* style: 💄 Update trailing commas in rose
* style: 💄 Update trailing commas in admin
* style: 💄 Update trailing commas in desktop
2023-11-22 14:07:41 -05:00
Dharini Jeeva
7ee52ea06f
refactor: 💡 application serializeAttribute ( #1772 )
...
* refactor: 💡 application serializeAttribute
2023-07-14 09:46:47 -07:00
hashicorp-copywrite[bot] and Cameron Perera
3d610427d0
[COMPLIANCE] Add Copyright and License Headers ( #1617 )
...
* [COMPLIANCE] Add Copyright and License Headers
* chore: 🤖 update Copyright headers to satisfy our lint rules
---------
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2023-03-01 09:39:41 -06:00
Cameron Perera and Randall Morey
84077b5d8a
Icu 6800 api is secret data modeling ( #1448 )
...
* 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 >
2022-11-14 14:45:53 -06: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
Dharini Jeeva
e3324ad64a
chore: 🤖 rename application_credentials_sources_ids to brokered ( #1255 )
2022-08-15 09:48:12 -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
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
Randall Morey
94f6316b4a
chore: 🤖 update host source attribute ames
2021-09-22 19:15:09 -04:00
Randall Morey
8b09f132e0
chore: rename to application_credential_source_ids
2021-09-22 17:39:15 -04:00
Randall Morey
86fbbe7cdf
test: 💍 fix tests for authorized_actions field
2021-08-04 17:58:08 -04:00
Susmitha Girumala
28a4a7304e
feat: Add credential library add and remove methods to target
2021-07-21 15:46:21 -04:00
Randall Morey
fbf39b3bba
refactor: 💡 upgrade addons/api to Ember 3.24
2021-03-04 15:47:38 -05:00
Randall Morey
ce08ae3001
chore: 🤖 empty strings should be serialized as null
2020-10-07 10:53:53 -04:00
Randall Morey
715805f0de
feat: 🎸 add API support for user accounts
2020-09-30 10:08:24 -04:00
Susmitha Girumala
0a1eafe55e
refactor: Refactor seralizeScopeID from models to serializers
2020-09-21 18:23:32 -04:00
Susmitha Girumala
aca96d6dd8
test: Refactor 'nestedResource' to 'serializeScopeID'
2020-09-21 15:03:23 -04:00
Susmitha Girumala
fe2232b320
fix: Do not serialize scope_id for nested resources
...
Nested resources currently are accounts, host-sets, and hosts.
2020-09-21 14:42:19 -04:00
Susmitha Girumala
ec870acba8
style: format addons/api
2020-09-16 14:29:02 -04:00
Randall Morey
bcd46cec1f
fix: 🐛 handle missing principals array in role response
2020-09-12 11:40:21 -04:00
Randall Morey
7d5bef4440
fix: 🐛 add support for emptyArrayIfMissing on model attrs
2020-09-12 10:42:23 -04:00
Randall Morey
ab608c7544
refactor: 💡 serialize scope_id by default
2020-09-10 18:32:17 -04:00
Randall Morey
4a63c6484f
refactor: 💡 implement new pathing for users
2020-09-09 16:53:41 -04:00
Randall Morey
2eeb73b622
test: 💍 add tests for adapter and serializer scope options
2020-09-03 14:48:59 -04:00
Randall Morey
cd4f50f868
chore: 🤖 all resources should have a version
2020-08-21 08:55:07 -04:00
Randall Morey
b7996f6271
fix: normalize embedded scope IDs and ensure scope resources do not receive scope-prefixed URLs like other resources do
2020-07-23 10:34:31 -04:00
Randall Morey
3d432950d6
refactor: represent scopes as fragments and special-case serialization of parent IDs on scopes themselves
2020-07-22 11:47:33 -04:00
Randall Morey
d847ede742
chore: do not serialize scope or parentScope into request payloads
2020-07-16 12:54:29 -04:00
Randall Morey
ae018db410
chore: rip out org and project models
2020-07-15 17:17:11 -04:00
Randall Morey
3b37c0f92a
chore: update test to account for scope
2020-07-15 14:29:05 -04:00
Randall Morey
28f28d96f4
chore: 🤖 do not serialize fields with name disabled
2020-05-21 12:21:52 -04:00
Randall Morey
ebdb938ca6
chore: 🤖 improve adapters and serializers to match API
2020-05-21 09:22:56 -04:00
Randall Morey
b0921724ba
chore: 🤖 add normalizer for singluar unrooted responses
2020-05-20 15:39:47 -04:00
Randall Morey
ae535c607e
chore: 🤖 setup API concerns for project resource
2020-05-19 16:33:31 -04:00