Commit c25afad
fix: fixes regionTag breakage (#1068)
* fix: fixes regionTag breakage
* update credentials integration test
* removing getPureServiceName function
* linter
* refactor test
* chore(deps): update dependency org.apache.maven.plugins:maven-shade-plugin to v3.4.1 (#1072)
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.apache.maven.plugins:maven-shade-plugin](https://maven.apache.org/plugins/) | `3.4.0` -> `3.4.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/gapic-generator-java).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNC42LjEifQ==-->
* refactor: expose parsed api short name and version as fields in Service (#1075)
* Exposes parsed apiShortName and apiVersion as fields in Service.java, since the source fields (defaultHost and protoPakkage) are both defined per-service.
* Adds these two fields correspondingly to GapicClass so that it can be composed from Service given these two upstream fields, then replaces withDefaultHost (for building GapicClass) withApiShortName and withApiVersion. (Composers and tests where this is currently used for sample generation are updated)
* This change will enable Spring Codegen (when eventually split out from this repo) to reuse this parsing logic in descriptive comments and metadata. It also moves the parsing logic to earlier in the parse-compose process.
* fix: fix REST transport client creation generated javadoc sample (#1077)
* fix: fixes regionTag breakage
* remove errant comment
Co-authored-by: WhiteSource Renovate <[email protected]>
Co-authored-by: Emily Wang <[email protected]>
Co-authored-by: Vadym Matsishevskyi <[email protected]>1 parent 6f95554 commit c25afad
File tree
306 files changed
+1118
-746
lines changed- gapic-generator-java
- src
- main/java/com/google/api/generator/gapic/composer
- common
- grpcrest
- samplecode
- utils
- test/java/com/google/api/generator/gapic/composer
- samplecode
- utils
- test/integration/goldens
- bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/bigtable
- checkandmutaterow
- create
- mutaterows
- mutaterow
- readmodifywriterow
- readrows
- samplerowkeys
- credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials
- create
- generateaccesstoken
- generateidtoken
- signblob
- signjwt
- logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2
- configservicev2
- createbucket
- createexclusion
- createsink
- createview
- create
- deletebucket
- deleteexclusion
- deletesink
- deleteview
- getbucket
- getcmeksettings
- getexclusion
- getsink
- getview
- listbuckets
- listexclusions
- listsinks
- listviews
- undeletebucket
- updatebucket
- updatecmeksettings
- updateexclusion
- updatesink
- updateview
- loggingservicev2
- create
- deletelog
- listlogentries
- listlogs
- listmonitoredresourcedescriptors
- taillogentries
- writelogentries
- metricsservicev2
- createlogmetric
- create
- deletelogmetric
- getlogmetric
- listlogmetrics
- updatelogmetric
- pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1
- publisher
- createtopic
- create
- deletetopic
- detachsubscription
- getiampolicy
- gettopic
- listtopicsnapshots
- listtopicsubscriptions
- listtopics
- publish
- setiampolicy
- testiampermissions
- updatetopic
- subscriber
- acknowledge
- createsnapshot
- createsubscription
- create
- deletesnapshot
- deletesubscription
- getiampolicy
- getsnapshot
- getsubscription
- listsnapshots
- listsubscriptions
- modifyackdeadline
- modifypushconfig
- pull
- seek
- setiampolicy
- streamingpull
- testiampermissions
- updatesnapshot
- updatesubscription
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
306 files changed
+1118
-746
lines changedLines changed: 27 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
| 204 | + | |
204 | 205 | | |
205 | | - | |
| 206 | + | |
| 207 | + | |
206 | 208 | | |
207 | 209 | | |
208 | 210 | | |
| |||
580 | 582 | | |
581 | 583 | | |
582 | 584 | | |
583 | | - | |
| 585 | + | |
| 586 | + | |
584 | 587 | | |
585 | 588 | | |
586 | 589 | | |
| |||
598 | 601 | | |
599 | 602 | | |
600 | 603 | | |
601 | | - | |
| 604 | + | |
| 605 | + | |
602 | 606 | | |
603 | 607 | | |
604 | 608 | | |
| |||
638 | 642 | | |
639 | 643 | | |
640 | 644 | | |
641 | | - | |
| 645 | + | |
| 646 | + | |
642 | 647 | | |
643 | 648 | | |
644 | 649 | | |
| |||
702 | 707 | | |
703 | 708 | | |
704 | 709 | | |
705 | | - | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
706 | 716 | | |
707 | 717 | | |
708 | 718 | | |
| |||
746 | 756 | | |
747 | 757 | | |
748 | 758 | | |
749 | | - | |
| 759 | + | |
| 760 | + | |
750 | 761 | | |
751 | 762 | | |
752 | 763 | | |
| |||
790 | 801 | | |
791 | 802 | | |
792 | 803 | | |
793 | | - | |
| 804 | + | |
794 | 805 | | |
795 | 806 | | |
796 | 807 | | |
| |||
932 | 943 | | |
933 | 944 | | |
934 | 945 | | |
935 | | - | |
| 946 | + | |
| 947 | + | |
936 | 948 | | |
937 | 949 | | |
938 | 950 | | |
939 | 951 | | |
940 | 952 | | |
941 | 953 | | |
942 | 954 | | |
943 | | - | |
| 955 | + | |
| 956 | + | |
944 | 957 | | |
945 | 958 | | |
946 | 959 | | |
| |||
949 | 962 | | |
950 | 963 | | |
951 | 964 | | |
952 | | - | |
| 965 | + | |
| 966 | + | |
953 | 967 | | |
954 | 968 | | |
955 | 969 | | |
956 | 970 | | |
957 | 971 | | |
958 | 972 | | |
959 | 973 | | |
960 | | - | |
| 974 | + | |
| 975 | + | |
961 | 976 | | |
962 | 977 | | |
963 | 978 | | |
| |||
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
58 | 59 | | |
59 | | - | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | | - | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
Lines changed: 39 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
| 128 | + | |
130 | 129 | | |
131 | 130 | | |
132 | 131 | | |
| |||
141 | 140 | | |
142 | 141 | | |
143 | 142 | | |
144 | | - | |
| 143 | + | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
284 | | - | |
| 283 | + | |
285 | 284 | | |
286 | 285 | | |
287 | 286 | | |
| |||
297 | 296 | | |
298 | 297 | | |
299 | 298 | | |
300 | | - | |
| 299 | + | |
| 300 | + | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
| 400 | + | |
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
421 | | - | |
| 421 | + | |
| 422 | + | |
422 | 423 | | |
423 | 424 | | |
424 | 425 | | |
| |||
534 | 535 | | |
535 | 536 | | |
536 | 537 | | |
537 | | - | |
| 538 | + | |
538 | 539 | | |
539 | 540 | | |
540 | 541 | | |
| |||
546 | 547 | | |
547 | 548 | | |
548 | 549 | | |
549 | | - | |
| 550 | + | |
| 551 | + | |
550 | 552 | | |
551 | 553 | | |
552 | 554 | | |
| |||
578 | 580 | | |
579 | 581 | | |
580 | 582 | | |
581 | | - | |
| 583 | + | |
582 | 584 | | |
583 | 585 | | |
584 | 586 | | |
585 | 587 | | |
586 | 588 | | |
587 | | - | |
| 589 | + | |
588 | 590 | | |
589 | 591 | | |
590 | 592 | | |
| |||
604 | 606 | | |
605 | 607 | | |
606 | 608 | | |
607 | | - | |
| 609 | + | |
| 610 | + | |
608 | 611 | | |
609 | 612 | | |
610 | 613 | | |
| |||
633 | 636 | | |
634 | 637 | | |
635 | 638 | | |
636 | | - | |
| 639 | + | |
| 640 | + | |
637 | 641 | | |
638 | 642 | | |
639 | 643 | | |
640 | 644 | | |
641 | | - | |
| 645 | + | |
| 646 | + | |
642 | 647 | | |
643 | 648 | | |
644 | 649 | | |
645 | | - | |
| 650 | + | |
| 651 | + | |
646 | 652 | | |
647 | 653 | | |
648 | 654 | | |
| |||
659 | 665 | | |
660 | 666 | | |
661 | 667 | | |
662 | | - | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
663 | 672 | | |
664 | 673 | | |
665 | 674 | | |
| |||
720 | 729 | | |
721 | 730 | | |
722 | 731 | | |
723 | | - | |
724 | | - | |
| 732 | + | |
725 | 733 | | |
726 | 734 | | |
727 | 735 | | |
728 | 736 | | |
729 | 737 | | |
730 | 738 | | |
731 | 739 | | |
732 | | - | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
733 | 744 | | |
734 | 745 | | |
735 | 746 | | |
| |||
800 | 811 | | |
801 | 812 | | |
802 | 813 | | |
803 | | - | |
804 | | - | |
| 814 | + | |
805 | 815 | | |
806 | 816 | | |
807 | 817 | | |
808 | 818 | | |
809 | 819 | | |
810 | 820 | | |
811 | 821 | | |
812 | | - | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
813 | 826 | | |
814 | 827 | | |
815 | 828 | | |
| |||
933 | 946 | | |
934 | 947 | | |
935 | 948 | | |
936 | | - | |
937 | | - | |
| 949 | + | |
938 | 950 | | |
939 | 951 | | |
940 | 952 | | |
| |||
0 commit comments