1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-23 20:07:40 +02:00
unleash.unleash/src/test/e2e/services
sighphyre e889d8e29c feat: Implement multi token support for client tokens
This adds support for multi project tokens to be created. Backward compatibility is handled at 3 different layers here:

- The API is made backwards compatible though a permissive data type that accepts either a project?: string or projects?: string[] property, validation is done through JOI here, which ensures that projects and project are not set together. In the case of neither, this defaults to the previous default of ALL_PROJECTS
- The service layer method to handle adding tokens has been made tolerant to either of the above case and has been deprecated, a new method supporting only the new structure of using projects has been added
- Existing compatibility for consumers of Unleash as a library should not be affected either, the ApiUser constructor is now tolerant to the the first input and will internally map to the new cleaned structure
2022-04-06 08:11:41 +02:00
..
access-service.e2e.test.ts fix: Prevent deletion of built in roles 2022-01-14 10:30:34 +02:00
addon-service.e2e.test.ts fix: be explicit when specifying time & replace moment with date-fns (#1072) 2021-11-02 15:13:46 +01:00
api-token-service.e2e.test.ts feat: Implement multi token support for client tokens 2022-04-06 08:11:41 +02:00
client-metrics-service.e2e.test.ts fix: rename services 2021-12-10 09:31:54 +01:00
environment-service.test.ts chore: extend tests for enabled environments 2022-03-16 14:29:11 +02:00
feature-toggle-service-v2.e2e.test.ts Fix/validate context (#1282) 2022-01-21 12:02:05 +01:00
project-health-service.e2e.test.ts feat: clean up events (#1089) 2021-11-12 13:15:51 +01:00
project-service.e2e.test.ts fix: lint 2022-03-03 16:26:25 +01:00
reset-token-service.e2e.test.ts feat: Disable password based login (#1046) 2021-10-29 10:25:42 +02:00
session-service.e2e.test.ts fix: be explicit when specifying time & replace moment with date-fns (#1072) 2021-11-02 15:13:46 +01:00
setting-service.test.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
user-service.e2e.test.ts fix: Update updateUser code to reject empty emails (#1210) 2022-01-03 20:14:56 +01:00