61 Commits
Author SHA1 Message Date
Zhihe Li 5048fd478a feat: 🎸 Handle rate limiting (#3257)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12035
2026-05-14 15:21:07 -04:00
hashiccandZhihe Li 63b810d53f Migrate from ember-cli-mirage to miragejs (#3088)
* chore: 🤖 import explicit mirage references

* chore: 🤖 add mirage setupMirage helper

* chore: 🤖 working example with application adapter test

* chore: 🤖 use internal setupMirage test helper from api addon

* chore: 🤖 conditionally load mirage

* chore: 🤖 filter mirage folder inclusion in production builds

* chore: 🤖 drop ember-mirage and use our own test helpers

* chore: 🤖 collapse reference to import declaration

* docs: ✏️ add comment better explaining the mirage test env

* chore: 🤖 update configuration and manage mirage-related deps

* fix: 🐛 restore ipc mock and add missing checkOS handler

* chore: 🤖 add comment explaining omitting mirage deps in build

* chore: 🤖 allow mirage.enabled to include deps and handlers

* chore: 🤖 re-enable mirage for core dummy app

* Add missing copyright headers

* chore: 🤖 use embroider macros to conditionally start mirage

* docs: ✏️ update api readme for mirage changes

* chore: 🤖 replace remaining ember-cli-mirage references

* chore: 🤖 add mirage to test builds

* fix: 🐛 ensure that auto mirage start doesn't happen in test env

* chore: 🤖 use const instead of var

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* refactor: 💡 use cleaner logic for excluded api build modules

* fix: 🐛 handle issue where importSync was too eager

This was fixed by bumping the @embroider/macros dependency that includes
a fix to this issue:
https://github.com/embroider-build/embroider/pull/2511

* refactor: 💡 move mirage from addon to app directory

* refactor: 💡 update mirage test helper to be a factory

* chore: 🤖 exclude mirage directory when necessary at build time

* chore: 🤖 add miragejs as admin dev dependency

* refactor: 💡 update reference to startMirage

* chore: 🤖 update local mirage test helper

* chore: 🤖 change import path for mirage on desktop

* chore: 🤖 update imports in tests for startMirage

* chore: 🤖 update startMirage imports for api addon tests

* chore: 🤖 add miragejs dev dep to desktop

* docs: ✏️ update README

* chore: 🤖 set up setupMirage for core tests

* chore: 🤖 fix copyright header

* Add missing copyright headers

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2026-02-03 13:54:32 -05:00
Lisbet Alvarez 3ba93927fe Update copyright headers (#3146)
* empty commit

* Add missing copyright headers

* chore: 🤖 update copywrite config file with correct year

* Add missing copyright headers

* empty commit (gh action merge checks are stuck)
2026-01-28 17:09:06 -08:00
55e1e68f30 [COMPLIANCE] Update Copyright and License Headers (#3099)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Dharini <dharini@hashicorp.com>
2026-01-20 11:35:10 -05:00
Dharini Jeeva 9b1f052a56 chore: Update desktop client license from MPL to BSL (#2307)
* chore: 🤖 license
2024-05-31 11:29:24 -07:00
Zhihe LiandLisbet Alvarez d72fa0d6e3 feat: 🎸 Add indexedDb parser (#2068)
* feat: 🎸 Add indexedDb parser

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12164

---------

Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com>
2024-04-12 14:55:33 -04:00
Lisbet Alvarez 776c46f129 refactor: 💡 replace store.findAll with store.query (#2002)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11825
2024-01-16 10:17:45 -05: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
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
hashicorp-copywrite[bot] e8f15e2eab [COMPLIANCE] Add Copyright and License Headers 2023-06-19 16:23:53 +00:00
Zhihe Li 1e7268ff54 feat: 🎸 Add mirage data for ascii casts and use fetch (#129)
* feat: 🎸 Add mirage data for ascii casts and use fetch

✅ Closes: ICU-8189
2023-03-21 15:52:58 -04:00
Zhihe Li 5992829fa2 feat: 🎸 Add serializer and adapter for storage bucket (#117)
* feat: 🎸 Add serializer and adapter for storage bucket

✅ Closes: ICU-8358
2023-03-15 15:18:02 -04:00
hashicorp-copywrite[bot]andCameron 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
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
Carlos Alcaide Corvo 6f8afbb7af Chore update eslint and plugins update (#1171) 2022-07-07 11:18:51 -07:00
Randall Morey e0989fffe3 test: 💍 add missing adapter test 2022-02-14 17:10:54 -05:00
Randall Morey 021097ad44 fix: append ?plugin_name to dynamic host catalog create requests 2022-02-14 14:57:34 -05:00
Randall Morey 3aae7c124b chore: 🤖 remove lingering get-config instance 2021-11-05 12:33:09 -04:00
Susmitha Girumala ec870acba8 style: format addons/api 2020-09-16 14:29:02 -04:00
Randall Morey a13e93ec55 fix: 🐛 tweak validation error schema to match API 2020-09-11 12:01:56 -04:00
Randall Morey 795f3f5839 refactor: 💡 do not scope-prefix paths by default 2020-09-10 19:02:53 -04:00
Randall Morey ebf129d35b refactor: 💡 implement new pathing for hosts 2020-09-10 17:59:31 -04:00
Randall Morey 2d29d2216f refactor: 💡 implement new pathing for host sets 2020-09-10 16:57:11 -04:00
Randall Morey e359473811 refactor: 💡 implement new pathing for host catalogs 2020-09-10 16:19:27 -04:00
Randall Morey 76fe50c9e3 refactor: 💡 implement new pathing for roles 2020-09-10 11:03:44 -04:00
Randall Morey 4a63c6484f refactor: 💡 implement new pathing for users 2020-09-09 16:53:41 -04:00
Randall Morey e80708eeb4 refactor: 💡 implement new pathing for groups 2020-09-09 16:24:48 -04:00
Randall Morey a368d65d10 refactor: 💡 implement new pathing for auth methods 2020-09-09 12:24:01 -04:00
Randall Morey 48d4857821 fix: 🐛 pass scope_id in scope payload rather than query string 2020-09-08 11:58:01 -04:00
Randall Morey 2eeb73b622 test: 💍 add tests for adapter and serializer scope options 2020-09-03 14:48:59 -04:00
Randall Morey bce27df1f4 refactor: 💡 update to unprefixed target pathing 2020-09-03 14:35:05 -04:00
Randall Morey b86f05e977 feat: 🎸 add host API support and mocks 2020-08-14 15:16:35 -04:00
Randall Morey 2c1ff699f6 chore: 🤖 add adapter to generate URLs for host sets 2020-08-14 10:29:24 -04:00
Randall Morey 3b09ec80cd chore: 🤖 change custom method requests to use POST on update 2020-08-07 16:29:56 -04:00
Randall Morey 26388b8527 refactor: deduce scope path prefix in adapter rather than passing it via the model save method 2020-07-23 19:31:34 -04:00
Randall Morey d08d52e090 refactor: send scope_id query param on scope create, rather than serializing into the payload 2020-07-23 19:01:31 -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 81011b92e3 refactor: scopes prefix includes a /scopes/ part before ID 2020-07-22 13:12:05 -04:00
Randall Morey 45b419e641 chore: rename adapterOptions.scope_id to adapterOptions.scopeID 2020-07-16 18:22:44 -04:00
Randall Morey ae018db410 chore: rip out org and project models 2020-07-15 17:17:11 -04:00
Randall Morey e30ff96d05 test: store.findAll will request records from a specified scope ID 2020-07-15 17:00:51 -04:00
Randall Morey 9f48f8c85e chore: add support for scope_id in URL prefixes and method in URL suffixes 2020-07-15 16:23:38 -04:00
Randall Morey 9261941c1b chore: rip out scope service 2020-07-15 11:08:59 -04:00
Susmitha Girumala f8be2f381e Merge branch 'develop' into ICU-349-groups-basic-views 2020-06-29 13:03:08 -04:00
Susmitha Girumala e1985e10ee chore: 🤖 Update user breadcrumb display name 2020-06-29 11:06:27 -04:00
Susmitha Girumala f52539aabd Merge branch 'develop' into ICU-350-users-crud 2020-06-29 10:40:09 -04:00
Susmitha Girumala d688f55d71 chore: 🤖 Update groups breadcrumbs after refresh from develop
Update form errors in ui/core to use model errors object
2020-06-29 10:38:02 -04:00
Susmitha Girumala d65c68182b Merge remote-tracking branch 'origin/develop' into ICU-349-groups-basic-views 2020-06-29 10:26:57 -04:00
Randall Morey de8d912410 fix: 🐛 prenormalize findAll responses in application adapter
Ember Data fetch-manager will throw an error if an array resposne is an
empty object before it reaches the serializer.  Thus we need to
intercept the response in the adapter and "prenormalize" it to contain
an empty items array `{items: []}`.
2020-06-25 14:13:52 -04:00
Susmitha Girumala 98c7d003a0 chore: 🤖 List groups under /groups page 2020-06-24 17:07:32 -04:00