Skip to content

Commit 785df5d

Browse files
author
Ajay Kannan
committed
---
yaml --- r: 2643 b: refs/heads/update-datastore c: 2da16c7 h: refs/heads/master i: 2641: ae9c35b 2639: d80ea15
1 parent a5cd050 commit 785df5d

15 files changed

Lines changed: 19 additions & 76 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/gh-pages: 4e0561bb4504bf647db669a14417b2b2c87ba45d
55
refs/heads/bigquery: 762fa5830e6c398c0396177e3e7fd243bd62cfc3
66
refs/heads/pubsub-alpha: 1a0e970f265af871e02274085b9662b3fe29058b
77
refs/heads/resource-manager: ebf4adc5ee835cd2086c4ac5b4e78d01a5a005a7
8-
refs/heads/update-datastore: 42727c0b0097e08eb5f046f34c4733b5602c842f
8+
refs/heads/update-datastore: 2da16c7fbb99450b012e9924ee033d781833cc0f
99
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444
1010
refs/tags/v0.0.10: 207ebd2a3472fddee69fe1298eb90429e3306efd
1111
refs/tags/v0.0.11: ffbfba48a6426ff63c08ff2117e58681f251fbf2

branches/update-datastore/CONTRIBUTING.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,20 @@ Using maven for build/test
1515
After you cloned the repository use Maven for building and running the tests.
1616
Maven 3.0+ is required.
1717

18+
When downloading the source, we recommend you obtain service account credentials.
19+
These credentials will allow you to run integration tests using `mvn verify` in command line.
20+
Follow step 2 of the [authentication instructions](https://github.com/GoogleCloudPlatform/gcloud-java#authentication) to generate and use JSON service account credentials.
21+
22+
It's also important to test that changes don't break compatibility with App/Compute Engine and when running elsewhere.
23+
To run tests on different platforms, try deploying the apps available on the [gcloud-java-examples](https://github.com/GoogleCloudPlatform/gcloud-java-examples) repository.
24+
End-to-end tests should ensure that gcloud-java works when running on the
25+
26+
* App Engine production environment (see the docs for [uploading your app to production App Engine](https://cloud.google.com/appengine/docs/java/tools/maven#uploading_your_app_to_production_app_engine))
27+
* App Engine development server (see the docs for [testing your app with the development server](https://cloud.google.com/appengine/docs/java/tools/maven#testing_your_app_with_the_development_server))
28+
* Compute Engine (see the [Getting Started Guide](https://cloud.google.com/compute/docs/quickstart), and be sure to [enable the appropriate APIs](https://github.com/GoogleCloudPlatform/gcloud-common/tree/master/authentication#on-google-compute-engine))
29+
* Your desktop (using `mvn exec:java`, for example)
30+
31+
When changes are made to authentication and project ID-related code, authentication and project ID inference should be tested using all relevant methods detailed in the [authentication docs](https://github.com/GoogleCloudPlatform/gcloud-java#authentication) and [project ID docs](https://github.com/GoogleCloudPlatform/gcloud-java#specifying-a-project-id).
1832

1933
Adding Features
2034
---------------

branches/update-datastore/gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery/BaseTableInfo.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,6 @@ public enum Type {
9494
private final Long expirationTime;
9595
private final Long lastModifiedTime;
9696

97-
/**
98-
* Base builder for tables.
99-
*
100-
* @param <T> the table type.
101-
* @param <B> the table builder.
102-
*/
10397
public abstract static class Builder<T extends BaseTableInfo, B extends Builder<T, B>> {
10498

10599
private String etag;

branches/update-datastore/gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery/JobInfo.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@
3232
* a table. Use {@link QueryJobInfo} for a job that runs a query.
3333
*
3434
* @see <a href="https://cloud.google.com/bigquery/docs/reference/v2/jobs">Jobs</a>
35-
*
36-
* @param <S> the statistics type.
3735
*/
3836
public abstract class JobInfo<S extends JobStatistics> implements Serializable {
3937

@@ -89,13 +87,6 @@ public enum WriteDisposition {
8987
private final S statistics;
9088
private final String userEmail;
9189

92-
/**
93-
* Base builder for jobs.
94-
*
95-
* @param <T> the job type.
96-
* @param <S> the job statistics type.
97-
* @param <B> the job builder.
98-
*/
9990
public abstract static class Builder<T extends JobInfo, S extends JobStatistics,
10091
B extends Builder<T, S, B>> {
10192

branches/update-datastore/gcloud-java-core/src/main/java/com/google/gcloud/BaseService.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616

1717
package com.google.gcloud;
1818

19-
/**
20-
* Base class for service objects.
21-
*
22-
* @param <OptionsT> the {@code ServiceOptions} subclass corresponding to the service.
23-
*/
2419
public abstract class BaseService<OptionsT extends ServiceOptions<?, ?, OptionsT>>
2520
implements Service<OptionsT> {
2621

branches/update-datastore/gcloud-java-core/src/main/java/com/google/gcloud/Page.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@
4040
* }
4141
* page = page.nextPage();
4242
* }}</pre>
43-
*
44-
* @param <T> the value type that the page holds.
4543
*/
4644
public interface Page<T> {
4745

branches/update-datastore/gcloud-java-core/src/main/java/com/google/gcloud/PageImpl.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525

2626
/**
2727
* Base implementation for Google Cloud paginated results.
28-
*
29-
* @param <T> the value type that the page holds.
3028
*/
3129
public class PageImpl<T> implements Page<T>, Serializable {
3230

@@ -36,11 +34,6 @@ public class PageImpl<T> implements Page<T>, Serializable {
3634
private final Iterable<T> results;
3735
private final NextPageFetcher<T> pageFetcher;
3836

39-
/**
40-
* Interface for fetching the next page of results from the service.
41-
*
42-
* @param <T> the value type that the page holds.
43-
*/
4437
public interface NextPageFetcher<T> extends Serializable {
4538
Page<T> nextPage();
4639
}

branches/update-datastore/gcloud-java-core/src/main/java/com/google/gcloud/Restorable.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@
3333
* X restorableObj = state.restore();
3434
* ...
3535
* }</pre>
36-
*
37-
* @param <T> the restorable object's type.
3836
*/
3937
public interface Restorable<T extends Restorable<T>> {
4038

branches/update-datastore/gcloud-java-core/src/main/java/com/google/gcloud/RestorableState.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
*
2323
* Implementations of this class must implement {@link java.io.Serializable} to ensure that the
2424
* state of a the object can be correctly serialized.
25-
*
26-
* @param <T> the restored object's type.
2725
*/
2826
public interface RestorableState<T extends Restorable<T>> {
2927

branches/update-datastore/gcloud-java-core/src/main/java/com/google/gcloud/Service.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616

1717
package com.google.gcloud;
1818

19-
/**
20-
* Interface for service objects.
21-
*
22-
* @param <OptionsT> the {@code ServiceOptions} subclass corresponding to the service.
23-
*/
2419
public interface Service<OptionsT extends ServiceOptions<?, ?, OptionsT>> {
2520
OptionsT options();
2621
}

0 commit comments

Comments
 (0)