lisbet-alvarez and Cameron Perera
27a676774c
Icu 5232 credential mirage mocks ( #1204 )
...
* feat: 🎸 Add mirage mocks for credential
✅ Closes: ICU-5232
* chore: 🤖 Update Credential Store factory to handle credentials
✅ Closes: ICU-5232
* feat: 🎸 Added mirage mocks for credential
✅ Closes: ICU-5232
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2022-07-21 13:48:16 -07: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
94530cec9c
Feature cross scope group members ( #1196 )
...
* chore: 🤖 add scope column to role principals and group members
* chore: 🤖 add recursion and filtering to user and group mocks
* feat: 🎸 expose groups and roles on projects
* feat: 🎸 enable cross-scope assignment of group members
2022-07-18 16:36:43 -07:00
Randall Morey
31cf696902
Feature expose roles groups in projects - ICU-4512 ( #1192 )
...
* chore: 🤖 add scope column to role principals and group members
* chore: 🤖 add recursion and filtering to user and group mocks
* feat: 🎸 expose groups and roles on projects
2022-07-18 16:15:51 -07:00
Randall Morey
c2083aefab
chore: 🤖 add recursion and filtering to user and group mocks - ICU-4528 ( #1190 )
...
* chore: 🤖 add scope column to role principals and group members
* chore: 🤖 add recursion and filtering to user and group mocks
2022-07-18 15:53:34 -07:00
Dharini Jeeva
b6a811cbbd
fix: 🐛 filter out scopes with no auth methods ( #1115 )
...
* fix: 🐛 filter out scopes with no authenticatable auth methods
2022-07-18 09:08:09 -07:00
Dharini Jeeva
6b3091ea1b
chore: 🤖 update to credential source ( #1146 )
2022-06-20 09:45:50 -07:00
Randall Morey and dharini
4ef66fdd29
Add minimum support for static credential stores to admin UI ( #1145 )
...
* cred store read ability
* filter out static cred stores and credentials from credential libraries
* chore: 🤖 finish up minimum static cred store support
Co-authored-by: dharini <dharini@hashicorp.com >
2022-06-18 10:56:25 -04:00
Randall Morey
af3cfb7298
chore: 🤖 generate more realistic mock IDs ( #1117 )
...
* chore: 🤖 generate more realistic mock IDs
* Update id.js
2022-06-01 14:02:18 -04:00
Zed
670f38df74
feat: 🎸 Add mirage data for the worker_filter ( #1051 )
...
* feat: 🎸 Add mirage data for the "worker_filter" attribute
✅ Closes: ICU-3888
2022-04-12 17:42:13 -04:00
Carlos Alcaide Corvo
fe7cb014a0
feat: 🎸 Add default custom Model for mirage ( #1013 )
...
* feat: 🎸 Add default custom Model for mirage
2022-03-17 11:05:41 -07:00
Dharini Jeeva
e153cf1be6
chore: 🤖 Update mirage responses to support SSH targets ( #1021 )
...
* feat: 🎸 add type check helper methods to target model
* chore: 🤖 include ssh type to target mirage data
2022-03-14 11:35:10 -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
Carlos Alcaide Corvo
46c54fb22d
fix: 🐛 Fixt host mock data attributes
...
Refactor ip_addresses, dns_names and external_id to not be nested under
attributes: {} when generating mock data.
2022-02-15 15:12:20 -08:00
Randall Morey
021097ad44
fix: append ?plugin_name to dynamic host catalog create requests
2022-02-14 14:57:34 -05:00
Carlos Alcaide Corvo
fe3310ddd1
Simplify conditional
2022-02-11 13:18:19 -08:00
Carlos Alcaide Corvo
cdaf6a84e0
Merge branch 'main' into feat-add-host-fields-to-mirage
2022-02-11 12:35:41 -06:00
Carlos Alcaide Corvo
44f81118ec
feat: 🎸 Add host fields to mirage
...
Add host new fields to mirage.
2022-02-11 10:16:23 -08:00
Carlos Alcaide Corvo
8546275249
fix: 🐛 Fix filter field for host-set in mirage
...
Fix the filter field for host-set in mirage. It was returning an error
rather than a string.
2022-02-11 08:51:22 -08:00
Carlos Alcaide Corvo
ee06a9c825
chore: 🤖 Refactor mirage for GET host-catalog
...
Refactor mirage data for GET host-catalog method.
2022-02-08 16:08:20 -08:00
Carlos Alcaide Corvo
e52093c6ed
PR suggestions applied
2022-02-04 09:26:26 -08:00
Carlos Alcaide Corvo
4f14891c84
Add new fields to mirage
2022-02-03 14:31:21 -08:00
Randall Morey
a7bf8008a7
chore: 🤖 more realistic mock grants for dynamic host catalogs
2022-02-02 17:04:09 -05:00
Dharini Jeeva
c5ced9f36f
Merge branch 'main' into feature-add-host-type-basic-support
2022-01-28 08:47:53 -08:00
Carlos Alcaide Corvo
e150b15f00
Add default value for type in mirage
2022-01-27 11:36:29 -08:00
Carlos Alcaide Corvo
10806da5c2
Merge branch 'main' into chore-unknown-type
2022-01-27 12:59:00 -06:00
Carlos Alcaide Corvo
6ad42a5eaa
Move plugin field generation from generated to a factory
2022-01-27 10:17:34 -08:00
Carlos Alcaide Corvo
bb9d99eefb
Add mirage support
2022-01-27 10:17:34 -08:00
Carlos Alcaide Corvo
e7cf4c99a5
Refactor type in host-set factory
2022-01-26 14:41:39 -08:00
Carlos Alcaide Corvo
92b4dccf78
Default state for type, then if there is host-catalog as parent, inherit its type
2022-01-26 13:42:58 -08:00
Carlos Alcaide Corvo
f0b2152130
Inherit type from host-catalog
2022-01-26 12:34:31 -08:00
Carlos Alcaide Corvo
cbc732e9dd
Move mirage plugin field to a factory. Now plugin inherits from host-catalog
2022-01-26 12:30:21 -08:00
Carlos Alcaide Corvo
676c3e0ad0
Type gets inherit from host-catalog
2022-01-26 10:11:25 -08:00
Randall Morey
6e77ea655f
chore: 🤖 add support for "unknown" dynamic host catalogs
2022-01-26 13:03:21 -05:00
Carlos Alcaide Corvo
995c79804a
Add random type values in mirage
2022-01-26 08:02:54 -08:00
Carlos Alcaide Corvo
26887b3cfe
feat: 🎸 Add basic type support for host-set
...
Add basic type support for host-set
2022-01-26 08:02:54 -08:00
Carlos Alcaide Corvo
ffb00c708f
Refactor mirage factory. Rephrase test description. Refactor some tests to not test secret fields
2022-01-24 10:01:17 -08:00
Carlos Alcaide Corvo
12bb8203c2
Change mirage attributes to factory
2022-01-21 14:45:21 -08:00
Carlos Alcaide Corvo
9558f2e480
Modify serializer test to not test field exclusion. Add to mirage more host-catalogs. Add to mirage new fields per host-catalog
2022-01-20 12:55:31 -08:00
Randall Morey
2595ea7f2e
Merge branch 'main' into refactor-render-template-auth-methods
2022-01-20 10:37:55 -05:00
Randall Morey
cd30e05e2e
refactor: 💡 replace renderTemplate with components
2022-01-14 16:56:59 -05:00
Carlos Alcaide Corvo and Randall Morey
8007762bd1
Update addons/api/mirage/generated/factories/host-catalog.js
...
Co-authored-by: Randall Morey <randall@hashicorp.com >
2022-01-14 15:15:13 -06:00
Carlos Alcaide Corvo and Randall Morey
bdc9dacdce
Update addons/api/mirage/generated/factories/host-catalog.js
...
Co-authored-by: Randall Morey <randall@hashicorp.com >
2022-01-14 15:15:08 -06:00
Carlos Alcaide Corvo
2d263734d8
Delete unnecesary return
2022-01-13 13:22:09 -08:00
Carlos Alcaide Corvo
b3c49c43ea
feat: 🎸 Add basic type support for host catalog
2022-01-12 15:34:12 -08:00
Randall Morey
02858bbacb
fix: broken development mocks
2021-12-16 16:56:35 -05:00
Randall Morey
69ac051786
feature: implement project filtering in desktop targets
2021-12-16 16:37:19 -05:00
Randall Morey
ac5710979a
refactor: 💡 apply type to host catalog and distribute down
2021-12-15 13:15:31 -05:00
Carlos Alcaide Corvo
aaa205b4e0
Add different host types in Mirage. Add conditional in admin host-catalog hosts list to just show type=static
2021-12-14 08:08:15 -08:00