diff --git a/api-common-java/CODE_OF_CONDUCT.md b/api-common-java/CODE_OF_CONDUCT.md deleted file mode 100644 index 2add2547a8..0000000000 --- a/api-common-java/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,94 +0,0 @@ - -# Code of Conduct - -## Our Pledge - -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, gender identity and expression, level of -experience, education, socio-economic status, nationality, personal appearance, -race, religion, or sexual identity and orientation. - -## Our Standards - -Examples of behavior that contributes to creating a positive environment -include: - -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members - -Examples of unacceptable behavior by participants include: - -* The use of sexualized language or imagery and unwelcome sexual attention or - advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic - address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting - -## Our Responsibilities - -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. - -Project maintainers have the right and responsibility to remove, edit, or reject -comments, commits, code, wiki edits, issues, and other contributions that are -not aligned to this Code of Conduct, or to ban temporarily or permanently any -contributor for other behaviors that they deem inappropriate, threatening, -offensive, or harmful. - -## Scope - -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. - -This Code of Conduct also applies outside the project spaces when the Project -Steward has a reasonable belief that an individual's behavior may have a -negative impact on the project or its community. - -## Conflict Resolution - -We do not believe that all conflict is bad; healthy debate and disagreement -often yield positive results. However, it is never okay to be disrespectful or -to engage in behavior that violates the project’s code of conduct. - -If you see someone violating the code of conduct, you are encouraged to address -the behavior directly with those involved. Many issues can be resolved quickly -and easily, and this gives people more control over the outcome of their -dispute. If you are unable to resolve the matter for any reason, or if the -behavior is threatening or harassing, report it. We are dedicated to providing -an environment where participants feel welcome and safe. - -Reports should be directed to *googleapis-stewards@google.com*, the -Project Steward(s) for *Google Cloud Client Libraries*. It is the Project Steward’s duty to -receive and address reported violations of the code of conduct. They will then -work with a committee consisting of representatives from the Open Source -Programs Office and the Google Open Source Strategy team. If for any reason you -are uncomfortable reaching out to the Project Steward, please email -opensource@google.com. - -We will investigate every complaint, but you may not receive a direct response. -We will use our discretion in determining when and how to follow up on reported -incidents, which may range from not taking action to permanent expulsion from -the project and project-sponsored spaces. We will notify the accused of the -report and provide them an opportunity to discuss it before any action is taken. -The identity of the reporter will be omitted from the details of the report -supplied to the accused. In potentially harmful situations, such as ongoing -harassment or threats to anyone's safety, we may take action without notice. - -## Attribution - -This Code of Conduct is adapted from the Contributor Covenant, version 1.4, -available at -https://www.contributor-covenant.org/version/1/4/code-of-conduct.html \ No newline at end of file diff --git a/api-common-java/CONTRIBUTING.md b/api-common-java/CONTRIBUTING.md deleted file mode 100644 index c6877c550e..0000000000 --- a/api-common-java/CONTRIBUTING.md +++ /dev/null @@ -1,29 +0,0 @@ -# How to Contribute - -Want to contribute? Great! First, read this page (including the small print at the end). - -### Before you contribute -Before we can use your code, you must sign the -[Google Individual Contributor License Agreement] -(https://cla.developers.google.com/about/google-individual) -(CLA), which you can do online. The CLA is necessary mainly because you own the -copyright to your changes, even after your contribution becomes part of our -codebase, so we need your permission to use and distribute your code. We also -need to be sure of various other things—for instance that you'll tell us if you -know that your code infringes on other people's patents. You don't have to sign -the CLA until after you've submitted your code for review and a member has -approved it, but you must do it before we can put your code into our codebase. -Before you start working on a larger contribution, you should get in touch with -us first through the issue tracker with your idea so that we can help out and -possibly guide you. Coordinating up front makes it much easier to avoid -frustration later on. - -### Code reviews -All submissions, including submissions by project members, require review. We -use Github pull requests for this purpose. - -### The small print -Contributions made by corporations are covered by a different agreement than -the one above, the -[Software Grant and Corporate Contributor License Agreement] -(https://cla.developers.google.com/about/google-corporate). diff --git a/api-common-java/README.md b/api-common-java/README.md index 765a6d28cd..50419b0119 100644 --- a/api-common-java/README.md +++ b/api-common-java/README.md @@ -13,14 +13,6 @@ APIs. It currently contains the following packages: formatted as Google API resource names. - resourcenames: Resource Name library used by generated resource name types -> For new and existing Developers/ Contributors: -> -> In December 2022, api-common-java's build tool has been migrated from gradle to maven. -> Gradle related files are no longer being maintained and will be removed. -> -> The artifact coordinates in Maven Central (`{{ group_id }}:{{ artifact_id }}`) remain the same. - - Java Versions ------------- @@ -31,13 +23,6 @@ The build produces Java bytecode targeted for Java 8. The project uses Maven to build. -Contributing ------------- - -Contributions to this library are always welcome and highly encouraged. - -See the [CONTRIBUTING] documentation for more information on how to get started. - Versioning ---------- diff --git a/api-common-java/RELEASING.md b/api-common-java/RELEASING.md deleted file mode 100644 index 9f8e308bba..0000000000 --- a/api-common-java/RELEASING.md +++ /dev/null @@ -1,79 +0,0 @@ -One-time setup -============== - -Set up Sonatype Account ------------------------ -* Sign up for a Sonatype JIRA account [here](https://issues.sonatype.org) -* Click *Sign Up* in the login box, follow instructions - -Get access to repository ------------------------- -* Go to [community support](https://issues.sonatype.org/browse/OSSRH) -* Ask for publish rights by creating an issue similar to [this one](https://issues.sonatype.org/browse/OSSRH-32031) - * You must be logged in to create a new issue - * Use the *Create* button at the top tab - -* Generate the key `gpg --gen-key` - * Keep the defaults, but specify a passphrase - -* Determine your `gpg` version: `gpg -- version` - -* Find the ID of your public key - * If you're using GPG version 1.y.z, `gpg --list-secret-keys` - * Look for the line with format `sec 2048R/ABCDEFGH 2015-11-17` - * The `ABCDEFGH` is the ID for your public key - * If you're using GPG version 2.y.z `gpg --list-secret-keys --keyid-format LONG` - * Look for line with format `sec rsa2048/ABCDEFGHIJKLMNOP` - * The `ABCDEFGHIJKLMNOP` is the ID. It is 16-byte long, but Gradle - only support 8-byte keys. Use the *last* 8 bytes of the key when - following the rest of this document. - * `gpg --export-secret-keys $HOME/.gnupg/secring.gpg` - -* Upload your public key to a public server: `gpg --send-keys --keyserver hkp://pgp.mit.edu ` - -Add deploy credential settings ------------------------- -* Create a settings file at `$HOME/.gradle/gradle.properties` with your key information and your sonatype username/password - -``` -signing.keyId= -signing.password= -signing.secretKeyRingFile=/usr/local/google/home//.gnupg/secring.gpg - -ossrhUsername= -ossrhPassword= -``` - -To prepare a release -==================== - -Update version and deploy to Sonatype -------------------------------------- -1. Update `version.txt` to the release version you want -2. Run `./gradlew stageRelease` to: - * Regenerate `gh-pages` branch containing Javadocs - * Stage artifacts on Sonatype: to the staging repository if "-SNAPSHOT" is *not* included in the version; otherwise to the snapshot repository only -3. Submit a pull request, get it reviewed, and submit - -Publish the release -------------------- -1. Run `./gradlew finalizeRelease` - * Note: this will release **ALL** versions that have been staged to Sonatype: - if you have staged versions you do not intend to release, remove these first - from the [Nexus Repository Manager](https://oss.sonatype.org/) by logging in - (upper right) and browsing staging repositories (left panel) -2. It will take some time (~10 min to ~8 hours) for the package to transition -3. Publish a new release on Github: - * Go to the [releases page](https://github.com/googleapis/api-common-java/releases) and click "Draft a new release" - in order to start a new draft. - * Make sure the "Tag Version" is `vX.Y.Z` and the "Release Title" is `X.Y.Z`, where `X.Y.Z` is the release - version as listed in the `version.txt` files. - * Add the commits since the last release into the release draft. Try to group them into sections with related - changes. Anything that is a breaking change needs to be marked with `*breaking change*`. Such changes are - only allowed for alpha/beta modules and `@BetaApi` features. - * Ensure that the format is consistent with previous releases. After adding any missing updates and - reformatting as necessary, publish the draft. - -Bump development version ------------------------- -1. Update `version.txt` to the following "-SNAPSHOT" version diff --git a/api-common-java/SECURITY.md b/api-common-java/SECURITY.md deleted file mode 100644 index 8b58ae9c01..0000000000 --- a/api-common-java/SECURITY.md +++ /dev/null @@ -1,7 +0,0 @@ -# Security Policy - -To report a security issue, please use [g.co/vulnz](https://g.co/vulnz). - -The Google Security Team will respond within 5 working days of your report on g.co/vulnz. - -We use g.co/vulnz for our intake, and do coordination and disclosure here using GitHub Security Advisory to privately discuss and fix the issue. diff --git a/api-common-java/renovate.json b/api-common-java/renovate.json deleted file mode 100644 index 0e82ced57a..0000000000 --- a/api-common-java/renovate.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "extends": [ - ":separateMajorReleases", - ":combinePatchMinorReleases", - ":ignoreUnstable", - ":prImmediately", - ":updateNotScheduled", - ":automergeDisabled", - ":ignoreModulesAndTests", - ":maintainLockFilesDisabled", - ":autodetectPinVersions" - ], - "ignorePaths": [".kokoro/requirements.txt"], - "packageRules": [ - { - "packagePatterns": [ - "^com.google.guava:" - ], - "versionScheme": "docker" - }, - { - "packagePatterns": [ - "*" - ], - "semanticCommitType": "deps", - "semanticCommitScope": null - }, - { - "packagePatterns": [ - "^org.apache.maven", - "^org.jacoco:", - "^org.codehaus.mojo:", - "^org.sonatype.plugins:", - "^com.coveo:", - "^com.google.cloud:google-cloud-shared-config" - ], - "semanticCommitType": "build", - "semanticCommitScope": "deps" - }, - { - "packagePatterns": [ - "^com.google.api:api-common", - "^com.google.cloud:libraries-bom", - "^com.google.cloud.samples:shared-configuration" - ], - "semanticCommitType": "chore", - "semanticCommitScope": "deps" - }, - { - "packagePatterns": [ - "^junit:junit", - "^com.google.truth:truth", - "^org.mockito:mockito-core", - "^org.objenesis:objenesis" - ], - "semanticCommitType": "test", - "semanticCommitScope": "deps" - }, - { - "packagePatterns": [ - "^com.google.cloud:google-cloud-" - ], - "ignoreUnstable": false - }, - { - "packagePatterns": [ - "^com.fasterxml.jackson.core" - ], - "groupName": "jackson dependencies" - } - ], - "semanticCommits": true, - "masterIssue": true -} diff --git a/api-common-java/synth.metadata b/api-common-java/synth.metadata deleted file mode 100644 index b8bf18aed1..0000000000 --- a/api-common-java/synth.metadata +++ /dev/null @@ -1,18 +0,0 @@ -{ - "sources": [ - { - "git": { - "name": ".", - "remote": "git@github.com:googleapis/api-common-java.git", - "sha": "7014db17904a165c78fbda1284d433b38e839876" - } - }, - { - "git": { - "name": "synthtool", - "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5a6f30b8bb7672cf237c4f75d5aa96bfba170e7f" - } - } - ] -} \ No newline at end of file diff --git a/gax-java/CODE_OF_CONDUCT.md b/gax-java/CODE_OF_CONDUCT.md deleted file mode 100644 index 46b2a08ea6..0000000000 --- a/gax-java/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor Code of Conduct - -As contributors and maintainers of this project, -and in the interest of fostering an open and welcoming community, -we pledge to respect all people who contribute through reporting issues, -posting feature requests, updating documentation, -submitting pull requests or patches, and other activities. - -We are committed to making participation in this project -a harassment-free experience for everyone, -regardless of level of experience, gender, gender identity and expression, -sexual orientation, disability, personal appearance, -body size, race, ethnicity, age, religion, or nationality. - -Examples of unacceptable behavior by participants include: - -* The use of sexualized language or imagery -* Personal attacks -* Trolling or insulting/derogatory comments -* Public or private harassment -* Publishing other's private information, -such as physical or electronic -addresses, without explicit permission -* Other unethical or unprofessional conduct. - -Project maintainers have the right and responsibility to remove, edit, or reject -comments, commits, code, wiki edits, issues, and other contributions -that are not aligned to this Code of Conduct. -By adopting this Code of Conduct, -project maintainers commit themselves to fairly and consistently -applying these principles to every aspect of managing this project. -Project maintainers who do not follow or enforce the Code of Conduct -may be permanently removed from the project team. - -This code of conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. - -Instances of abusive, harassing, or otherwise unacceptable behavior -may be reported by opening an issue -or contacting one or more of the project maintainers. - -This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.2.0, -available at [http://contributor-covenant.org/version/1/2/0/](http://contributor-covenant.org/version/1/2/0/) diff --git a/gax-java/CONTRIBUTING.md b/gax-java/CONTRIBUTING.md index f39ea3e174..e698c822b7 100644 --- a/gax-java/CONTRIBUTING.md +++ b/gax-java/CONTRIBUTING.md @@ -24,7 +24,15 @@ use Github pull requests for this purpose. To build GAX: ```sh -mvn clean install +# Go to the repository root +cd gapic-generator-java + +# Install dependency modules to local Maven repository. Note that +# gapic-generator-java module is not a dependency of gax-java +mvn -B -ntp install -DskipTests --projects '!gapic-generator-java,!gax-java' + +# Build and install gax-java +mvn clean install -f gax-java ``` ### The small print diff --git a/gax-java/RELEASING.md b/gax-java/RELEASING.md deleted file mode 100644 index 37e4b20444..0000000000 --- a/gax-java/RELEASING.md +++ /dev/null @@ -1,72 +0,0 @@ -One-time setup -============== - -Set up Sonatype Account ------------------------ -* Sign up for a Sonatype JIRA account [here](https://issues.sonatype.org) -* Click *Sign Up* in the login box, follow instructions - -Get access to repository ------------------------- -* Go to [community support](https://issues.sonatype.org/browse/OSSRH) -* Ask for publish rights by creating an issue similar to [this one](https://issues.sonatype.org/browse/OSSRH-32031) - * You must be logged in to create a new issue - * Use the *Create* button at the top tab - -* Generate the key `gpg --gen-key` - * Keep the defaults, but specify a passphrase - -* Determine your `gpg` version: `gpg --version` - -* Find the ID of your public key - * If you're using GPG version 1.y.z, `gpg --list-secret-keys` - * Look for the line with format `sec 2048R/ABCDEFGH 2015-11-17` - * The `ABCDEFGH` is the ID for your public key - * If you're using GPG version 2.y.z `gpg --list-secret-keys --keyid-format LONG` - * Look for line with format `sec rsa2048/ABCDEFGHIJKLMNOP` - * The `ABCDEFGHIJKLMNOP` is the ID. It is 16-byte long, but Gradle - only support 8-byte keys. Use the *last* 8 bytes of the key when - following the rest of this document. - * `gpg --export-secret-keys > $HOME/.gnupg/secring.gpg` - -* Upload your public key to a public server: `gpg --send-keys --keyserver hkp://pgp.mit.edu ` - -Add deploy credential settings ------------------------- -* Create a settings file at `$HOME/.gradle/gradle.properties` with your key information and your sonatype username/password - -``` -signing.keyId= -signing.password= -signing.secretKeyRingFile=/usr/local/google/home//.gnupg/secring.gpg - -ossrhUsername= -ossrhPassword= -``` - -Install releasetool -------------------- -See [releasetool](https://github.com/googleapis/releasetool) for installation instructions. You will -need python 3.6+ to run this tool. - -To prepare a release -==================== - -Update version and deploy to Sonatype -------------------------------------- -1. Run `releasetool start`. Select "minor" or "patch" for the release type. This will bump the - artifact versions, ask you to edit release notes, and create the release pull request. When - prompted, choose to autorelease. - * Note: be sure to make these notes nice as they will be used for the release notes as well. -2. Request a review on the PR. -3. Submit the PR. -4. Automation will run in the background to handle the release. -5. It will take some time (~10 min to ~8 hours) for the package to transition -6. Automation will publish a new release on Github using releasetool and publish javadocs to - https://googleapis.dev/java/gax/latest. - -Bump development version ------------------------- -1. Run `releasetool start` again, but specify "snapshot" when prompted for the type of release. - This will bump the artifact versions and create a new snapshot pull request. -2. Review and submit the PR. diff --git a/gax-java/SECURITY.md b/gax-java/SECURITY.md deleted file mode 100644 index 8b58ae9c01..0000000000 --- a/gax-java/SECURITY.md +++ /dev/null @@ -1,7 +0,0 @@ -# Security Policy - -To report a security issue, please use [g.co/vulnz](https://g.co/vulnz). - -The Google Security Team will respond within 5 working days of your report on g.co/vulnz. - -We use g.co/vulnz for our intake, and do coordination and disclosure here using GitHub Security Advisory to privately discuss and fix the issue. diff --git a/java-common-protos/CODE_OF_CONDUCT.md b/java-common-protos/CODE_OF_CONDUCT.md deleted file mode 100644 index 2add2547a8..0000000000 --- a/java-common-protos/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,94 +0,0 @@ - -# Code of Conduct - -## Our Pledge - -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, gender identity and expression, level of -experience, education, socio-economic status, nationality, personal appearance, -race, religion, or sexual identity and orientation. - -## Our Standards - -Examples of behavior that contributes to creating a positive environment -include: - -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members - -Examples of unacceptable behavior by participants include: - -* The use of sexualized language or imagery and unwelcome sexual attention or - advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic - address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting - -## Our Responsibilities - -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. - -Project maintainers have the right and responsibility to remove, edit, or reject -comments, commits, code, wiki edits, issues, and other contributions that are -not aligned to this Code of Conduct, or to ban temporarily or permanently any -contributor for other behaviors that they deem inappropriate, threatening, -offensive, or harmful. - -## Scope - -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. - -This Code of Conduct also applies outside the project spaces when the Project -Steward has a reasonable belief that an individual's behavior may have a -negative impact on the project or its community. - -## Conflict Resolution - -We do not believe that all conflict is bad; healthy debate and disagreement -often yield positive results. However, it is never okay to be disrespectful or -to engage in behavior that violates the project’s code of conduct. - -If you see someone violating the code of conduct, you are encouraged to address -the behavior directly with those involved. Many issues can be resolved quickly -and easily, and this gives people more control over the outcome of their -dispute. If you are unable to resolve the matter for any reason, or if the -behavior is threatening or harassing, report it. We are dedicated to providing -an environment where participants feel welcome and safe. - -Reports should be directed to *googleapis-stewards@google.com*, the -Project Steward(s) for *Google Cloud Client Libraries*. It is the Project Steward’s duty to -receive and address reported violations of the code of conduct. They will then -work with a committee consisting of representatives from the Open Source -Programs Office and the Google Open Source Strategy team. If for any reason you -are uncomfortable reaching out to the Project Steward, please email -opensource@google.com. - -We will investigate every complaint, but you may not receive a direct response. -We will use our discretion in determining when and how to follow up on reported -incidents, which may range from not taking action to permanent expulsion from -the project and project-sponsored spaces. We will notify the accused of the -report and provide them an opportunity to discuss it before any action is taken. -The identity of the reporter will be omitted from the details of the report -supplied to the accused. In potentially harmful situations, such as ongoing -harassment or threats to anyone's safety, we may take action without notice. - -## Attribution - -This Code of Conduct is adapted from the Contributor Covenant, version 1.4, -available at -https://www.contributor-covenant.org/version/1/4/code-of-conduct.html \ No newline at end of file diff --git a/java-common-protos/CONTRIBUTING.md b/java-common-protos/CONTRIBUTING.md deleted file mode 100644 index b65dd279c9..0000000000 --- a/java-common-protos/CONTRIBUTING.md +++ /dev/null @@ -1,92 +0,0 @@ -# How to Contribute - -We'd love to accept your patches and contributions to this project. There are -just a few small guidelines you need to follow. - -## Contributor License Agreement - -Contributions to this project must be accompanied by a Contributor License -Agreement. You (or your employer) retain the copyright to your contribution; -this simply gives us permission to use and redistribute your contributions as -part of the project. Head over to to see -your current agreements on file or to sign a new one. - -You generally only need to submit a CLA once, so if you've already submitted one -(even if it was for a different project), you probably don't need to do it -again. - -## Code reviews - -All submissions, including submissions by project members, require review. We -use GitHub pull requests for this purpose. Consult -[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more -information on using pull requests. - -## Community Guidelines - -This project follows -[Google's Open Source Community Guidelines](https://opensource.google.com/conduct/). - -## Building the project - -To build, package, and run all unit tests run the command - -``` -mvn clean verify -``` - -### Running Integration tests - -To include integration tests when building the project, you need access to -a GCP Project with a valid service account. - -For instructions on how to generate a service account and corresponding -credentials JSON see: [Creating a Service Account][1]. - -Then run the following to build, package, run all unit tests and run all -integration tests. - -```bash -export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json -mvn -Penable-integration-tests clean verify -``` - -## Code Samples - -All code samples must be in compliance with the [java sample formatting guide][3]. -Code Samples must be bundled in separate Maven modules. - -The samples must be separate from the primary project for a few reasons: -1. Primary projects have a minimum Java version of Java 8 whereas samples can have - Java version of Java 11. Due to this we need the ability to - selectively exclude samples from a build run. -2. Many code samples depend on external GCP services and need - credentials to access the service. -3. Code samples are not released as Maven artifacts and must be excluded from - release builds. - -### Building - -```bash -mvn clean verify -``` - -Some samples require access to GCP services and require a service account: - -```bash -export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json -mvn clean verify -``` - -### Code Formatting - -Code in this repo is formatted with -[google-java-format](https://github.com/google/google-java-format). -To run formatting on your project, you can run: -``` -mvn com.coveo:fmt-maven-plugin:format -``` - -[1]: https://cloud.google.com/docs/authentication/getting-started#creating_a_service_account -[2]: https://maven.apache.org/settings.html#Active_Profiles -[3]: https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md \ No newline at end of file diff --git a/java-common-protos/renovate.json b/java-common-protos/renovate.json deleted file mode 100644 index 642980d5c3..0000000000 --- a/java-common-protos/renovate.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "extends": [ - ":separateMajorReleases", - ":combinePatchMinorReleases", - ":ignoreUnstable", - ":prImmediately", - ":updateNotScheduled", - ":automergeDisabled", - ":ignoreModulesAndTests", - ":maintainLockFilesDisabled", - ":autodetectPinVersions" - ], - "ignorePaths": [".kokoro/requirements.txt"], - "packageRules": [ - { - "packagePatterns": [ - "^com.google.guava:" - ], - "versionScheme": "docker" - }, - { - "packagePatterns": [ - "*" - ], - "semanticCommitType": "deps", - "semanticCommitScope": null - }, - { - "packagePatterns": [ - "^org.apache.maven", - "^org.jacoco:", - "^org.codehaus.mojo:", - "^org.sonatype.plugins:", - "^com.coveo:", - "^com.google.cloud:google-cloud-shared-config" - ], - "semanticCommitType": "build", - "semanticCommitScope": "deps" - }, - { - "packagePatterns": [ - "^com.google.api.grpc:proto-google-common-protos", - "^com.google.cloud:libraries-bom", - "^com.google.cloud.samples:shared-configuration" - ], - "semanticCommitType": "chore", - "semanticCommitScope": "deps" - }, - { - "packagePatterns": [ - "^junit:junit", - "^com.google.truth:truth", - "^org.mockito:mockito-core", - "^org.objenesis:objenesis", - "^com.google.cloud:google-cloud-conformance-tests" - ], - "semanticCommitType": "test", - "semanticCommitScope": "deps" - }, - { - "packagePatterns": [ - "^com.google.cloud:google-cloud-" - ], - "ignoreUnstable": false - }, - { - "packagePatterns": [ - "^com.fasterxml.jackson.core" - ], - "groupName": "jackson dependencies" - } - ], - "semanticCommits": true, - "dependencyDashboard": true -} diff --git a/java-common-protos/synth.metadata b/java-common-protos/synth.metadata deleted file mode 100644 index 1a268ee46a..0000000000 --- a/java-common-protos/synth.metadata +++ /dev/null @@ -1,415 +0,0 @@ -{ - "sources": [ - { - "git": { - "name": ".", - "remote": "https://github.com/googleapis/java-common-protos.git", - "sha": "607b1666178627065579d8471f41213d59d7e5d1" - } - }, - { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "2921f9fb3bfbd16f6b2da0104373e2b47a80a65e", - "internalRef": "408420890" - } - }, - { - "git": { - "name": "synthtool", - "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7a7c48f96e90d1cdc3ab0cc8293279fdcb10fd36" - } - } - ], - "generatedFiles": [ - ".github/CODEOWNERS", - ".github/ISSUE_TEMPLATE/bug_report.md", - ".github/ISSUE_TEMPLATE/feature_request.md", - ".github/ISSUE_TEMPLATE/support_request.md", - ".github/PULL_REQUEST_TEMPLATE.md", - ".github/blunderbuss.yml", - ".github/generated-files-bot.yml", - ".github/release-please.yml", - ".github/release-trigger.yml", - ".github/snippet-bot.yml", - ".github/sync-repo-settings.yaml", - ".github/trusted-contribution.yml", - ".github/workflows/approve-readme.yaml", - ".github/workflows/auto-release.yaml", - ".github/workflows/ci.yaml", - ".kokoro/build.bat", - ".kokoro/build.sh", - ".kokoro/coerce_logs.sh", - ".kokoro/common.cfg", - ".kokoro/common.sh", - ".kokoro/continuous/common.cfg", - ".kokoro/continuous/java8.cfg", - ".kokoro/nightly/common.cfg", - ".kokoro/nightly/integration.cfg", - ".kokoro/nightly/java11.cfg", - ".kokoro/nightly/java7.cfg", - ".kokoro/nightly/java8-osx.cfg", - ".kokoro/nightly/java8-win.cfg", - ".kokoro/nightly/java8.cfg", - ".kokoro/nightly/samples.cfg", - ".kokoro/populate-secrets.sh", - ".kokoro/presubmit/clirr.cfg", - ".kokoro/presubmit/common.cfg", - ".kokoro/presubmit/dependencies.cfg", - ".kokoro/presubmit/graalvm-native.cfg", - ".kokoro/presubmit/integration.cfg", - ".kokoro/presubmit/java11.cfg", - ".kokoro/presubmit/java7.cfg", - ".kokoro/presubmit/java8-osx.cfg", - ".kokoro/presubmit/java8-win.cfg", - ".kokoro/presubmit/java8.cfg", - ".kokoro/presubmit/linkage-monitor.cfg", - ".kokoro/presubmit/lint.cfg", - ".kokoro/presubmit/samples.cfg", - ".kokoro/readme.sh", - ".kokoro/release/bump_snapshot.cfg", - ".kokoro/release/common.cfg", - ".kokoro/release/common.sh", - ".kokoro/release/drop.cfg", - ".kokoro/release/drop.sh", - ".kokoro/release/promote.cfg", - ".kokoro/release/promote.sh", - ".kokoro/release/publish_javadoc.cfg", - ".kokoro/release/publish_javadoc.sh", - ".kokoro/release/publish_javadoc11.cfg", - ".kokoro/release/publish_javadoc11.sh", - ".kokoro/release/snapshot.cfg", - ".kokoro/release/snapshot.sh", - ".kokoro/release/stage.cfg", - ".kokoro/release/stage.sh", - ".kokoro/trampoline.sh", - "CODE_OF_CONDUCT.md", - "CONTRIBUTING.md", - "LICENSE", - "SECURITY.md", - "codecov.yaml", - "grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java", - "java.header", - "license-checks.xml", - "proto-google-common-protos/src/main/java/com/google/api/Advice.java", - "proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/AnnotationsProto.java", - "proto-google-common-protos/src/main/java/com/google/api/AuthProto.java", - "proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java", - "proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java", - "proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/Authentication.java", - "proto-google-common-protos/src/main/java/com/google/api/AuthenticationOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java", - "proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/Backend.java", - "proto-google-common-protos/src/main/java/com/google/api/BackendOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/BackendProto.java", - "proto-google-common-protos/src/main/java/com/google/api/BackendRule.java", - "proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/Billing.java", - "proto-google-common-protos/src/main/java/com/google/api/BillingOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/BillingProto.java", - "proto-google-common-protos/src/main/java/com/google/api/ChangeType.java", - "proto-google-common-protos/src/main/java/com/google/api/ClientProto.java", - "proto-google-common-protos/src/main/java/com/google/api/ConfigChange.java", - "proto-google-common-protos/src/main/java/com/google/api/ConfigChangeOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/ConfigChangeProto.java", - "proto-google-common-protos/src/main/java/com/google/api/ConsumerProto.java", - "proto-google-common-protos/src/main/java/com/google/api/Context.java", - "proto-google-common-protos/src/main/java/com/google/api/ContextOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/ContextProto.java", - "proto-google-common-protos/src/main/java/com/google/api/ContextRule.java", - "proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/Control.java", - "proto-google-common-protos/src/main/java/com/google/api/ControlOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/ControlProto.java", - "proto-google-common-protos/src/main/java/com/google/api/CustomHttpPattern.java", - "proto-google-common-protos/src/main/java/com/google/api/CustomHttpPatternOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/Distribution.java", - "proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/DistributionProto.java", - "proto-google-common-protos/src/main/java/com/google/api/Documentation.java", - "proto-google-common-protos/src/main/java/com/google/api/DocumentationOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/DocumentationProto.java", - "proto-google-common-protos/src/main/java/com/google/api/DocumentationRule.java", - "proto-google-common-protos/src/main/java/com/google/api/DocumentationRuleOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/Endpoint.java", - "proto-google-common-protos/src/main/java/com/google/api/EndpointOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/EndpointProto.java", - "proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java", - "proto-google-common-protos/src/main/java/com/google/api/ErrorReasonProto.java", - "proto-google-common-protos/src/main/java/com/google/api/FieldBehavior.java", - "proto-google-common-protos/src/main/java/com/google/api/FieldBehaviorProto.java", - "proto-google-common-protos/src/main/java/com/google/api/Http.java", - "proto-google-common-protos/src/main/java/com/google/api/HttpBody.java", - "proto-google-common-protos/src/main/java/com/google/api/HttpBodyOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/HttpBodyProto.java", - "proto-google-common-protos/src/main/java/com/google/api/HttpOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/HttpProto.java", - "proto-google-common-protos/src/main/java/com/google/api/HttpRule.java", - "proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/JwtLocation.java", - "proto-google-common-protos/src/main/java/com/google/api/JwtLocationOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/LabelDescriptor.java", - "proto-google-common-protos/src/main/java/com/google/api/LabelDescriptorOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/LabelProto.java", - "proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java", - "proto-google-common-protos/src/main/java/com/google/api/LaunchStageProto.java", - "proto-google-common-protos/src/main/java/com/google/api/LogDescriptor.java", - "proto-google-common-protos/src/main/java/com/google/api/LogDescriptorOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/LogProto.java", - "proto-google-common-protos/src/main/java/com/google/api/Logging.java", - "proto-google-common-protos/src/main/java/com/google/api/LoggingOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/LoggingProto.java", - "proto-google-common-protos/src/main/java/com/google/api/Metric.java", - "proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java", - "proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/MetricProto.java", - "proto-google-common-protos/src/main/java/com/google/api/MetricRule.java", - "proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java", - "proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java", - "proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java", - "proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadataOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceProto.java", - "proto-google-common-protos/src/main/java/com/google/api/Monitoring.java", - "proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/MonitoringProto.java", - "proto-google-common-protos/src/main/java/com/google/api/OAuthRequirements.java", - "proto-google-common-protos/src/main/java/com/google/api/OAuthRequirementsOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/Page.java", - "proto-google-common-protos/src/main/java/com/google/api/PageOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/ProjectProperties.java", - "proto-google-common-protos/src/main/java/com/google/api/ProjectPropertiesOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/Property.java", - "proto-google-common-protos/src/main/java/com/google/api/PropertyOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/Quota.java", - "proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java", - "proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/QuotaOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/QuotaProto.java", - "proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptor.java", - "proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptorOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/ResourceProto.java", - "proto-google-common-protos/src/main/java/com/google/api/ResourceReference.java", - "proto-google-common-protos/src/main/java/com/google/api/ResourceReferenceOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/RoutingParameter.java", - "proto-google-common-protos/src/main/java/com/google/api/RoutingParameterOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/RoutingProto.java", - "proto-google-common-protos/src/main/java/com/google/api/RoutingRule.java", - "proto-google-common-protos/src/main/java/com/google/api/RoutingRuleOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/Service.java", - "proto-google-common-protos/src/main/java/com/google/api/ServiceOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/ServiceProto.java", - "proto-google-common-protos/src/main/java/com/google/api/SourceInfo.java", - "proto-google-common-protos/src/main/java/com/google/api/SourceInfoOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/SourceInfoProto.java", - "proto-google-common-protos/src/main/java/com/google/api/SystemParameter.java", - "proto-google-common-protos/src/main/java/com/google/api/SystemParameterOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/SystemParameterProto.java", - "proto-google-common-protos/src/main/java/com/google/api/SystemParameterRule.java", - "proto-google-common-protos/src/main/java/com/google/api/SystemParameterRuleOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/SystemParameters.java", - "proto-google-common-protos/src/main/java/com/google/api/SystemParametersOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/Usage.java", - "proto-google-common-protos/src/main/java/com/google/api/UsageOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/UsageProto.java", - "proto-google-common-protos/src/main/java/com/google/api/UsageRule.java", - "proto-google-common-protos/src/main/java/com/google/api/UsageRuleOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/Visibility.java", - "proto-google-common-protos/src/main/java/com/google/api/VisibilityOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/api/VisibilityProto.java", - "proto-google-common-protos/src/main/java/com/google/api/VisibilityRule.java", - "proto-google-common-protos/src/main/java/com/google/api/VisibilityRuleOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/cloud/ExtendedOperationsProto.java", - "proto-google-common-protos/src/main/java/com/google/cloud/OperationResponseMapping.java", - "proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLog.java", - "proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogProto.java", - "proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthenticationInfo.java", - "proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthenticationInfoOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfo.java", - "proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfoOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/cloud/audit/BigQueryAuditMetadata.java", - "proto-google-common-protos/src/main/java/com/google/cloud/audit/BigQueryAuditMetadataOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/cloud/audit/BigQueryAuditMetadataProto.java", - "proto-google-common-protos/src/main/java/com/google/cloud/audit/RequestMetadata.java", - "proto-google-common-protos/src/main/java/com/google/cloud/audit/RequestMetadataOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/cloud/audit/ResourceLocation.java", - "proto-google-common-protos/src/main/java/com/google/cloud/audit/ResourceLocationOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/cloud/audit/ServiceAccountDelegationInfo.java", - "proto-google-common-protos/src/main/java/com/google/cloud/audit/ServiceAccountDelegationInfoOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/geo/type/Viewport.java", - "proto-google-common-protos/src/main/java/com/google/geo/type/ViewportOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/geo/type/ViewportProto.java", - "proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequest.java", - "proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequestOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequestProto.java", - "proto-google-common-protos/src/main/java/com/google/logging/type/LogSeverity.java", - "proto-google-common-protos/src/main/java/com/google/logging/type/LogSeverityProto.java", - "proto-google-common-protos/src/main/java/com/google/longrunning/CancelOperationRequest.java", - "proto-google-common-protos/src/main/java/com/google/longrunning/CancelOperationRequestOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/longrunning/DeleteOperationRequest.java", - "proto-google-common-protos/src/main/java/com/google/longrunning/DeleteOperationRequestOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/longrunning/GetOperationRequest.java", - "proto-google-common-protos/src/main/java/com/google/longrunning/GetOperationRequestOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsRequest.java", - "proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsRequestOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsResponse.java", - "proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsResponseOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/longrunning/Operation.java", - "proto-google-common-protos/src/main/java/com/google/longrunning/OperationInfo.java", - "proto-google-common-protos/src/main/java/com/google/longrunning/OperationInfoOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/longrunning/OperationOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/longrunning/OperationsProto.java", - "proto-google-common-protos/src/main/java/com/google/longrunning/WaitOperationRequest.java", - "proto-google-common-protos/src/main/java/com/google/longrunning/WaitOperationRequestOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/rpc/BadRequest.java", - "proto-google-common-protos/src/main/java/com/google/rpc/BadRequestOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/rpc/Code.java", - "proto-google-common-protos/src/main/java/com/google/rpc/CodeProto.java", - "proto-google-common-protos/src/main/java/com/google/rpc/DebugInfo.java", - "proto-google-common-protos/src/main/java/com/google/rpc/DebugInfoOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/rpc/ErrorDetailsProto.java", - "proto-google-common-protos/src/main/java/com/google/rpc/ErrorInfo.java", - "proto-google-common-protos/src/main/java/com/google/rpc/ErrorInfoOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/rpc/Help.java", - "proto-google-common-protos/src/main/java/com/google/rpc/HelpOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/rpc/LocalizedMessage.java", - "proto-google-common-protos/src/main/java/com/google/rpc/LocalizedMessageOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/rpc/PreconditionFailure.java", - "proto-google-common-protos/src/main/java/com/google/rpc/PreconditionFailureOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/rpc/QuotaFailure.java", - "proto-google-common-protos/src/main/java/com/google/rpc/QuotaFailureOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/rpc/RequestInfo.java", - "proto-google-common-protos/src/main/java/com/google/rpc/RequestInfoOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/rpc/ResourceInfo.java", - "proto-google-common-protos/src/main/java/com/google/rpc/ResourceInfoOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/rpc/RetryInfo.java", - "proto-google-common-protos/src/main/java/com/google/rpc/RetryInfoOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/rpc/Status.java", - "proto-google-common-protos/src/main/java/com/google/rpc/StatusOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/rpc/StatusProto.java", - "proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContext.java", - "proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContextOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContextProto.java", - "proto-google-common-protos/src/main/java/com/google/type/CalendarPeriod.java", - "proto-google-common-protos/src/main/java/com/google/type/CalendarPeriodProto.java", - "proto-google-common-protos/src/main/java/com/google/type/Color.java", - "proto-google-common-protos/src/main/java/com/google/type/ColorOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/type/ColorProto.java", - "proto-google-common-protos/src/main/java/com/google/type/Date.java", - "proto-google-common-protos/src/main/java/com/google/type/DateOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/type/DateProto.java", - "proto-google-common-protos/src/main/java/com/google/type/DateTime.java", - "proto-google-common-protos/src/main/java/com/google/type/DateTimeOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/type/DateTimeProto.java", - "proto-google-common-protos/src/main/java/com/google/type/DayOfWeek.java", - "proto-google-common-protos/src/main/java/com/google/type/DayOfWeekProto.java", - "proto-google-common-protos/src/main/java/com/google/type/Decimal.java", - "proto-google-common-protos/src/main/java/com/google/type/DecimalOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/type/DecimalProto.java", - "proto-google-common-protos/src/main/java/com/google/type/Expr.java", - "proto-google-common-protos/src/main/java/com/google/type/ExprOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/type/ExprProto.java", - "proto-google-common-protos/src/main/java/com/google/type/Fraction.java", - "proto-google-common-protos/src/main/java/com/google/type/FractionOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/type/FractionProto.java", - "proto-google-common-protos/src/main/java/com/google/type/Interval.java", - "proto-google-common-protos/src/main/java/com/google/type/IntervalOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/type/IntervalProto.java", - "proto-google-common-protos/src/main/java/com/google/type/LatLng.java", - "proto-google-common-protos/src/main/java/com/google/type/LatLngOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/type/LatLngProto.java", - "proto-google-common-protos/src/main/java/com/google/type/LocalizedText.java", - "proto-google-common-protos/src/main/java/com/google/type/LocalizedTextOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/type/LocalizedTextProto.java", - "proto-google-common-protos/src/main/java/com/google/type/Money.java", - "proto-google-common-protos/src/main/java/com/google/type/MoneyOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/type/MoneyProto.java", - "proto-google-common-protos/src/main/java/com/google/type/Month.java", - "proto-google-common-protos/src/main/java/com/google/type/MonthProto.java", - "proto-google-common-protos/src/main/java/com/google/type/PhoneNumber.java", - "proto-google-common-protos/src/main/java/com/google/type/PhoneNumberOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/type/PhoneNumberProto.java", - "proto-google-common-protos/src/main/java/com/google/type/PostalAddress.java", - "proto-google-common-protos/src/main/java/com/google/type/PostalAddressOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/type/PostalAddressProto.java", - "proto-google-common-protos/src/main/java/com/google/type/Quaternion.java", - "proto-google-common-protos/src/main/java/com/google/type/QuaternionOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/type/QuaternionProto.java", - "proto-google-common-protos/src/main/java/com/google/type/TimeOfDay.java", - "proto-google-common-protos/src/main/java/com/google/type/TimeOfDayOrBuilder.java", - "proto-google-common-protos/src/main/java/com/google/type/TimeOfDayProto.java", - "proto-google-common-protos/src/main/java/com/google/type/TimeZone.java", - "proto-google-common-protos/src/main/java/com/google/type/TimeZoneOrBuilder.java", - "proto-google-common-protos/src/main/proto/google/api/annotations.proto", - "proto-google-common-protos/src/main/proto/google/api/auth.proto", - "proto-google-common-protos/src/main/proto/google/api/backend.proto", - "proto-google-common-protos/src/main/proto/google/api/billing.proto", - "proto-google-common-protos/src/main/proto/google/api/client.proto", - "proto-google-common-protos/src/main/proto/google/api/config_change.proto", - "proto-google-common-protos/src/main/proto/google/api/consumer.proto", - "proto-google-common-protos/src/main/proto/google/api/context.proto", - "proto-google-common-protos/src/main/proto/google/api/control.proto", - "proto-google-common-protos/src/main/proto/google/api/distribution.proto", - "proto-google-common-protos/src/main/proto/google/api/documentation.proto", - "proto-google-common-protos/src/main/proto/google/api/endpoint.proto", - "proto-google-common-protos/src/main/proto/google/api/error_reason.proto", - "proto-google-common-protos/src/main/proto/google/api/field_behavior.proto", - "proto-google-common-protos/src/main/proto/google/api/http.proto", - "proto-google-common-protos/src/main/proto/google/api/httpbody.proto", - "proto-google-common-protos/src/main/proto/google/api/label.proto", - "proto-google-common-protos/src/main/proto/google/api/launch_stage.proto", - "proto-google-common-protos/src/main/proto/google/api/log.proto", - "proto-google-common-protos/src/main/proto/google/api/logging.proto", - "proto-google-common-protos/src/main/proto/google/api/metric.proto", - "proto-google-common-protos/src/main/proto/google/api/monitored_resource.proto", - "proto-google-common-protos/src/main/proto/google/api/monitoring.proto", - "proto-google-common-protos/src/main/proto/google/api/quota.proto", - "proto-google-common-protos/src/main/proto/google/api/resource.proto", - "proto-google-common-protos/src/main/proto/google/api/routing.proto", - "proto-google-common-protos/src/main/proto/google/api/service.proto", - "proto-google-common-protos/src/main/proto/google/api/source_info.proto", - "proto-google-common-protos/src/main/proto/google/api/system_parameter.proto", - "proto-google-common-protos/src/main/proto/google/api/usage.proto", - "proto-google-common-protos/src/main/proto/google/api/visibility.proto", - "proto-google-common-protos/src/main/proto/google/cloud/audit/audit_log.proto", - "proto-google-common-protos/src/main/proto/google/cloud/audit/bigquery_audit_metadata.proto", - "proto-google-common-protos/src/main/proto/google/cloud/common_resources.proto", - "proto-google-common-protos/src/main/proto/google/cloud/extended_operations.proto", - "proto-google-common-protos/src/main/proto/google/geo/type/viewport.proto", - "proto-google-common-protos/src/main/proto/google/logging/type/http_request.proto", - "proto-google-common-protos/src/main/proto/google/logging/type/log_severity.proto", - "proto-google-common-protos/src/main/proto/google/longrunning/operations.proto", - "proto-google-common-protos/src/main/proto/google/rpc/code.proto", - "proto-google-common-protos/src/main/proto/google/rpc/context/attribute_context.proto", - "proto-google-common-protos/src/main/proto/google/rpc/error_details.proto", - "proto-google-common-protos/src/main/proto/google/rpc/status.proto", - "proto-google-common-protos/src/main/proto/google/type/calendar_period.proto", - "proto-google-common-protos/src/main/proto/google/type/color.proto", - "proto-google-common-protos/src/main/proto/google/type/date.proto", - "proto-google-common-protos/src/main/proto/google/type/datetime.proto", - "proto-google-common-protos/src/main/proto/google/type/dayofweek.proto", - "proto-google-common-protos/src/main/proto/google/type/decimal.proto", - "proto-google-common-protos/src/main/proto/google/type/expr.proto", - "proto-google-common-protos/src/main/proto/google/type/fraction.proto", - "proto-google-common-protos/src/main/proto/google/type/interval.proto", - "proto-google-common-protos/src/main/proto/google/type/latlng.proto", - "proto-google-common-protos/src/main/proto/google/type/localized_text.proto", - "proto-google-common-protos/src/main/proto/google/type/money.proto", - "proto-google-common-protos/src/main/proto/google/type/month.proto", - "proto-google-common-protos/src/main/proto/google/type/phone_number.proto", - "proto-google-common-protos/src/main/proto/google/type/postal_address.proto", - "proto-google-common-protos/src/main/proto/google/type/quaternion.proto", - "proto-google-common-protos/src/main/proto/google/type/timeofday.proto", - "renovate.json" - ] -} \ No newline at end of file diff --git a/java-iam/CODE_OF_CONDUCT.md b/java-iam/CODE_OF_CONDUCT.md deleted file mode 100644 index 2add2547a8..0000000000 --- a/java-iam/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,94 +0,0 @@ - -# Code of Conduct - -## Our Pledge - -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, gender identity and expression, level of -experience, education, socio-economic status, nationality, personal appearance, -race, religion, or sexual identity and orientation. - -## Our Standards - -Examples of behavior that contributes to creating a positive environment -include: - -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members - -Examples of unacceptable behavior by participants include: - -* The use of sexualized language or imagery and unwelcome sexual attention or - advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic - address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting - -## Our Responsibilities - -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. - -Project maintainers have the right and responsibility to remove, edit, or reject -comments, commits, code, wiki edits, issues, and other contributions that are -not aligned to this Code of Conduct, or to ban temporarily or permanently any -contributor for other behaviors that they deem inappropriate, threatening, -offensive, or harmful. - -## Scope - -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. - -This Code of Conduct also applies outside the project spaces when the Project -Steward has a reasonable belief that an individual's behavior may have a -negative impact on the project or its community. - -## Conflict Resolution - -We do not believe that all conflict is bad; healthy debate and disagreement -often yield positive results. However, it is never okay to be disrespectful or -to engage in behavior that violates the project’s code of conduct. - -If you see someone violating the code of conduct, you are encouraged to address -the behavior directly with those involved. Many issues can be resolved quickly -and easily, and this gives people more control over the outcome of their -dispute. If you are unable to resolve the matter for any reason, or if the -behavior is threatening or harassing, report it. We are dedicated to providing -an environment where participants feel welcome and safe. - -Reports should be directed to *googleapis-stewards@google.com*, the -Project Steward(s) for *Google Cloud Client Libraries*. It is the Project Steward’s duty to -receive and address reported violations of the code of conduct. They will then -work with a committee consisting of representatives from the Open Source -Programs Office and the Google Open Source Strategy team. If for any reason you -are uncomfortable reaching out to the Project Steward, please email -opensource@google.com. - -We will investigate every complaint, but you may not receive a direct response. -We will use our discretion in determining when and how to follow up on reported -incidents, which may range from not taking action to permanent expulsion from -the project and project-sponsored spaces. We will notify the accused of the -report and provide them an opportunity to discuss it before any action is taken. -The identity of the reporter will be omitted from the details of the report -supplied to the accused. In potentially harmful situations, such as ongoing -harassment or threats to anyone's safety, we may take action without notice. - -## Attribution - -This Code of Conduct is adapted from the Contributor Covenant, version 1.4, -available at -https://www.contributor-covenant.org/version/1/4/code-of-conduct.html \ No newline at end of file diff --git a/java-iam/CONTRIBUTING.md b/java-iam/CONTRIBUTING.md deleted file mode 100644 index b65dd279c9..0000000000 --- a/java-iam/CONTRIBUTING.md +++ /dev/null @@ -1,92 +0,0 @@ -# How to Contribute - -We'd love to accept your patches and contributions to this project. There are -just a few small guidelines you need to follow. - -## Contributor License Agreement - -Contributions to this project must be accompanied by a Contributor License -Agreement. You (or your employer) retain the copyright to your contribution; -this simply gives us permission to use and redistribute your contributions as -part of the project. Head over to to see -your current agreements on file or to sign a new one. - -You generally only need to submit a CLA once, so if you've already submitted one -(even if it was for a different project), you probably don't need to do it -again. - -## Code reviews - -All submissions, including submissions by project members, require review. We -use GitHub pull requests for this purpose. Consult -[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more -information on using pull requests. - -## Community Guidelines - -This project follows -[Google's Open Source Community Guidelines](https://opensource.google.com/conduct/). - -## Building the project - -To build, package, and run all unit tests run the command - -``` -mvn clean verify -``` - -### Running Integration tests - -To include integration tests when building the project, you need access to -a GCP Project with a valid service account. - -For instructions on how to generate a service account and corresponding -credentials JSON see: [Creating a Service Account][1]. - -Then run the following to build, package, run all unit tests and run all -integration tests. - -```bash -export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json -mvn -Penable-integration-tests clean verify -``` - -## Code Samples - -All code samples must be in compliance with the [java sample formatting guide][3]. -Code Samples must be bundled in separate Maven modules. - -The samples must be separate from the primary project for a few reasons: -1. Primary projects have a minimum Java version of Java 8 whereas samples can have - Java version of Java 11. Due to this we need the ability to - selectively exclude samples from a build run. -2. Many code samples depend on external GCP services and need - credentials to access the service. -3. Code samples are not released as Maven artifacts and must be excluded from - release builds. - -### Building - -```bash -mvn clean verify -``` - -Some samples require access to GCP services and require a service account: - -```bash -export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json -mvn clean verify -``` - -### Code Formatting - -Code in this repo is formatted with -[google-java-format](https://github.com/google/google-java-format). -To run formatting on your project, you can run: -``` -mvn com.coveo:fmt-maven-plugin:format -``` - -[1]: https://cloud.google.com/docs/authentication/getting-started#creating_a_service_account -[2]: https://maven.apache.org/settings.html#Active_Profiles -[3]: https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md \ No newline at end of file diff --git a/java-iam/README.md b/java-iam/README.md index 61f37598b7..79d75ba20a 100644 --- a/java-iam/README.md +++ b/java-iam/README.md @@ -18,16 +18,6 @@ This library follows [Semantic Versioning](http://semver.org/). It is currently in major version zero (`0.y.z`), which means that anything may change at any time and the public API should not be considered stable. -## Contributing - -Contributions to this library are always welcome and highly encouraged. - -See [CONTRIBUTING][contributing] for more information how to get started. - -Please note that this project is released with a Contributor Code of Conduct. By participating in -this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more -information. - ## License Apache 2.0 - See [LICENSE][license] for more information. diff --git a/java-iam/renovate.json b/java-iam/renovate.json deleted file mode 100644 index c52f7a39b7..0000000000 --- a/java-iam/renovate.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "extends": [ - ":separateMajorReleases", - ":combinePatchMinorReleases", - ":ignoreUnstable", - ":prImmediately", - ":updateNotScheduled", - ":automergeDisabled", - ":ignoreModulesAndTests", - ":maintainLockFilesDisabled", - ":autodetectPinVersions" - ], - "ignorePaths": [".kokoro/requirements.txt"], - "packageRules": [ - { - "packagePatterns": [ - "^com.google.guava:" - ], - "versionScheme": "docker" - }, - { - "packagePatterns": [ - "*" - ], - "semanticCommitType": "deps", - "semanticCommitScope": null - }, - { - "packagePatterns": [ - "^org.apache.maven", - "^org.jacoco:", - "^org.codehaus.mojo:", - "^org.sonatype.plugins:", - "^com.coveo:", - "^com.google.cloud:google-cloud-shared-config" - ], - "semanticCommitType": "build", - "semanticCommitScope": "deps" - }, - { - "packagePatterns": [ - "^com.google.api.grpc:proto-google-iam-v1", - "^com.google.cloud:libraries-bom", - "^com.google.cloud.samples:shared-configuration" - ], - "semanticCommitType": "chore", - "semanticCommitScope": "deps" - }, - { - "packagePatterns": [ - "^junit:junit", - "^com.google.truth:truth", - "^org.mockito:mockito-core", - "^org.objenesis:objenesis", - "^com.google.cloud:google-cloud-conformance-tests" - ], - "semanticCommitType": "test", - "semanticCommitScope": "deps" - }, - { - "packagePatterns": [ - "^com.google.cloud:google-cloud-" - ], - "ignoreUnstable": false - }, - { - "packagePatterns": [ - "^com.fasterxml.jackson.core" - ], - "groupName": "jackson dependencies" - } - ], - "semanticCommits": true, - "dependencyDashboard": true -} diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata deleted file mode 100644 index 884257a9aa..0000000000 --- a/java-iam/synth.metadata +++ /dev/null @@ -1,125 +0,0 @@ -{ - "sources": [ - { - "git": { - "name": ".", - "remote": "https://github.com/googleapis/java-iam.git", - "sha": "0bde6b4db52bf09a4f1f0fbbb7519b82a4e7eb39" - } - }, - { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "2921f9fb3bfbd16f6b2da0104373e2b47a80a65e", - "internalRef": "408420890" - } - }, - { - "git": { - "name": "synthtool", - "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7a7c48f96e90d1cdc3ab0cc8293279fdcb10fd36" - } - } - ], - "generatedFiles": [ - ".github/CODEOWNERS", - ".github/ISSUE_TEMPLATE/bug_report.md", - ".github/ISSUE_TEMPLATE/feature_request.md", - ".github/ISSUE_TEMPLATE/support_request.md", - ".github/PULL_REQUEST_TEMPLATE.md", - ".github/blunderbuss.yml", - ".github/generated-files-bot.yml", - ".github/release-please.yml", - ".github/release-trigger.yml", - ".github/snippet-bot.yml", - ".github/sync-repo-settings.yaml", - ".github/trusted-contribution.yml", - ".github/workflows/approve-readme.yaml", - ".github/workflows/auto-release.yaml", - ".github/workflows/ci.yaml", - ".kokoro/build.bat", - ".kokoro/build.sh", - ".kokoro/coerce_logs.sh", - ".kokoro/common.cfg", - ".kokoro/common.sh", - ".kokoro/continuous/common.cfg", - ".kokoro/continuous/java8.cfg", - ".kokoro/dependencies.sh", - ".kokoro/nightly/common.cfg", - ".kokoro/nightly/integration.cfg", - ".kokoro/nightly/java11.cfg", - ".kokoro/nightly/java7.cfg", - ".kokoro/nightly/java8-osx.cfg", - ".kokoro/nightly/java8-win.cfg", - ".kokoro/nightly/java8.cfg", - ".kokoro/nightly/samples.cfg", - ".kokoro/populate-secrets.sh", - ".kokoro/presubmit/clirr.cfg", - ".kokoro/presubmit/common.cfg", - ".kokoro/presubmit/dependencies.cfg", - ".kokoro/presubmit/graalvm-native.cfg", - ".kokoro/presubmit/integration.cfg", - ".kokoro/presubmit/java11.cfg", - ".kokoro/presubmit/java7.cfg", - ".kokoro/presubmit/java8-osx.cfg", - ".kokoro/presubmit/java8-win.cfg", - ".kokoro/presubmit/java8.cfg", - ".kokoro/presubmit/linkage-monitor.cfg", - ".kokoro/presubmit/lint.cfg", - ".kokoro/presubmit/samples.cfg", - ".kokoro/readme.sh", - ".kokoro/release/bump_snapshot.cfg", - ".kokoro/release/common.cfg", - ".kokoro/release/common.sh", - ".kokoro/release/drop.cfg", - ".kokoro/release/drop.sh", - ".kokoro/release/promote.cfg", - ".kokoro/release/promote.sh", - ".kokoro/release/publish_javadoc.cfg", - ".kokoro/release/publish_javadoc.sh", - ".kokoro/release/publish_javadoc11.cfg", - ".kokoro/release/publish_javadoc11.sh", - ".kokoro/release/snapshot.cfg", - ".kokoro/release/snapshot.sh", - ".kokoro/release/stage.cfg", - ".kokoro/release/stage.sh", - ".kokoro/trampoline.sh", - "CODE_OF_CONDUCT.md", - "CONTRIBUTING.md", - "LICENSE", - "SECURITY.md", - "codecov.yaml", - "grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java", - "java.header", - "license-checks.xml", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDelta.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDeltaOrBuilder.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/Binding.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDelta.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingOrBuilder.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequest.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptions.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptionsOrBuilder.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/IamPolicyProto.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/Policy.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDelta.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyOrBuilder.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequest.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequestOrBuilder.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequest.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponse.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataOrBuilder.java", - "proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java", - "renovate.json" - ] -} \ No newline at end of file