Skip to content

feat: adding hadoopfs sample #2949

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
39f5b4e
Adding HadoopFS sample
bradmiro May 20, 2020
ed5b190
adding autoscaling samples
bradmiro 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
baafe83
Added autoscaling test and small fixes
bradmiro 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
642ef35
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot Jun 17, 2020
e71c39a
chore(deps): update dependency com.google.cloud:google-cloud-firestor…
renovate-bot Jun 17, 2020
0ee3a61
Make pubsub handling consistent across inspect and risk DLP samples (…
sushicw Jun 17, 2020
946039b
Update lint check to use Java 11 image. (#3192)
kurtisvg Jun 17, 2020
42f2ab8
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 17, 2020
53df141
Update GCF samples to Java 11 standards (#3193)
Jun 17, 2020
fce84c7
chore(deps): update dependency org.apache.maven.plugins:maven-failsaf…
renovate-bot Jun 18, 2020
dd902c5
chore(deps): update surefire-plugin.version to v3.0.0-m5 (#3197)
renovate-bot Jun 18, 2020
e4a9754
Clean up DLP tests (#3198)
sushicw Jun 18, 2020
bde9a05
update to BOM 7 (#3203)
elharo Jun 18, 2020
33d2b39
chore(deps): update dependency com.google.apis:google-api-services-he…
renovate-bot Jun 18, 2020
d0b6fa9
chore(deps): update dependency com.google.apis:google-api-services-co…
renovate-bot Jun 18, 2020
c1889eb
chore(deps): update dependency com.google.apis:google-api-services-cl…
renovate-bot Jun 18, 2020
5d3d1dc
chore(deps): update dependency com.google.cloud:google-cloud-datacata…
renovate-bot Jun 18, 2020
a3453bf
Remove PowerMock from the Slack GCF sample. (#3186)
saturnism Jun 18, 2020
f1fc918
[bigtable] Update region tags for reads and filters (#3148)
billyjacobson Jun 18, 2020
dd06e57
docs: Update Security Command Center UpdateNotificationConfig sample,…
hannah-tsai Jun 18, 2020
5792539
chore(deps): update dependency com.google.cloud:libraries-bom to v7 (…
renovate-bot Jun 18, 2020
b69c41d
samples: added UUID to prevent concurreny errors (#3208)
munkhuushmgl Jun 18, 2020
eae1dee
chore(deps): update dependency org.apache.maven.plugins:maven-surefir…
renovate-bot Jun 18, 2020
b5add82
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 18, 2020
11b63e4
chore(deps): update dependency com.google.cloud:google-cloud-bigquery…
renovate-bot Jun 18, 2020
6ef24a5
chore(deps): update dependency com.google.cloud:google-cloud-storage …
renovate-bot Jun 18, 2020
0253e84
chore(deps): update quarkus.version to v1.5.2.final (#3212)
renovate-bot Jun 18, 2020
8e330eb
chore(deps): update dependency com.google.apis:google-api-services-jo…
renovate-bot Jun 18, 2020
ac43e48
Migrate errorreporting samples to https://github.com/googlepais/java-…
chingor13 Jun 18, 2020
d57566d
chore(deps): update dependency com.google.apis:google-api-services-ia…
renovate-bot Jun 19, 2020
f5d2334
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 19, 2020
ef3bafd
add Java snippets for creating, listing, and deleting queues (#3176)
aarjo Jun 21, 2020
46d0677
chore(deps): update dependency org.hibernate:hibernate-core to v5.4.1…
renovate-bot Jun 22, 2020
2379f54
chore(deps): update dependency com.google.cloud:google-cloud-asset to…
renovate-bot Jun 22, 2020
a2933a3
Update README.md (#3221)
imadethis Jun 22, 2020
ad1084e
chore(deps): update dependency com.google.apis:google-api-services-vi…
renovate-bot Jun 23, 2020
f034884
chore(deps): update dependency com.google.apis:google-api-services-co…
renovate-bot Jun 23, 2020
de22e6d
chore(deps): update dependency com.google.apis:google-api-services-cl…
renovate-bot Jun 23, 2020
08237cc
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 23, 2020
7d529aa
chore(deps): update dependency com.google.apis:google-api-services-ia…
renovate-bot Jun 23, 2020
7a696d0
chore(deps): update dependency com.google.cloud.tools:appengine-maven…
renovate-bot Jun 23, 2020
363793e
chore(deps): update dependency com.google.cloud.tools:appengine-maven…
renovate-bot Jun 23, 2020
cca2154
chore(deps): update dependency org.springframework.cloud:spring-cloud…
renovate-bot Jun 23, 2020
a8be16f
chore(deps): update dependency com.google.cloud:google-cloud-recommen…
renovate-bot Jun 24, 2020
23628fc
chore(deps): update dependency com.google.api.grpc:proto-google-cloud…
renovate-bot Jun 24, 2020
ab13b67
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 24, 2020
c3738ab
fix region tag (#3238)
billyjacobson Jun 24, 2020
6d50a2d
chore(deps): update dependency com.google.cloud:libraries-bom to v7.0…
renovate-bot Jun 24, 2020
c3826df
chore(iap): cleanup spotbugs warnings (#3239)
chingor13 Jun 24, 2020
709f7dc
chore(deps): update dependency com.google.api.grpc:proto-google-cloud…
renovate-bot Jun 24, 2020
2caadda
chore(deps): update dependency com.google.auth:google-auth-library-ap…
renovate-bot Jun 24, 2020
6aef84b
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 24, 2020
e5ed4b1
chore(deps): update dependency com.google.auth:google-auth-library-oa…
renovate-bot Jun 25, 2020
195b4f5
chore(deps): update dependency com.fasterxml.jackson.core:jackson-dat…
renovate-bot Jun 25, 2020
c41a877
chore(deps): update dependency com.fasterxml.jackson.core:jackson-cor…
renovate-bot Jun 25, 2020
da83155
chore(deps): update dependency com.google.cloud:google-cloud-video-in…
renovate-bot Jun 25, 2020
f1663ac
chore(deps): update dependency com.google.cloud:google-cloud-speech t…
renovate-bot Jun 25, 2020
743ec3c
chore(deps): update dependency com.google.cloud:google-cloud-tasks to…
renovate-bot Jun 25, 2020
8fd9669
refactor: use new verify token functionality from google-auth-library…
chingor13 Jun 25, 2020
3d05482
feat(deps): add protobuf-java-util as a direct dep of kms (#3252)
stephaniewang526 Jun 25, 2020
fbde9a7
chore(deps): update dependency com.google.cloud:google-cloud-kms to v…
renovate-bot Jun 25, 2020
84c56e6
feat(deps): add protobuf-java-util as a direct dep (#3254)
stephaniewang526 Jun 25, 2020
90640e7
feat(deps): add protobuf-java-util as a direct dep of secretmanager (…
stephaniewang526 Jun 25, 2020
4f119c8
chore(deps): update dependency com.google.cloud:google-cloud-storage …
renovate-bot Jun 25, 2020
11c65ca
chore(deps): update dependency com.google.cloud:google-cloud-secretma…
renovate-bot Jun 25, 2020
743ea9e
feat(deps): add protobuf-java-util as a direct dep of securitycenter …
stephaniewang526 Jun 25, 2020
fc4c545
chore(deps): update dependency com.google.cloud:google-cloud-security…
renovate-bot Jun 25, 2020
e50f4e2
chore(deps): update dependency org.scala-lang:scala-library to v2.13.…
renovate-bot Jun 25, 2020
f634f89
chore(deps): update dependency com.google.cloud:libraries-bom to v8 (…
renovate-bot Jun 25, 2020
3635a1a
chore(deps): update dependency com.amazonaws:aws-java-sdk-s3 to v1.11…
renovate-bot Jun 25, 2020
aeb37f7
Adding HadoopFS sample
bradmiro May 20, 2020
e359472
adding autoscaling samples
bradmiro May 21, 2020
5456bc2
Added autoscaling test and small fixes
bradmiro Jun 11, 2020
839dfb6
fixed lint errors and added comments to sample exceptions
bradmiro Jun 25, 2020
3cda072
Merge branch 'new-samples' of https://github.com/GoogleCloudPlatform/…
bradmiro Jun 25, 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
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Fixes #issue
- [ ] 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.
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/java11"
}
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
2 changes: 1 addition & 1 deletion .kokoro/tests/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,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
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.29.v20200521</version>
<version>9.4.30.v20200611</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-webapp</artifactId>
<version>9.4.29.v20200521</version>
<version>9.4.30.v20200611</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
<version>9.4.29.v20200521</version>
<version>9.4.30.v20200611</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-annotations</artifactId>
<version>9.4.29.v20200521</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.29.v20200521</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
6 changes: 3 additions & 3 deletions appengine-java11/cloudsql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,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 Down Expand Up @@ -96,7 +96,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.2.3</version>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -137,7 +137,7 @@
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>appengine-maven-plugin</artifactId>
<version>2.2.0</version>
<version>2.3.0</version>
<configuration>
<projectId>GCLOUD_CONFIG</projectId>
<version>cloudsql</version>
Expand Down
8 changes: 4 additions & 4 deletions appengine-java11/gaeinfo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Copyright 2019 Google LLC
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.17</version>
<version>1.0.18</version>
</parent>

<properties>
Expand Down Expand Up @@ -84,7 +84,7 @@ Copyright 2019 Google LLC
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>appengine-maven-plugin</artifactId>
<version>2.2.0</version>
<version>2.3.0</version>
<configuration>
<projectId>GCLOUD_CONFIG</projectId>
<version>gaeinfo</version>
Expand All @@ -94,7 +94,7 @@ Copyright 2019 Google LLC
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.2.3</version>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -118,7 +118,7 @@ Copyright 2019 Google LLC
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.4.29.v20200521</version>
<version>9.4.30.v20200611</version>
</plugin>
</plugins>

Expand Down
Loading