Zhihe Li
ff7a1fedea
Icu 6794 refactor attributes using the newer is nested attribute annotation ( #1481 )
2022-11-23 14:40:07 -05: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
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
Zhihe Li
a84e8c693e
feat: 🎸 Add worker model ( #1213 )
...
✅ Closes: ICU-5239
2022-07-28 14:33:23 -04:00
lisbet-alvarez and Cameron Perera
bd0189cf10
Icu 5229 credential model ( #1197 )
...
* feat: 🎸 Create Credential Model in API
✅ Closes: ICU-5229
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2022-07-19 13:02:04 -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
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
Carlos Alcaide Corvo
f8c4eb470f
feat: 🎸 Add new fields to host
...
Add new fields to host and refactor field address to use no more
fragment-host-attribute-model
2022-02-09 08:55:10 -08:00
Randall Morey
ac14e8786d
feat: 🎸 support isNestedAttribute in models
2022-01-18 13:44:27 -05: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
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
Carlos Alcaide Corvo
322828ccc4
First iteration API modeling managed groups
2021-11-05 08:55:37 -07:00
Randall Morey
10da4af957
chore: 🤖 change fragment-host-set to fragment-host-source
2021-09-20 15:10:04 -04:00
Susmitha Girumala
bd50c4f78c
feat: Add credential library api
2021-07-12 14:50:53 -04:00
Randall Morey
5519cf8557
feat: 🎸 initial credential-store modeling and mocking
2021-07-01 14:28:53 -04:00
Randall Morey
dead74c825
feat: 🎸 add OIDC account_claim_maps modeling
2021-05-14 12:05:09 -04:00
Randall Morey
e91612b313
feat: 🎸 implement basic OIDC auth method attributes modeling
2021-05-12 17:12:59 -04:00
Randall Morey
f49df60639
chore: 🤖 add placeholer auth-token model
2020-09-22 09:28:38 -04:00
Randall Morey
9e482d6434
chore: 🤖 add initial session model
2020-09-18 10:16:40 -04:00
Susmitha Girumala
41f4ef47ed
Merge branch 'develop' into ICU-580-account-model
2020-09-15 17:36:36 -04:00
Randall Morey
cd6d18d164
chore: 🤖 add target default_port field to API and UI
2020-09-15 16:36:40 -04:00
Susmitha Girumala
a3060e089d
feat: Add account attributes to account model
2020-09-14 11:45:48 -04:00
Susmitha Girumala
cf5a625740
feat: Generate account model in api addon
2020-09-14 10:45:56 -04:00
Susmitha Girumala
cb762131e8
feat: Add attributes fragment to a host
2020-09-10 15:25:39 -04:00
Randall Morey
53a5f91ccf
feat: 🎸 add host set management support for tagets in API layer
2020-08-24 18:03:45 -04:00
Susmitha Girumala
748e42a64f
chore: Add target model to addons/api
2020-08-21 11:48:24 -04:00
Randall Morey
b86f05e977
feat: 🎸 add host API support and mocks
2020-08-14 15:16:35 -04:00
Randall Morey
013395eec1
feat: 🎸 add initial modeling for host sets
2020-08-13 17:05:09 -04:00
Randall Morey
971e483d01
feat: 🎸 add principals list tab
2020-08-12 13:41:23 -04:00
Randall Morey
e142e99fdb
refactor: 💡 model grants as a fragment-array for statefulness
2020-08-07 18:19:58 -04:00
Randall Morey
bfe5926293
refactor: change name to fragment-scope
2020-07-22 12:44:41 -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
ae018db410
chore: rip out org and project models
2020-07-15 17:17:11 -04:00
Randall Morey
eb4b29ac1b
chore: 🤖 introduce Scope model with self relationships
2020-07-14 18:47:35 -04:00
Susmitha Girumala
c563996a0c
chore: 🤖 Add user model to api addon
2020-06-22 14:29:28 -04:00
Susmitha Girumala
9de93247ee
chore: 🤖 Add group model to api addon
2020-06-22 14:25:01 -04:00
Susmitha Girumala
b07bb766ce
chore: 🤖 Add role model to api addon
2020-06-22 14:18:51 -04:00
Randall Morey
81b7ddbc11
chore: 🤖 integrate organization model and mocks with core ui
2020-06-18 14:22:31 -04:00
Randall Morey
096d125f16
chore: 🤖 add organization and auth method models
2020-06-17 18:00:38 -04:00
Randall Morey
7132b59a76
chore: 🤖 add host catalog model and adapter
2020-06-04 16:32:16 -04:00
Randall Morey
ae535c607e
chore: 🤖 setup API concerns for project resource
2020-05-19 16:33:31 -04:00