-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RHCLOUD-37430 | fix: integrations are not being returned sometimes #3256
Changes from 2 commits
d2128d2
9f3f2c3
7b43dfe
38464ad
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,16 +109,16 @@ quarkus.unleash.url=http://localhost:4242 | |
quarkus.log.category."com.redhat.cloud.notifications.routers.internal.kessel.KesselAssetsMigrationService".min-level=TRACE | ||
quarkus.log.category."com.redhat.cloud.notifications.auth.kessel".min-level=TRACE | ||
|
||
inventory-api.authn.client.id=insights-notifications | ||
inventory-api.authn.client.id=svc-test | ||
inventory-api.authn.client.issuer=http://localhost:8084/realms/redhat-external | ||
inventory-api.authn.client.secret=development-value-123 | ||
inventory-api.authn.client.secret=h91qw8bPiDj9R6VSORsI5TYbceGU5PMH | ||
inventory-api.authn.mode=oidc-client-credentials | ||
inventory-api.is-secure-clients=false | ||
inventory-api.target-url=${clowder.endpoints.kessel-inventory-api:localhost:9081} | ||
|
||
relations-api.authn.client.id=insights-notifications | ||
relations-api.authn.client.id=svc-test | ||
relations-api.authn.client.issuer=http://localhost:8084/realms/redhat-external | ||
relations-api.authn.client.secret=development-value-123 | ||
Comment on lines
-112
to
-121
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These are the default values when launching the Kessel's Inventory API with the authentication enabled: https://github.com/project-kessel/inventory-api/blob/e0fc00b00af6af4977f8b4c66230a34f850da4a2/scripts/get-token.sh In order to simplify things, I think it's just better to leave the credentials like this by default. It eases development and debugging, and since the credentials are public facing, I think it is just safe to have them here. |
||
relations-api.authn.client.secret=h91qw8bPiDj9R6VSORsI5TYbceGU5PMH | ||
relations-api.authn.mode=oidc-client-credentials | ||
relations-api.is-secure-clients=false | ||
relations-api.target-url=${clowder.endpoints.kessel-relations-api:localhost:9000} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even though it is not used right now, I thought that we might want to change our approach in the future depending on the usage we make of the Kessel integration. That way we'll have access to both "pre-filtering" and "post-filtering" methods in case we want to get creative.