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

[DRAFT] - Code to generate spring autoconfig modules. (not intended to merge) #1030

Closed
wants to merge 107 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
ced6302
add ClassComposer to generate spring bean.
zhumin8 Mar 30, 2022
be4814a
add composer on top of class composer.
zhumin8 Mar 30, 2022
96288f2
add to generator and adding comments.
zhumin8 Mar 30, 2022
558f2c5
add conditionOnClass annotation, parameter not set yet.
zhumin8 Apr 12, 2022
c2dfbe0
update name for packaga and class produced.
zhumin8 Apr 13, 2022
fce0945
producing [name]_java_gapic_srcjar-spring.srcjar.
zhumin8 Jun 27, 2022
7051858
adding spring content to produced google-cloud-[name]-v1-java.tar.gz.
zhumin8 Jun 29, 2022
f9199fd
added private member and constructor to spring autoconfig composer. c…
zhumin8 Jun 30, 2022
8ba06f8
Merge branch 'main' into autoconfig-gen-draft2
zhumin8 Jul 11, 2022
fbdc282
use new lambdaExpr infer type feature.
zhumin8 Jul 11, 2022
7390d7a
adding writing spring.factories. also adjust output path to google-cl…
zhumin8 Jul 11, 2022
b937bb1
added RETRY_PARAM_DEFINITIONS map to generated code.
zhumin8 Aug 9, 2022
cc14a8c
added SpringPropertiesClassComposer and test. Added util method to Re…
zhumin8 Aug 23, 2022
5882774
added class annotation and interface to SpringProperties class. Also …
zhumin8 Aug 23, 2022
05befeb
come code cleanups and added 2 more needed class annotations.- with p…
zhumin8 Aug 24, 2022
1d16132
comment out not needed code for constructor.
zhumin8 Aug 24, 2022
25f7bb8
create CredentialsProvider Bean method.
zhumin8 Aug 24, 2022
0643085
create TransportChannelProvider Bean.
zhumin8 Aug 24, 2022
697d89c
building service client bean. Basic settings.
zhumin8 Aug 25, 2022
71b66e6
added 2 if statements and todo comments to service client bean.
zhumin8 Aug 25, 2022
7b67cfd
adding if statements to client bean creation.
zhumin8 Aug 26, 2022
37e5cfa
minor cleanup edits.
zhumin8 Aug 26, 2022
53400f6
move added spring composers to new package.
zhumin8 Aug 26, 2022
906f9bf
add expected generated property class to test.
zhumin8 Aug 30, 2022
a571639
cleanup unused code in test.:
zhumin8 Aug 30, 2022
25716ef
move additional code out of gapic RetrySettingsComposer.
zhumin8 Aug 30, 2022
f4aa900
separate out spring generator.
zhumin8 Aug 30, 2022
a45fd18
back out changes to protowriter/Writer and creat a copy for Spring code.
zhumin8 Aug 30, 2022
899a4a7
some cleanups: remove unused code, add comment reminder.
zhumin8 Aug 31, 2022
ee62131
Add let writer produce additional-spring-configuration-metadata.json.…
zhumin8 Sep 6, 2022
fe5baf1
fix spring.factories package name. fix transport condition to gen spr…
zhumin8 Sep 7, 2022
de183ed
messy wip. adding retry settings with null check to autoconfig.
zhumin8 Sep 7, 2022
db5af15
complete retry settings in autoconfig and changes in properties. clea…
zhumin8 Sep 7, 2022
63ec5d3
minor change: move generated metadate and package.info under spring f…
zhumin8 Sep 9, 2022
37be29c
back out unrelated change in RetrySettingsComposer.
zhumin8 Sep 9, 2022
bd1f309
Merge branch 'main' into autoconfig-gen-draft2
zhumin8 Sep 9, 2022
b0e2908
fix: getter/setters double to Double.
zhumin8 Sep 9, 2022
ada6e92
fix(Spring CodeGen): switch to Spring boot 2.7 style in registering a…
zhumin8 Oct 3, 2022
3cd3419
fix: Cleanups on code (#1054)
zhumin8 Oct 4, 2022
9f44215
fix(Spring CodeGen): Update missing and placeholder annotations (#1045)
emmileaf Oct 4, 2022
8de6c5c
fix(Spring CodeGen): Use service-specific CredentialsProvider in anno…
emmileaf Oct 7, 2022
2b11de7
test(Spring CodeGen): Set up golden file tests for spring class compo…
emmileaf Oct 11, 2022
07dfa79
fix(Spring CodeGen): Update and move naming-related logic into utils …
emmileaf Oct 18, 2022
1818d0b
feat(log): added log statements to gend autocfg (#1053)
diegomarquezp Oct 22, 2022
c45ec23
feat(Spring CodeGen): Add customized spring composer for package info…
emmileaf Oct 24, 2022
c51d51b
feat(Spring CodeGen): write pom.xml with SpringWriter. (#1057)
zhumin8 Oct 26, 2022
cb83057
test(spring): add tests for content-building methods in SpringWriter …
emmileaf Nov 2, 2022
0019265
feat(SpringGen): adding extra annotations at the `SpringComposer` ste…
zhumin8 Nov 2, 2022
e754a7c
fix(deps): update dependency org.yaml:snakeyaml to v1.32 (#1037)
renovate-bot Sep 13, 2022
dba69f4
fix(deps): update dependency com.google.cloud:google-cloud-shared-dep…
renovate-bot Sep 15, 2022
ce93705
chore(deps): update dependency org.apache.maven.plugins:maven-shade-p…
renovate-bot Sep 20, 2022
d615305
fix(deps): update dependency org.yaml:snakeyaml to v1.33 (#1043)
renovate-bot Sep 26, 2022
e58bf9d
fix(deps): update dependency com.google.cloud:google-cloud-shared-dep…
renovate-bot Oct 3, 2022
4b5eadb
fix: Get numeric value for Enum fields if it is configured as query p…
blakeli0 Oct 3, 2022
bd5599f
chore(deps): update dependency com.google.auto.value:auto-value to v1…
renovate-bot Oct 10, 2022
eb94f30
fix: update sample region tag to parse host instead of proto package …
alicejli Oct 13, 2022
c768691
deps: Upgrade protobuf to 3.21.7 (#1048)
blakeli0 Oct 20, 2022
3282e0f
chore(main): release 2.10.1 (#1036)
release-please[bot] Oct 20, 2022
38010fd
fix: update regionTag to use service name (#1047)
alicejli Oct 24, 2022
aa1782d
fix(deps): update dependency com.google.cloud:google-cloud-shared-dep…
renovate-bot Oct 24, 2022
e8ee82f
chore(main): release 2.10.2 (#1067)
release-please[bot] Oct 24, 2022
6774245
chore(deps): update dependency org.apache.maven.plugins:maven-shade-p…
renovate-bot Oct 28, 2022
2ebe948
refactor: expose parsed api short name and version as fields in Servi…
emmileaf Oct 31, 2022
5346eef
fix: fix REST transport client creation generated javadoc sample (#1077)
vam-google Nov 1, 2022
cd35be8
fix: fixes regionTag breakage (#1068)
alicejli Nov 1, 2022
63b9bce
chore(main): release 2.10.3 (#1079)
release-please[bot] Nov 2, 2022
9e4721f
fix(ast): add import generation for annotations on VariableExpr (#1076)
emmileaf Nov 3, 2022
0bbfc59
test: update golden files after annotations import fix
emmileaf Nov 3, 2022
a8dfd80
fix: Revert "chore: merge main into autoconfig-gen-draft2" (#1083)
emmileaf Nov 3, 2022
6b462cd
Merge branch 'main' into autoconfig-gen-draft2
emmileaf Nov 3, 2022
9c8c638
test: update golden files after merging annotations import fix from main
emmileaf Nov 3, 2022
38459cc
feat(comment): autoconfig gen draft2 javadoc2 (#1060)
diegomarquezp Nov 3, 2022
4544c72
Merge branch 'main' into autoconfig-gen-draft2
diegomarquezp Nov 7, 2022
5fb9091
fix(Spring CodeGen): To only include options to set to rest transport…
zhumin8 Nov 7, 2022
5f637cc
fix(spring): use parsed api shortname as libname (#1084)
emmileaf Nov 9, 2022
86fd9dd
fix(Spring CodeGen): Add user-agent header to generated client for me…
zhumin8 Nov 10, 2022
c79dab2
fix(spring codegen): use client-library-artifact-id as pom artifactId…
zhumin8 Nov 14, 2022
b873b60
fix(spring): update setters for properties of type Duration (#1093)
emmileaf Nov 16, 2022
f877870
feat(bazel): detach spring bazel rules (#1065)
diegomarquezp Nov 16, 2022
0f7d580
fix(spring): add parent and remove maven-jar-plugin from pom string. …
zhumin8 Nov 17, 2022
13290c2
fix(spring): eliminate raw-types and remove unnecessary cast (#1095)
burkedavison Nov 18, 2022
d5d626a
fix(spring): fix and refactor class names for autoconfiguration and p…
emmileaf Nov 18, 2022
ed4b39e
fix(Spring CodeGen): Add Spring dependencies to build files and use s…
zhumin8 Nov 21, 2022
8625e7c
fix(spring): fix write pom placeholders. (#1099)
zhumin8 Nov 23, 2022
8755403
feat(spring): use shared configuration (#1071)
diegomarquezp Nov 24, 2022
cc068c9
fix(spring): remove dependency versions that should be inherited. (#1…
zhumin8 Dec 1, 2022
dbb105e
feat: set logging level to trace (#1104)
diegomarquezp Dec 1, 2022
59ecb5b
fix(spring): change @Generated description to spring specific. (#1103)
zhumin8 Dec 1, 2022
9fc2a5c
fix(spring): set autoconfig to be enabled by default. (#1107)
zhumin8 Dec 2, 2022
405e361
feat: service settings as a bean (#1110)
diegomarquezp Dec 14, 2022
92e3bfa
fix(spring): Replace global properties with CredentialsProvider bean …
zhumin8 Dec 16, 2022
63291e0
build(spring): update spring branch with Bazel CI fix from main (#1164)
emmileaf Dec 20, 2022
d0b45cc
fix(spring): refactor retry settings to service and method-level nest…
emmileaf Dec 20, 2022
cb08241
changed parent and version, removed client library version. (#1141)
zhumin8 Dec 21, 2022
7f550b5
fix(spring): add javadoc comments for properties (#1171)
emmileaf Dec 21, 2022
79a288f
fix: remove spring.auto from property prefix. (#1176)
zhumin8 Dec 22, 2022
52cf4a8
fix: add name to ConditionalOnMissingBean when creating bean (#1207)
zhumin8 Jan 4, 2023
62153dc
fix(spring): Separate out client settings bean and client bean commen…
zhumin8 Jan 4, 2023
9b7336d
fix(spring): add AutoConfigureAfter annotation (#1208)
emmileaf Jan 6, 2023
bfef416
fix(spring): limit retry settings configuration by method type (#1212)
emmileaf Jan 10, 2023
31d4406
fix(spring): fix method javadoc missing @param and @return (#1226)
zhumin8 Jan 10, 2023
8736c61
fix(spring): use newHttpJsonBuilder in settings bean for REST transpo…
emmileaf Jan 10, 2023
a3d86b0
fix(spring): switch camelcase conversion logic to use JavaStyle (#1245)
emmileaf Jan 13, 2023
e06aa48
chore(spring): add release-please annotations to pom template (#1259)
emmileaf Jan 19, 2023
26c2e12
fix(spring): fix client and settings class names in comments (#1277)
emmileaf Jan 26, 2023
3f5db4d
fix(spring): update hasRestOption to exclude services with no rest-su…
emmileaf Feb 9, 2023
dcd0823
fix(spring): extend hasRestOption fix to properties composer and add …
emmileaf Feb 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore(main): release 2.10.3 (#1079)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
release-please[bot] authored and emmileaf committed Nov 3, 2022
commit 63b9bcedbfd7c9cf944869581125404d24a33ec9
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [2.10.3](https://github.com/googleapis/gapic-generator-java/compare/v2.10.2...v2.10.3) (2022-11-01)


### Bug Fixes

* Fix REST transport client creation generated javadoc sample ([#1077](https://github.com/googleapis/gapic-generator-java/issues/1077)) ([9ac0ca8](https://github.com/googleapis/gapic-generator-java/commit/9ac0ca80b09077f7880f0029b5d7b090a10a10b8))
* Fixes regionTag breakage ([#1068](https://github.com/googleapis/gapic-generator-java/issues/1068)) ([bed9f72](https://github.com/googleapis/gapic-generator-java/commit/bed9f721fbafb5f2e974b6f43f8455f2fdb581f7))

## [2.10.2](https://github.com/googleapis/gapic-generator-java/compare/v2.10.1...v2.10.2) (2022-10-24)


2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.10.2
2.10.3