1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-28 00:17:12 +01: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
addon-service.e2e.test.ts
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
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
project-health-service.e2e.test.ts
project-service.e2e.test.ts fix: lint 2022-03-03 16:26:25 +01:00
reset-token-service.e2e.test.ts
session-service.e2e.test.ts
setting-service.test.ts
user-service.e2e.test.ts