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

ISPN-14724 Create a simple DSL to build Protocol Buffers schema #10761

Merged
merged 2 commits into from Apr 14, 2023

Conversation

fax4ever
Copy link
Contributor

@tristantarrant
Copy link
Member

tristantarrant commented Apr 1, 2023

I would put this in the infinispan-api module so it can be used in both embedded and remote deployments

@fax4ever
Copy link
Contributor Author

fax4ever commented Apr 1, 2023

Moved to the api module and added a real test.

@fax4ever fax4ever changed the title ISPN-14724 Define a builder helper to define custom proto schema ISPN-14724 Create a simple DSL to build Protocol Buffers schema Apr 2, 2023
.embedded()
.build();

assertThat(proto).isNotBlank();
Copy link
Member

Choose a reason for hiding this comment

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

Maybe compare with a .proto in src/test/resources

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This file was supposed to be deleted, but I forgot to do that. I removed it.
The process is tested in the HotRod client module using our validation system and I just added the file comparison.

@fax4ever
Copy link
Contributor Author

fax4ever commented Apr 4, 2023

Thanks @tristantarrant, I think I fixed it.

@tristantarrant tristantarrant merged commit 5ab83a0 into infinispan:main Apr 14, 2023
3 of 4 checks passed
@tristantarrant
Copy link
Member

Merged, thanks

@fax4ever fax4ever deleted the ISPN-14724 branch April 14, 2023 13:19
@fax4ever
Copy link
Contributor Author

Thank you

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