Commit Graph
26 Commits
Author SHA1 Message Date
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]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 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 e80708eeb4 refactor: 💡 implement new pathing for groups 2020-09-09 16:24:48 -04:00
Randall Morey 2eeb73b622 test: 💍 add tests for adapter and serializer scope options 2020-09-03 14:48:59 -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 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
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
Randall Morey dc20d6ef02 chore: 🤖 add convenience identifiers to error objects 2020-06-17 12:12:32 -04:00
Randall Morey d2e55b19a1 chore: 🤖 add error handling support to API 2020-06-03 17:58:24 -04:00
Randall Morey ebdb938ca6 chore: 🤖 improve adapters and serializers to match API 2020-05-21 09:22:56 -04:00
Randall Morey ae535c607e chore: 🤖 setup API concerns for project resource 2020-05-19 16:33:31 -04:00