-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
False
-
-
False
-
Unset
-
No
-
-
-
2
-
Plat-Ex Services Sprint 4, Plat-Ex Services Sprint 7, Plat-Ex Services Sprint 8
The current docs we generate in JS clients are obsolete, let's change that.
https://github.com/RedHatInsights/javascript-clients
For example in RBAC:
methods are available in the new location
https://github.com/RedHatInsights/javascript-clients/tree/42b6973ff077edc24e5cf737782916b5bde0ff8e/packages/notifications/utils
API usage should look like this:
import APIFactory from '@redhat-cloud-services/rbac-client/utils'; import listGroups from '@redhat-cloud-services/rbac-client/ListGroups'; import createGroup from '@redhat-cloud-services/rbac-client/CreateGroup'; import updateGroup from '@redhat-cloud-services/rbac-client/UpdateGroup'; const groupApi = APIFactory(RBAC_API_BASE, undefined, { listGroups, createGroup, updateGroup });
- is related to
-
RHCLOUD-28413 Q3 2023 Plat-ex Services Tech Debt/Bugs
- Closed