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

feat: enable selective generation based on service config include list #3323

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

zhumin8
Copy link
Contributor

@zhumin8 zhumin8 commented Oct 29, 2024

following changes in client.proto that propagated to ClientProto.java (pr), apply changes from poc pr (#3129).

For context: go/selective-api-gen-java-one-pager, b/356380016

@product-auto-label product-auto-label bot added the size: l Pull request size is large. label Oct 29, 2024
@zhumin8 zhumin8 requested a review from blakeli0 October 30, 2024 15:11
Copy link

sonarcloud bot commented Oct 30, 2024

Copy link

sonarcloud bot commented Oct 30, 2024

Quality Gate Passed Quality Gate passed for 'java_showcase_integration_tests'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@zhumin8 zhumin8 marked this pull request as ready for review October 30, 2024 20:18
}
List<String> includeMethodsList =
librarySettingsList
.get(0)
Copy link
Contributor Author

@zhumin8 zhumin8 Oct 31, 2024

Choose a reason for hiding this comment

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

from in-person review: Add comment about .get(0)

@@ -101,4 +101,14 @@ void generateGrpcServiceStubClass_callableNameType() {
Assert.assertGoldenClass(this.getClass(), clazz, "GrpcCallableNameTypeStub.golden");
Assert.assertEmptySamples(clazz.samples());
}

@Test
Copy link
Contributor Author

@zhumin8 zhumin8 Oct 31, 2024

Choose a reason for hiding this comment

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

from in-person review: remove golden test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant