Skip to content

Commit 4568284

Browse files
blakeli0cloud-java-botjinseopkim0
authored
docs: update bazel targets in DEVELOPMENT.md to point to sdk-platform-java (#12844)
This PR updates the Bazel targets and paths in DEVELOPMENT.md to point to the sdk-platform-java subfolder, following the merge of sdk-platform-java into google-cloud-java. --------- Co-authored-by: cloud-java-bot <cloud-java-bot@google.com> Co-authored-by: Jin Seop Kim <jinseop@google.com>
1 parent 4233faf commit 4568284

3 files changed

Lines changed: 7 additions & 8 deletions

File tree

java-iam-policy/.repo-metadata.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"repo": "googleapis/google-cloud-java",
1111
"repo_short": "java-iam-policy",
1212
"distribution_name": "com.google.cloud:google-iam-policy",
13-
"api_id": "iam.googleapis.com",
1413
"library_type": "GAPIC_AUTO",
1514
"requires_billing": true,
1615
"excluded_dependencies": "google-iam-policy",

java-iam-policy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
188188
[code-of-conduct]: https://github.com/googleapis/google-cloud-java/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct
189189
[license]: https://github.com/googleapis/google-cloud-java/blob/main/LICENSE
190190
[enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing
191-
[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=iam.googleapis.com
191+
192192
[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM
193193
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
194194

sdk-platform-java/gapic-generator-java/DEVELOPMENT.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,32 +54,32 @@ root of the repository (where you have WORKSPACE file for Bazel.)
5454

5555
```sh
5656
# In the repository root directory
57-
bazelisk test //... # integration tests
57+
bazelisk test //sdk-platform-java/... # integration tests
5858
```
5959

6060

6161
- Run a single integration test for API like `Redis`, it generates Java source
6262
code using the Java microgenerator and compares them with the goldens files
63-
in `test/integration/goldens/redis`.
63+
in `sdk-platform-java/test/integration/goldens/redis`.
6464

6565
```sh
6666
# In the repository root directory
67-
bazelisk test //test/integration:redis
67+
bazelisk test //sdk-platform-java/test/integration:redis
6868
```
6969

7070
- Update integration test golden files, for example `Redis`. This clobbers all the
71-
files in `test/integration/goldens/redis`.
71+
files in `sdk-platform-java/test/integration/goldens/redis`.
7272

7373
```sh
7474
# In the repository root directory
75-
bazelisk run //test/integration:update_redis
75+
bazelisk run //sdk-platform-java/test/integration:update_redis
7676
```
7777

7878
- To update all integration tests you can use this command:
7979

8080
```sh
8181
# In the repository root directory
82-
bazelisk run //test/integration:update_asset && bazelisk run //test/integration:update_credentials && bazelisk run //test/integration:update_iam && bazelisk run //test/integration:update_kms && bazelisk run //test/integration:update_pubsub && bazelisk run //test/integration:update_logging && bazelisk run //test/integration:update_redis && bazelisk run //test/integration:update_storage && bazelisk run //test/integration:update_library && bazelisk run //test/integration:update_compute && bazelisk run //test/integration:update_bigtable && bazelisk run //test/integration:update_apigeeconnect
82+
bazelisk run //sdk-platform-java/test/integration:update_asset && bazelisk run //sdk-platform-java/test/integration:update_credentials && bazelisk run //sdk-platform-java/test/integration:update_iam && bazelisk run //sdk-platform-java/test/integration:update_kms && bazelisk run //sdk-platform-java/test/integration:update_pubsub && bazelisk run //sdk-platform-java/test/integration:update_logging && bazelisk run //sdk-platform-java/test/integration:update_redis && bazelisk run //sdk-platform-java/test/integration:update_storage && bazelisk run //sdk-platform-java/test/integration:update_library && bazelisk run //sdk-platform-java/test/integration:update_compute && bazelisk run //sdk-platform-java/test/integration:update_bigtable && bazelisk run //sdk-platform-java/test/integration:update_apigeeconnect
8383
```
8484

8585
## Running the Plugin under googleapis with local gapic-generator-java

0 commit comments

Comments
 (0)