Skip to content
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

Monetization feature should utilize gateway token instead of onprem token #12177

Open
fazlan-nazeem opened this issue Jan 3, 2022 · 0 comments
Labels

Comments

@fazlan-nazeem
Copy link

fazlan-nazeem commented Jan 3, 2022

Describe your problem(s)

Internet access to the choreo analytics query-api will be removed in the near future. Any use cases that require to access the Insights API needs to go through the URL exposed via Choreo Gateway from there onwards.

At the moment, monetization feature in APIM 4.0 uses the configured onprem key to fetch the hit count. As explained above, this will break once internet access is removed.

Describe your solution

This needs to change to use a separate key(a new config instead of onprem key) which will have the gateway token value once internet access is removed. This fix needs to go to both APIM 4.0(WUM) and 4.1.

Documentation also needs to be modified explaining how to generate a token which works with the choreo gateway. The url of the query api should point to the Insights API exposed in choreo control plane gateway.

How will you implement it


Optional Fields

Related Issues:

Suggested Labels:

Suggested Assignees:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants