Skip to content

Remove PowerMock from the Slack GCF sample. #2854

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 238 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
238 commits
Select commit Hold shift + click to select a range
3120eb7
Remove PowerMock from the Slack GCF sample.
eamonnmcmanus May 7, 2020
33c1426
Clear current registry between tests. (#2852)
gguuss May 7, 2020
818edc4
functions: remove extra pom.xml line (#2851)
May 7, 2020
bd87a1b
healthcare API: add missing variable names, change dicomStore to fhir…
noerog May 7, 2020
e589c8f
healthcare API: use dataset path instead of FHIR store path when list…
noerog May 8, 2020
3db6d74
Fix #2861 (#2864)
May 11, 2020
3fb8428
healthcare API: fix FHIR store metadata FHIR_NAME pattern, move file …
noerog May 11, 2020
51fa090
healthcare API: fix path for FhirResourceGetHistory and make output d…
noerog May 11, 2020
e87c444
[IAM] Update quickstart samples (#2829)
melaniedejong May 12, 2020
8b279fb
[functions/scopes]: use CONSTANT_CASE for variable (#2871)
May 12, 2020
514fd5f
healthcare API: change how HL7v2MessageList processes results, fix er…
noerog May 12, 2020
abd6316
samples: fix test (#2872)
stephaniewang526 May 12, 2020
bab5b4a
healthcare API: fix DICOM_NAME variable (#2875)
noerog May 13, 2020
29dbe7d
healthcare API: add resource types to remaining FHIR resource code (#…
noerog May 13, 2020
c3ffd13
healthcare API: fix input data for ExecuteBundle, fix path name (#2877)
noerog May 14, 2020
121fa88
feat: add snipped for firestore.query.limittolast() (#2880)
dmitry-fa May 14, 2020
1be04f3
functions: Java log severity is NOT broken :) (#2882)
May 14, 2020
34121dd
GCF example POM: fix mismatched region tag + add new one (#2883)
May 14, 2020
a930d10
feat(datacatalog): update quickstart to V1 (#2887)
mesmacosta May 15, 2020
4e8d64d
Update SAMPLE_FORMAT to use main. (#2888)
kurtisvg May 15, 2020
7f7545d
chore(deps): update dependency com.nimbusds:nimbus-jose-jwt to v8.17 …
renovate-bot May 18, 2020
36f07b1
chore(deps): update dependency io.micronaut:micronaut-bom to v1.3.5 (…
renovate-bot May 18, 2020
a817fe7
chore(deps): update dependency gradle to v6.4.1 (#2910)
renovate-bot May 18, 2020
70db9d5
chore(deps): update dependency com.zaxxer:hikaricp to v3.4.5 (#2909)
renovate-bot May 18, 2020
212d04b
chore(deps): update dependency com.squareup.okhttp3:okhttp to v4.7.0 …
renovate-bot May 18, 2020
742d1b8
chore(deps): update dependency com.sendgrid:sendgrid-java to v4.5.0 (…
renovate-bot May 18, 2020
318b6b5
Let's ask folks to follow our guidelines. (#2889)
lesv May 18, 2020
47465cb
chore(deps): update dependency com.google.apis:google-api-services-st…
renovate-bot May 18, 2020
1fcedb2
chore(deps): update dependency com.google.cloud:google-cloud-pubsub t…
renovate-bot May 18, 2020
cab4eec
chore(deps): update dependency com.googlecode.lanterna:lanterna to v3…
renovate-bot May 18, 2020
f8e3fe1
chore(deps): update dependency com.google.cloud:google-cloud-storage …
renovate-bot May 18, 2020
22c1b75
chore(deps): update dependency com.google.protobuf:protobuf-java to v…
renovate-bot May 18, 2020
bef527a
chore(deps): update dependency io.micronaut:micronaut-inject-java to …
renovate-bot May 18, 2020
6cbf35b
chore(deps): update dependency com.google.apis:google-api-services-he…
renovate-bot May 18, 2020
ddf4dfc
chore(deps): update dependency com.google.auto.value:auto-value to v1…
renovate-bot May 18, 2020
5f53bd8
chore(deps): update dependency com.google.cloud:google-cloud-bigquery…
renovate-bot May 18, 2020
3720073
chore(deps): update dependency com.google.apis:google-api-services-jo…
renovate-bot May 18, 2020
9bfc01a
chore(deps): update dependency com.google.apis:google-api-services-cl…
renovate-bot May 18, 2020
87e3d8c
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot May 18, 2020
0425088
chore(deps): update dependency com.auth0:java-jwt to v3.10.3 (#2892)
renovate-bot May 18, 2020
8098c53
chore(deps): update dependency com.google.auto.value:auto-value-annot…
renovate-bot May 18, 2020
9dace67
chore(deps): update dependency io.vertx:vertx-unit to v3.9.1 (#2915)
renovate-bot May 18, 2020
f99f0cc
chore(deps): update dependency io.vertx:vertx-core to v3.9.1 (#2914)
renovate-bot May 18, 2020
8c18cf5
chore(deps): update dependency io.micronaut:micronaut-validation to v…
renovate-bot May 18, 2020
ed0fb87
chore(deps): update dependency io.vertx:vertx-web to v3.9.1 (#2917)
renovate-bot May 18, 2020
d786f0d
chore(deps): update dependency ch.qos.logback:logback-classic to v1.3…
renovate-bot May 18, 2020
1044784
chore(deps): update dependency io.vertx:vertx-web-client to v3.9.1 (#…
renovate-bot May 18, 2020
c949a5f
chore(deps): update dependency net.alchim31.maven:scala-maven-plugin …
renovate-bot May 18, 2020
f70939f
chore(deps): update dependency org.apache.arrow:arrow-vector to v0.17…
renovate-bot May 18, 2020
fb2fea5
chore(deps): update dependency com.squareup.okhttp3:okhttp to v4.7.1 …
renovate-bot May 18, 2020
ca58518
chore(deps): update dependency com.google.apis:google-api-services-co…
renovate-bot May 18, 2020
d0a0e74
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot May 18, 2020
94061b1
fix: firestore projectId is hardcoded in the tests (#2884)
dmitry-fa May 19, 2020
75ecc6f
chore(deps): update quarkus.version to v1.4.2.final (#2926)
renovate-bot May 19, 2020
52c592f
chore(deps): update dependency org.hibernate:hibernate-core to v5.4.1…
renovate-bot May 19, 2020
679bda3
chore(deps): update dependency com.google.cloud:google-cloud-bigquery…
renovate-bot May 19, 2020
e351305
Update build timeouts. (#2936)
kurtisvg May 19, 2020
42cfa66
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot May 19, 2020
d02178b
Region tag fixes for b/156959476 (#2924)
May 19, 2020
5353f3d
chore(deps): update dependency com.squareup.okhttp3:okhttp to v4.7.2 …
renovate-bot May 20, 2020
c6901f0
Functions: clarify cloudbuild.yaml (#2946)
May 20, 2020
e0902e3
chore(deps): update spring boot to v2.3.0.release (#2927)
renovate-bot May 20, 2020
ff7ed6b
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot May 21, 2020
740d73e
chore(deps): update dependency com.google.cloud:libraries-bom to v5 (…
renovate-bot May 21, 2020
17f1362
chore(deps): update dependency com.atlassian.commonmark:commonmark to…
renovate-bot May 21, 2020
e458063
chore(deps): update dependency com.google.protobuf:protobuf-java to v…
renovate-bot May 21, 2020
ecf8c33
chore(deps): update dependency com.atlassian.commonmark:commonmark-ex…
renovate-bot May 21, 2020
0a459d2
Make the example a bit more Groovy idiomatic (#2953)
glaforge May 21, 2020
4deed70
chore(deps): update dependency com.google.cloud:google-cloud-bigquery…
renovate-bot May 21, 2020
1678a8e
chore(deps): update dependency com.atlassian.commonmark:commonmark-ex…
renovate-bot May 21, 2020
754feef
chore(deps): update dependency com.google.cloud.tools:jib-maven-plugi…
renovate-bot May 21, 2020
6faf755
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot May 21, 2020
69dee00
chore(deps): update jetty packages to v9.4.29.v20200521 (#2964)
renovate-bot May 21, 2020
ac8d5b1
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot May 23, 2020
0870bb8
chore(deps): update dependency org.json:json to v20200518 (#2968)
renovate-bot May 23, 2020
a18f774
chore(deps): update dependency com.google.cloud:google-cloud-pubsub t…
renovate-bot May 25, 2020
f5fcf50
Change video test to not depend on specific inference
gguuss May 26, 2020
e6155de
chore(deps): update quarkus.version to v1.5.0.final (#2978)
renovate-bot May 27, 2020
3e99190
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot May 27, 2020
7117df7
chore(deps): update dependency com.nimbusds:nimbus-jose-jwt to v8.17.…
renovate-bot May 27, 2020
cc7e086
chore(deps): update dependency com.google.cloud:google-cloud-core to …
renovate-bot May 27, 2020
caebd85
chore(deps): update dependency com.google.protobuf:protobuf-java to v…
renovate-bot May 27, 2020
ee066cd
chore(deps): update dependency commons-io:commons-io to v2.7 (#2983)
renovate-bot May 28, 2020
7435c04
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot May 28, 2020
db7dc84
Update ExampleSystemTest.java (#2984)
kurtisvg May 28, 2020
86cea4d
fix: talent solution v4 samples tests (#2977)
munkhuushmgl May 28, 2020
93d7891
chore: added comment on try/catch block (#2980)
munkhuushmgl May 28, 2020
82d3fe6
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot May 28, 2020
f4d2ee8
Update READMEs with source deploy functionality (#2989)
ashih May 29, 2020
6a40783
chore(deps): update dependency com.atlassian.commonmark:commonmark to…
renovate-bot May 29, 2020
e9c9bfc
chore(deps): update dependency com.atlassian.commonmark:commonmark-ex…
renovate-bot May 29, 2020
d0c4257
chore(deps): update dependency com.atlassian.commonmark:commonmark-ex…
renovate-bot May 29, 2020
d7a60bf
chore(deps): upgrade bigtable dep to 1.13.0 and reorganize dependenci…
kolea2 May 29, 2020
ecff026
chore(deps): update dependency org.hibernate:hibernate-core to v5.4.1…
renovate-bot May 29, 2020
5d4c1f5
feat: migrate samples for bigquerdatatransfer and bigquerystorage int…
stephaniewang526 May 29, 2020
470a808
chore(deps): update dependency com.google.errorprone:error_prone_core…
renovate-bot May 29, 2020
385d52a
chore(deps): update spring cloud (#2997)
renovate-bot May 29, 2020
4d26acb
chore(deps): update dependency com.google.apis:google-api-services-co…
renovate-bot May 29, 2020
ec02208
chore(deps): update dependency com.google.apis:google-api-services-cl…
renovate-bot May 29, 2020
e47d805
chore(deps): update dependency com.google.apis:google-api-services-he…
renovate-bot May 30, 2020
c3c4909
chore(deps): update dependency net.logstash.logback:logstash-logback-…
renovate-bot May 31, 2020
9b2ead7
Update app.yaml for Java 11 (#3007)
averikitsch Jun 1, 2020
cb5a9ee
Fix issues with DLP readme and samples used in it (#3008)
sushicw Jun 1, 2020
2340b7e
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 1, 2020
d4a4ec4
Move helloworld samples from getting-started-java (#3010)
averikitsch Jun 2, 2020
f78179f
bug: fix importData sample in order to bump libraries-bom version (#3…
stephaniewang526 Jun 2, 2020
513e751
chore(deps): update dependency com.nimbusds:nimbus-jose-jwt to v8.18 …
renovate-bot Jun 2, 2020
7cc9546
Add Java code sample for concepts-infotypes (#3012)
jakubrauch Jun 2, 2020
1fd5b7a
chore(deps): update dependency com.google.cloud:google-cloud-bigquery…
renovate-bot Jun 2, 2020
2dfc807
Create Java code sample for create job (#3017)
chloeliu123 Jun 2, 2020
4e03d6f
feat: remove automl beta samples (#3019)
stephaniewang526 Jun 2, 2020
d40c014
chore(deps): update dependency org.apache.maven.plugins:maven-shade-p…
renovate-bot Jun 2, 2020
dee7ba7
chore(deps): update dependency org.apache.maven.plugins:maven-shade-p…
renovate-bot Jun 2, 2020
5f201fb
feat: revert "feat: remove automl beta samples" (#3024)
stephaniewang526 Jun 2, 2020
376ff15
Create Java code sample for omit email address (#3020)
sushicw Jun 2, 2020
695b088
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot Jun 2, 2020
27c90d5
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 2, 2020
33663cc
Fix memory error in springboot standard logging. (#3028)
dzlier-gcp Jun 2, 2020
6e079ed
chore(deps): update dependency org.codehaus.mojo:exec-maven-plugin to…
renovate-bot Jun 3, 2020
daebde8
chore(deps): update dependency gradle to v6.5 (#3029)
renovate-bot Jun 3, 2020
76a8fa9
Update Google Credentials (#3023)
averikitsch Jun 3, 2020
3a5d868
chore(deps): update dependency io.github.resilience4j:resilience4j-re…
renovate-bot Jun 3, 2020
f64f816
chore(deps): update dependency io.github.resilience4j:resilience4j-co…
renovate-bot Jun 3, 2020
a28a751
healthcare API: add comment clarifying that deleted FHIR resources wi…
noerog Jun 3, 2020
d0da3bf
feat: add sample for createInstance (#3036)
olavloite Jun 3, 2020
892a7c3
Create Java code sample for get jobs (#3027)
chloeliu123 Jun 3, 2020
02a1c6b
chore(deps): update dependency com.nimbusds:nimbus-jose-jwt to v8.18.…
renovate-bot Jun 3, 2020
da331c7
chore(deps): update dependency com.nimbusds:nimbus-jose-jwt to v8.19 …
renovate-bot Jun 3, 2020
b885be7
deps: bump libraries-bom version (#3046)
stephaniewang526 Jun 3, 2020
f59de31
Include locations/global in parent field to fix samples (#3042)
sushicw Jun 3, 2020
0ae4d1c
Fix Firebase Console URL in README (#3047)
sdlin Jun 3, 2020
6de4b55
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 4, 2020
f00cbef
fix: include different ways to delete data in sample (#3034)
olavloite Jun 4, 2020
7530246
chore(deps): update dependency org.postgresql:postgresql to v42.2.13 …
renovate-bot Jun 4, 2020
7359f1c
create Java code sample for omit email with specific domain (#3050)
sushicw Jun 4, 2020
be89bb6
Create Java code sample for omit finding with substring (#3054)
sushicw Jun 4, 2020
11dc22c
chore(deps): update dependency com.google.apis:google-api-services-ia…
renovate-bot Jun 4, 2020
cbd136f
chore(deps): update dependency com.google.apis:google-api-services-he…
renovate-bot Jun 4, 2020
2301999
chore(deps): update dependency com.google.cloud:google-cloud-firestor…
renovate-bot Jun 4, 2020
4f4c8ed
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 4, 2020
532e145
Create Java code sample for omit finding with substring using custom …
sushicw Jun 4, 2020
23e02c5
chore: add region tags for Spanner JDBC samples (#3052)
skuruppu Jun 4, 2020
512c174
Fix inspect tests (#3049)
sushicw Jun 4, 2020
319f03a
fix Gandalf phone number - valid phone numbers cannot start with 1. (…
micheldavid Jun 5, 2020
95f0ed7
Make DLP Java samples exception handling consistent (#3060)
sushicw Jun 5, 2020
786d733
chore(deps): update dependency com.google.apis:google-api-services-co…
renovate-bot Jun 5, 2020
b604f7f
Create Java code sample for omit names that overlap with custom detec…
sushicw Jun 5, 2020
dec4945
Create Java code sample for omit names that are also an email (#3065)
sushicw Jun 5, 2020
b4d608a
Create Java code sample for omit domain names that are an email (#3066)
sushicw Jun 5, 2020
082d9db
Remove error prone from individual pom files. (#3068)
dzlier-gcp Jun 5, 2020
0c13cb1
healthcare API: remove unused imports (#3067)
noerog Jun 5, 2020
ccb74a4
chore(deps): update dependency org.codehaus.mojo:exec-maven-plugin to…
renovate-bot Jun 5, 2020
ab69fb5
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 5, 2020
68834cc
Add Java code sample for replacement (#3072)
jakubrauch Jun 6, 2020
b3fe86c
Add Java code samples for image redaction (#3075)
jakubrauch Jun 6, 2020
349f13e
Fix pubsub handling for DLP samples and tests (#3076)
sushicw Jun 6, 2020
06ab69a
chore(deps): update dependency io.micronaut:micronaut-validation to v…
renovate-bot Jun 8, 2020
a0a93de
Add seperate lint and static_anaylsis tests for presubmits. (#3077)
kurtisvg Jun 8, 2020
581e98a
Inspect custom hotword b 156971569 (#3080)
sushicw Jun 8, 2020
e186156
chore(deps): update beam.version to v2.22.0 (#3082)
renovate-bot Jun 8, 2020
31fc663
chore(deps): update dependency io.micronaut:micronaut-inject-java to …
renovate-bot Jun 8, 2020
8182e93
Add Java code sample for table inspection (#3062)
jakubrauch Jun 8, 2020
72ca178
chore(deps): update apache_beam.version to v2.22.0 (#3081)
renovate-bot Jun 8, 2020
433327f
Fix lint / static analysis checks. (#3084)
kurtisvg Jun 8, 2020
a357f56
chore(deps): update dependency io.micronaut:micronaut-bom to v1.3.6 (…
renovate-bot Jun 8, 2020
b85384b
Make lint/static checks quieter. (#3086)
kurtisvg Jun 8, 2020
3771168
Fix java quickstart (#3045)
sdlin Jun 9, 2020
dd7459c
Add Java code samples for image inspection (#3088)
jakubrauch Jun 9, 2020
3edfc9a
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 9, 2020
5e2568d
chore(deps): update dependency org.apache.maven.plugins:maven-war-plu…
renovate-bot Jun 9, 2020
a35ab2b
chore(deps): update dependency org.apache.maven.plugins:maven-war-plu…
renovate-bot Jun 9, 2020
fa43d94
Create Java code sample for wordList example (#3092)
chloeliu123 Jun 9, 2020
4159646
chore: splitting sample into single files (#3083)
munkhuushmgl Jun 9, 2020
8558a50
chore(deps): update dependency com.google.cloud:google-cloud-pubsub t…
renovate-bot Jun 9, 2020
3bcfd86
Create Java code sample for custom regex (#3111)
chloeliu123 Jun 9, 2020
eedf952
chore(deps): update dependency com.google.cloud.tools:jib-maven-plugi…
renovate-bot Jun 9, 2020
ae6ab81
chore(deps): update dependency com.google.cloud:google-cloud-bigquery…
renovate-bot Jun 9, 2020
9f4bf09
Add compile before spotbugs check and remove lint from main tests. (#…
kurtisvg Jun 10, 2020
f8e5b29
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 10, 2020
feab014
healthcare API: remove message create from test_Hl7v2MessageList (#3093)
noerog Jun 10, 2020
a3beb42
chore(deps): update dependency io.netty:netty-tcnative-boringssl-stat…
renovate-bot Jun 10, 2020
9724bcb
chore(deps): update dependency com.google.cloud.samples:shared-config…
renovate-bot Jun 10, 2020
7b1a283
Add Java code sample for redaction (#3051)
jakubrauch Jun 10, 2020
be82695
chore(deps): update dependency org.postgresql:postgresql to v42.2.14 …
renovate-bot Jun 10, 2020
9a4816e
Create Java code sample for multiple rules (#3112)
sushicw Jun 10, 2020
ce5bc8d
chore(deps): update dependency com.google.cloud.functions:function-ma…
renovate-bot Jun 10, 2020
e212f9d
[Kokoro] Add quiet flags for Cloud Run tests (#3124)
averikitsch Jun 10, 2020
f4d921c
Create Java code sample for wordList example - Exception list (#3120)
chloeliu123 Jun 10, 2020
0e54843
chore(deps): update dependency org.apache.maven.plugins:maven-assembl…
renovate-bot Jun 10, 2020
8327451
Update PR template (#3131)
lesv Jun 10, 2020
8753f75
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 10, 2020
704bb15
Handle undefined variables (#3125)
eamonnmcmanus Jun 10, 2020
b10178b
chore(deps): update dependency com.google.cloud:google-cloud-core to …
renovate-bot Jun 10, 2020
9a3d764
Warn us about possible RepoBot failures (#3133)
lesv Jun 10, 2020
c0d7ae9
Formatting consistency pass for DLP Inspect* samples (#3132)
sushicw Jun 10, 2020
749d257
Add Java code samples for fpe (#3118)
jakubrauch Jun 10, 2020
6f956cc
chore(deps): update dependency com.google.auto.value:auto-value-annot…
renovate-bot Jun 11, 2020
5652e63
chore(deps): update dependency com.google.cloud:google-cloud-logging …
renovate-bot Jun 11, 2020
e28261e
chore(deps): update dependency com.sendgrid:sendgrid-java to v4.6.0 (…
renovate-bot Jun 11, 2020
770c80e
chore(deps): update dependency com.google.auto.value:auto-value to v1…
renovate-bot Jun 11, 2020
b997dbd
chore(deps): update dependency com.google.apis:google-api-services-st…
renovate-bot Jun 11, 2020
2815d73
Create Java code sample for custom infotype likelihood (#3145)
chloeliu123 Jun 11, 2020
fe599dc
Inspect gcs sample b 157050959 (#3146)
sushicw Jun 11, 2020
22aa355
chore(deps): update dependency com.google.cloud:google-cloud-storage …
renovate-bot Jun 11, 2020
f9c3faa
chore(deps): update dependency io.quarkus:quarkus-bom to v1.5.1.final…
renovate-bot Jun 11, 2020
78b4812
automl: remove vision samples no longer on cgc (#2844)
Strykrol Jun 11, 2020
b825077
fix-it(Cloud Monitoring Api): Change the quick start documentation. (…
andysim3d Jun 11, 2020
e904547
Create Java code sample for inspect BQ with sampling (#3149)
sushicw Jun 11, 2020
76212be
chore(deps): update dependency com.google.cloud:libraries-bom to v5.7…
renovate-bot Jun 11, 2020
4229438
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 11, 2020
5bea78e
chore(deps): update dependency com.google.cloud:google-cloud-security…
renovate-bot Jun 11, 2020
5e40020
chore(deps): update dependency com.google.cloud:google-cloud-datacata…
renovate-bot Jun 12, 2020
d5499ed
chore(deps): update dependency com.google.cloud:google-cloud-asset to…
renovate-bot Jun 12, 2020
0305c45
chore(deps): update spring boot to v2.3.1.release (#3156)
renovate-bot Jun 12, 2020
c6fc670
Fixes product names and a link reference (#3157)
devlance Jun 12, 2020
24c0de4
Add Java code samples for replacement with infotype (#3155)
jakubrauch Jun 12, 2020
b899183
chore(deps): update dependency com.google.cloud:google-cloud-video-in…
renovate-bot Jun 12, 2020
3064a92
chore(deps): update dependency com.google.api.grpc:proto-google-cloud…
renovate-bot Jun 12, 2020
28ecbc2
chore(deps): update jetty packages to v9.4.30.v20200611 (#3160)
renovate-bot Jun 12, 2020
3ba32ca
chore(deps): update jetty.version to v9.4.30.v20200611 (#3161)
renovate-bot Jun 12, 2020
5ee091c
chore(deps): update dependency com.google.cloud:google-cloud-security…
renovate-bot Jun 12, 2020
ac6ee21
chore(deps): update dependency com.google.cloud:google-cloud-core to …
renovate-bot Jun 12, 2020
05febe8
chore(deps): update dependency com.google.api.grpc:proto-google-cloud…
renovate-bot Jun 12, 2020
e657a6c
chore(deps): update dependency com.google.cloud:google-cloud-recommen…
renovate-bot Jun 12, 2020
f6d90ed
dlp: Update README instructions to remove uberjar info (#3167)
kurtisvg Jun 12, 2020
cd51cbc
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 13, 2020
8378c67
Clean up some ProjectName uses in DLP (#3166)
sushicw Jun 13, 2020
aa83cfe
Add Java code samples for de-id tabular data (#3170)
jakubrauch Jun 13, 2020
a282d4e
chore(deps): update dependency com.googlecode.owasp-java-html-sanitiz…
renovate-bot Jun 15, 2020
dfb9ec3
[asset] feat: add samples for SearchAllResources and SearchAllIamPoli…
yuyifan-google Jun 15, 2020
b70dcea
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 15, 2020
3dd276e
Update CONTRIBUTING.md (#3173)
lesv Jun 15, 2020
7f76a7d
chore(deps): update dependency com.google.cloud:google-cloud-storage …
renovate-bot Jun 16, 2020
d9c6d76
Clarify infinite retries sample (#3175)
Jun 16, 2020
012c1e3
remove migrated samples and update readme (#3177)
anguillanneuf Jun 16, 2020
d8df305
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 16, 2020
4939155
Remove PowerMock from the Slack GCF sample.
eamonnmcmanus May 7, 2020
ea88c9a
Merge.
eamonnmcmanus Jun 16, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 4 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ Fixes #issue

> It's a good idea to open an issue first for discussion.

- [ ] I have followed [Sample Format Guide](https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/SAMPLE_FORMAT.md)
- [ ] `pom.xml` parent set to latest `shared-configuration`
- [ ] Appropriate changes to README are included in PR
- [ ] API's need to be enabled to test (tell us)
- [ ] Environment Variables need to be set (ask us to set them)
- [ ] Tests pass (`mvn -P lint clean verify`)
* (Note- `Checkstyle` passing is required; `Spotbugs`, `ErrorProne`, `PMD`, etc. `ERROR`'s are advisory only)
- [ ] **Tests** pass: `mvn clean verify` **required**
- [ ] **Lint** passes: `mvn -P lint checkstyle:check` **required**
- [ ] **Static Analysis**: `mvn -P lint clean compile pmd:cpd-check spotbugs:check` **advisory only**
- [ ] Please **merge** this PR for me once it is approved.
3 changes: 3 additions & 0 deletions .kokoro/java11/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

# Format: //devtools/kokoro/config/proto/build.proto

# Build timeout of 5 hours
timeout_mins: 300

# Download secrets from Cloud Storage.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/java-docs-samples"

Expand Down
3 changes: 3 additions & 0 deletions .kokoro/java8/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

# Format: //devtools/kokoro/config/proto/build.proto

# Build timeout of 5 hours
timeout_mins: 300

# Download secrets from Cloud Storage.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/java-docs-samples"

Expand Down
38 changes: 38 additions & 0 deletions .kokoro/lint/common.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Format: //devtools/kokoro/config/proto/build.proto

# Use the trampoline to bounce the script into docker.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
build_file: "java-docs-samples/.kokoro/trampoline.sh"
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-docs-samples/.kokoro/tests/run_lint.sh"
}

# Access btlr binaries used in the tests
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/btlr"


# Upload logs to result-store
action {
define_artifacts {
regex: "**/*sponge_log.xml"
}
}
21 changes: 21 additions & 0 deletions .kokoro/lint/presubmit.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Format: //devtools/kokoro/config/proto/build.proto

# Tell the trampoline which build file to use.
env_vars: {
key: "GIT_DIFF"
value: "origin/master... ."
}
37 changes: 37 additions & 0 deletions .kokoro/static_analysis/common.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Format: //devtools/kokoro/config/proto/build.proto

# Use the trampoline to bounce the script into docker.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
build_file: "java-docs-samples/.kokoro/trampoline.sh"
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-docs-samples/.kokoro/tests/run_static_analysis.sh"
}

# Access btlr binaries used in the tests
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/btlr"

# Upload logs to result-store
action {
define_artifacts {
regex: "**/*sponge_log.xml"
}
}
19 changes: 19 additions & 0 deletions .kokoro/static_analysis/presubmit.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Format: //devtools/kokoro/config/proto/build.proto
env_vars: {
key: "GIT_DIFF"
value: "origin/master... ."
}
4 changes: 2 additions & 2 deletions .kokoro/tests/build_cloud_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if [ -n "$JIB" ]; then
--platform=managed \
--region="${REGION:-us-central1}" \
--quiet --no-user-output-enabled
mvn clean
mvn -q -B clean
}
trap cleanup EXIT

Expand All @@ -52,7 +52,7 @@ BASE_IMAGE_SAMPLES=("image-processing" "system-packages")
# Build the service
set -x

mvn jib:build -Dimage="${CONTAINER_IMAGE}" \
mvn -q -B jib:build -Dimage="${CONTAINER_IMAGE}" \
`if [[ "${BASE_IMAGE_SAMPLES[@]}" =~ "${SAMPLE_NAME}" ]]; then echo "-Djib.from.image=${SPECIAL_BASE_IMAGE}"; fi`

gcloud run deploy "${SERVICE_NAME}" \
Expand Down
36 changes: 36 additions & 0 deletions .kokoro/tests/run_lint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/usr/bin/env bash
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# `-e` enables the script to automatically fail when a command fails
# `-o pipefail` sets the exit code to the rightmost comment to exit with a non-zero
set -eo pipefail

# If on kokoro, add btlr to the path and cd into repo root
if [ -n "$KOKORO_GFILE_DIR" ]; then
bltr_dir="$KOKORO_GFILE_DIR/v0.0.1/"
chmod +x "${bltr_dir}"btlr
export PATH="$PATH:$bltr_dir"
cd github/java-docs-samples || exit
fi

opts=()
if [ -n "$GIT_DIFF" ]; then
opts+=(
"--git-diff"
"$GIT_DIFF"
)
fi

btlr "${opts[@]}" run "**/pom.xml" -- mvn -P lint --quiet --batch-mode checkstyle:check
36 changes: 36 additions & 0 deletions .kokoro/tests/run_static_analysis.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/usr/bin/env bash
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# `-e` enables the script to automatically fail when a command fails
# `-o pipefail` sets the exit code to the rightmost comment to exit with a non-zero
set -eo pipefail

# If on kokoro, add btlr to the path and cd into repo root
if [ -n "$KOKORO_GFILE_DIR" ]; then
bltr_dir="$KOKORO_GFILE_DIR/v0.0.1/"
chmod +x "${bltr_dir}"btlr
export PATH="$PATH:$bltr_dir"
cd github/java-docs-samples || exit
fi

opts=()
if [ -n "$GIT_DIFF" ]; then
opts+=(
"--git-diff"
"$GIT_DIFF"
)
fi

btlr "${opts[@]}" run "**/pom.xml" -- mvn -P lint --quiet --batch-mode compile pmd:cpd-check spotbugs:check
5 changes: 4 additions & 1 deletion .kokoro/tests/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,11 @@ if [[ "$SCRIPT_DEBUG" != "true" ]]; then
source "${KOKORO_GFILE_DIR}/automl_secrets.txt"
# shellcheck source=src/functions_secrets.txt
source "${KOKORO_GFILE_DIR}/functions_secrets.txt"
# spellcheck source=src/firestore_secrets.txt
source "${KOKORO_GFILE_DIR}/firestore_secrets.txt"
# spellcheck source=src/cts_v4_secrets.txt
source "${KOKORO_GFILE_DIR}/cts_v4_secrets.txt"

# Activate service account
gcloud auth activate-service-account \
--key-file="$GOOGLE_APPLICATION_CREDENTIALS" \
Expand Down Expand Up @@ -161,7 +164,7 @@ for file in **/pom.xml; do
fi

# Use maven to execute the tests for the project.
mvn -P lint -q --batch-mode --fail-at-end clean verify \
mvn --quiet --batch-mode --fail-at-end clean verify \
-Dfile.encoding="UTF-8" \
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
-Dmaven.test.redirectTestOutputToFile=true \
Expand Down
7 changes: 7 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
We'd love to accept your patches and contributions to this project. There are
just a few small guidelines you need to follow.

In this repository, we are looking for patches that:
* Improve readibility
* Fix bugs
* Improve clarity and understandability

If you want to contribute a full sample / tutorial, please consider contributing to our [community pages](https://cloud.google.com/community) [[How To](https://cloud.google.com/community/tutorials/write)] ([code](https://github.com/GoogleCloudPlatform/community)).

## Contributor License Agreement

Contributions to this project must be accompanied by a Contributor License
Expand Down
4 changes: 2 additions & 2 deletions SAMPLE_FORMAT.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ most 4 parameters). In most cases, this is project specific information or the p
file. For example, project specific information (such as `projectId`) or a `filePath` for an
external file is acceptable, while a parameter for the type of a file or a specific action is not.

Any declared function parameters should include a no-arg, overloaded function with examples for how
Any declared function parameters should include a no-arg, main function with examples for how
the user can initialize the function parameters and call the entrypoint for the snippet. If the
values for these variables need to be replaced by the user, attempt to make it explicitly clear that
they are example values only.
Expand All @@ -338,7 +338,7 @@ Snippet functions should specify a return type of `void` and avoid returning any
possible. Instead, show the user how to interact with a returned object programmatically by printing
some example attributes to the console.
```java
public static void exampleSnippet() {
public static void main(main(String[] args) {
// TODO(developer): Replace these variables before running the sample.
String projectId = "my-project-id";
String filePath = "path/to/image.png";
Expand Down
9 changes: 6 additions & 3 deletions appengine-java11/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,14 @@ To switch to an Open JDK 11 in a Cloud shell session, you can use:
```

## Java 11 runtime
One way to deploy to App Engine Java 11 is directly from source.

The simplest way to deploy to App Engine Java 11 is using an executable [Uber JAR][uber-jar]. App Engine will automatically configure the `entrypoint` to run the JAR file.
* [`springboot-helloworld`](springboot-helloworld): Deploy a spring-boot application from source
* [`http-server`](http-server): Deploy an http application from source

* [`springboot-helloworld`](springboot-helloworld): Build a fat JAR with Spring Boot
* [`http-server`](http-server): Build a JAR using the Maven JAR Plugin
Another way is using the Maven App Engine Plugin to deploy an executable [Uber JAR][uber-jar]. App Engine will automatically configure the `entrypoint` to run the JAR file. Use this method when your application requires dependencies that are located locally, such as the [`appengine-simple-jetty-main`](appengine-simple-jetty-main) artifact.

* [`gaeinfo`](gaeinfo): Build a JAR using the Maven JAR Plugin

In addition, App Engine allows you to execute the `java` command directly in the `app.yaml` `entrypoint` field, so you can further customize your app's startup.

Expand Down
1 change: 0 additions & 1 deletion appengine-java11/appengine-simple-jetty-main/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ To use the dependency add the entrypoint to your `app.yaml` file. The
entrypoint field will start the Jetty server and load your `WAR` file.
```
runtime: java11
instance_class: F1
entrypoint: 'java -cp "*" com.example.appengine.demo.jettymain.Main helloworld.war'
```

Expand Down
14 changes: 7 additions & 7 deletions appengine-java11/appengine-simple-jetty-main/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.17</version>
<version>1.0.18</version>
</parent>

<properties>
Expand All @@ -29,30 +29,30 @@
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>9.4.28.v20200408</version>
<version>9.4.30.v20200611</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-webapp</artifactId>
<version>9.4.28.v20200408</version>
<version>9.4.30.v20200611</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
<version>9.4.28.v20200408</version>
<version>9.4.30.v20200611</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-annotations</artifactId>
<version>9.4.28.v20200408</version>
<version>9.4.30.v20200611</version>
<type>jar</type>
</dependency>
<!-- extra explicit dependency needed because there is a JSP in the sample-->
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>apache-jsp</artifactId>
<version>9.4.28.v20200408</version>
<version>9.4.30.v20200611</version>
</dependency>
</dependencies>
<!-- [END gae_java11_server_dependencies] -->
Expand All @@ -64,7 +64,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<version>3.0.0</version>
<executions>
<execution>
<goals>
Expand Down
1 change: 0 additions & 1 deletion appengine-java11/cloudsql/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# limitations under the License.

runtime: java11
instance_class: F1
entrypoint: 'java -cp "*" com.example.appengine.demo.jettymain.Main cloudsql.war'

env_variables:
Expand Down
Loading