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

Add sql-runner module and deployment example #2

Merged
merged 3 commits into from
Aug 5, 2024

Conversation

tinaselenge
Copy link
Contributor

No description provided.

Copy link
Contributor

@robobario robobario left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tinaselenge

Did upstream have any unit tests we can extend? It would be great to get some coverage on both classes.

pom.xml Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
flink-sql-runner/pom.xml Show resolved Hide resolved
flink-sql-runner/Dockerfile Outdated Show resolved Hide resolved
flink-sql-runner/pom.xml Outdated Show resolved Hide resolved
flink-sql-runner/pom.xml Outdated Show resolved Hide resolved
flink-sql-runner/pom.xml Outdated Show resolved Hide resolved
Copy link
Contributor

@SamBarker SamBarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making a start on this @tinaselenge @katheris I don't have anything that needs fixed in in this PR

flink-sql-runner/pom.xml Show resolved Hide resolved
flink-sql-runner/pom.xml Outdated Show resolved Hide resolved
flink-sql-runner/pom.xml Outdated Show resolved Hide resolved
String namespace = matcher.group(1);
String secretName = matcher.group(2);
String secretKey = matcher.group(3);
String secretValue = getSecretValue(namespace, secretName, secretKey);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should actually extract the resolver as an interface and inject that into this class (happy to do/see that work done separately) but it would make testing this a lot easier.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have noted this in the issue for adding unit tests.

@tinaselenge
Copy link
Contributor Author

Thank you @robobario @SamBarker for reviewing the PR. I have addressed the comments and raised issues for the suggested improvements to make later.

Copy link
Contributor

@robobario robobario left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tinaselenge tinaselenge merged commit 4e9c87f into streamshub:main Aug 5, 2024
@tinaselenge tinaselenge deleted the sql-runner branch August 5, 2024 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants