Postman collection
The collection may contain some mistakes but overall it works. To clarify API see https://dev.folio.org/reference/api/endpoints/
Environment variables explanation
kongHost - the host of Kong service (consrtium - https://ecs-folio-edev-dojo-kong.ci.folio.org
diku - https://folio-edev-dojo-kong.ci.folio.org
)
token - jwt token from login operations (keycloak one or casual eureka)
tenant - the name of tenant, against which you run requests
client_id - the id of client in keycloak for a tenant/realm(obtained there by using admin panel)
client_secret - the password of client in keycloak for a tenant/realm
username - the username of a user in eureka
pass - the password of a user in eureka
Client vs user
Client is related to keycloak authentication mechanism, user is related to entities created in eureka for authentication
Obtaining client_secret
You can obtain secret after creating a new tenant. Select the created realm, go to clients, choose sidecar-module-access-client
, go to credentials. There is a client’s secret.
For master realm secret is static. No need to take it everytime.