-
Notifications
You must be signed in to change notification settings - Fork 4
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
add configs to accept license and verify it #386
Conversation
This patch makes the following changes to integrate license verification: 1. Adds responsive.license and responsive.license.file configs to allow the user to configure their license. 2. ResponsiveKafkaStreams validates the license if the user has not configured a cloud API key. The user could technically get around the license verification by configuring a bogus key. We assume that we won't have malicious users for now, and defer a more rigorous check to a future PR. We should do the check in the background and not block starting the app so that we don't depend on our cloud for the user's application to run. 3. Moves around some of the test license files so that we can use them from different tests.
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.
I feel like now that we have this all of our integration tests will fail, we probably need to add something to ResponsiveExtension
so that it will use a test licensek ey
@@ -0,0 +1 @@ | |||
{"keys": []} |
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.
I guess when we create the keys well update it here?
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.
yep, that's right!
This patch makes the following changes to integrate license verification: