diff --git a/java-network-security/.github/.OwlBot.lock.yaml b/java-network-security/.github/.OwlBot.lock.yaml index 7649651ccd4b..77cf60878e55 100644 --- a/java-network-security/.github/.OwlBot.lock.yaml +++ b/java-network-security/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:264c6d5da60ff1684fbdd2b268d6a3ffca2038246e0948a06f15ca0c3cf28ce8 + digest: sha256:edae91ccdd2dded2f572ec341a768ad180305a3e8fbfd93064b28e237d35920a diff --git a/java-network-security/.github/ISSUE_TEMPLATE/bug_report.md b/java-network-security/.github/ISSUE_TEMPLATE/bug_report.md index 200600234b57..45e00ea4f702 100644 --- a/java-network-security/.github/ISSUE_TEMPLATE/bug_report.md +++ b/java-network-security/.github/ISSUE_TEMPLATE/bug_report.md @@ -4,6 +4,11 @@ about: Create a report to help us improve --- +:bus: This library has moved to +[google-cloud-java/java-network-security]( +https://github.com/googleapis/google-cloud-java/tree/main/java-network-security). +This repository will be archived in the future. + Thanks for stopping by to let us know something could be better! **PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. diff --git a/java-network-security/.github/ISSUE_TEMPLATE/feature_request.md b/java-network-security/.github/ISSUE_TEMPLATE/feature_request.md index 754e30c68a00..959806d28fec 100644 --- a/java-network-security/.github/ISSUE_TEMPLATE/feature_request.md +++ b/java-network-security/.github/ISSUE_TEMPLATE/feature_request.md @@ -4,6 +4,11 @@ about: Suggest an idea for this library --- +:bus: This library has moved to +[google-cloud-java/java-network-security]( +https://github.com/googleapis/google-cloud-java/tree/main/java-network-security). +This repository will be archived in the future. + Thanks for stopping by to let us know something could be better! **PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. diff --git a/java-network-security/.kokoro/dependencies.sh b/java-network-security/.kokoro/dependencies.sh index d7476cfe9727..bd8960246f66 100755 --- a/java-network-security/.kokoro/dependencies.sh +++ b/java-network-security/.kokoro/dependencies.sh @@ -57,54 +57,3 @@ retry_with_backoff 3 10 \ -Dclirr.skip=true mvn -B dependency:analyze -DfailOnWarning=true - -echo "****************** DEPENDENCY LIST COMPLETENESS CHECK *******************" -## Run dependency list completeness check -function completenessCheck() { - # Output dep list with compile scope generated using the original pom - # Running mvn dependency:list on Java versions that support modules will also include the module of the dependency. - # This is stripped from the output as it is not present in the flattened pom. - # Only dependencies with 'compile' or 'runtime' scope are included from original dependency list. - msg "Generating dependency list using original pom..." - mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e 's/ --.*//' >.org-list.txt - - # Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes) - msg "Generating dependency list using flattened pom..." - mvn dependency:list -f .flattened-pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt - - # Compare two dependency lists - msg "Comparing dependency lists..." - diff .org-list.txt .new-list.txt >.diff.txt - if [[ $? == 0 ]] - then - msg "Success. No diff!" - else - msg "Diff found. See below: " - msg "You can also check .diff.txt file located in $1." - cat .diff.txt - return 1 - fi -} - -# Allow failures to continue running the script -set +e - -error_count=0 -for path in **/.flattened-pom.xml -do - # Check flattened pom in each dir that contains it for completeness - dir=$(dirname "$path") - pushd "$dir" - completenessCheck "$dir" - error_count=$(($error_count + $?)) - popd -done - -if [[ $error_count == 0 ]] -then - msg "All checks passed." - exit 0 -else - msg "Errors found. See log statements above." - exit 1 -fi diff --git a/java-network-security/.kokoro/nightly/integration.cfg b/java-network-security/.kokoro/nightly/integration.cfg index a2907a257b2b..bd0297a331c2 100644 --- a/java-network-security/.kokoro/nightly/integration.cfg +++ b/java-network-security/.kokoro/nightly/integration.cfg @@ -23,7 +23,7 @@ env_vars: { env_vars: { key: "ENABLE_FLAKYBOT" - value: "true" + value: "false" } env_vars: { diff --git a/java-network-security/.kokoro/nightly/java11-integration.cfg b/java-network-security/.kokoro/nightly/java11-integration.cfg index 58049cc38f11..dc51b65e88df 100644 --- a/java-network-security/.kokoro/nightly/java11-integration.cfg +++ b/java-network-security/.kokoro/nightly/java11-integration.cfg @@ -23,7 +23,7 @@ env_vars: { env_vars: { key: "ENABLE_FLAKYBOT" - value: "true" + value: "false" } env_vars: { diff --git a/java-network-security/.kokoro/nightly/samples.cfg b/java-network-security/.kokoro/nightly/samples.cfg index 9761fd8648cb..fee6a8381322 100644 --- a/java-network-security/.kokoro/nightly/samples.cfg +++ b/java-network-security/.kokoro/nightly/samples.cfg @@ -34,5 +34,5 @@ env_vars: { env_vars: { key: "ENABLE_FLAKYBOT" - value: "true" + value: "false" } diff --git a/java-network-security/README.md b/java-network-security/README.md index 18f79bf83479..e77f1d4e22f2 100644 --- a/java-network-security/README.md +++ b/java-network-security/README.md @@ -12,6 +12,13 @@ Java idiomatic client for [Network Security API][product-docs]. > make backwards-incompatible changes. +:bus: In October 2022, this library has moved to +[google-cloud-java/java-network-security]( +https://github.com/googleapis/google-cloud-java/tree/main/java-network-security). +This repository will be archived in the future. +Future releases will appear in the new repository (https://github.com/googleapis/google-cloud-java/releases). +The Maven artifact coordinates (`com.google.cloud:google-cloud-network-security`) remain the same. + ## Quickstart @@ -22,20 +29,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-network-security - 0.7.0 + 0.8.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-network-security:0.7.0' +implementation 'com.google.cloud:google-cloud-network-security:0.8.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-network-security" % "0.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-network-security" % "0.8.0" ``` ## Authentication diff --git a/java-network-security/renovate.json b/java-network-security/renovate.json index 6e5353377035..d04f63cf10fc 100644 --- a/java-network-security/renovate.json +++ b/java-network-security/renovate.json @@ -1,4 +1,5 @@ { + "enabled": false, "extends": [ ":separateMajorReleases", ":combinePatchMinorReleases",