Repository: beam Updated Branches: refs/heads/master 187b6e53c -> c53249de4
BigtableIO: move test options to test path Project: http://git-wip-us.apache.org/repos/asf/beam/repo Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/4833b3ff Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/4833b3ff Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/4833b3ff Branch: refs/heads/master Commit: 4833b3ff4db57a2f21e5fa1f0200ee4d838ef686 Parents: 187b6e5 Author: Dan Halperin <[email protected]> Authored: Tue Jan 17 11:52:45 2017 -0800 Committer: Dan Halperin <[email protected]> Committed: Tue Jan 17 16:30:09 2017 -0800 ---------------------------------------------------------------------- .../io/gcp/bigtable/BigtableTestOptions.java | 37 -------------------- .../io/gcp/bigtable/BigtableTestOptions.java | 37 ++++++++++++++++++++ 2 files changed, 37 insertions(+), 37 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/beam/blob/4833b3ff/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigtable/BigtableTestOptions.java ---------------------------------------------------------------------- diff --git a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigtable/BigtableTestOptions.java b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigtable/BigtableTestOptions.java deleted file mode 100644 index 0ab7576..0000000 --- a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigtable/BigtableTestOptions.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ -package org.apache.beam.sdk.io.gcp.bigtable; - -import org.apache.beam.sdk.options.Default; -import org.apache.beam.sdk.options.Description; -import org.apache.beam.sdk.testing.TestPipelineOptions; - -/** - * Properties needed when using Bigtable with the Beam SDK. - */ -public interface BigtableTestOptions extends TestPipelineOptions { - @Description("Project ID for Bigtable") - @Default.String("apache-beam-testing") - String getProjectId(); - void setProjectId(String value); - - @Description("Instance ID for Bigtable") - @Default.String("beam-test") - String getInstanceId(); - void setInstanceId(String value); -} http://git-wip-us.apache.org/repos/asf/beam/blob/4833b3ff/sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigtable/BigtableTestOptions.java ---------------------------------------------------------------------- diff --git a/sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigtable/BigtableTestOptions.java b/sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigtable/BigtableTestOptions.java new file mode 100644 index 0000000..0ab7576 --- /dev/null +++ b/sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigtable/BigtableTestOptions.java @@ -0,0 +1,37 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +package org.apache.beam.sdk.io.gcp.bigtable; + +import org.apache.beam.sdk.options.Default; +import org.apache.beam.sdk.options.Description; +import org.apache.beam.sdk.testing.TestPipelineOptions; + +/** + * Properties needed when using Bigtable with the Beam SDK. + */ +public interface BigtableTestOptions extends TestPipelineOptions { + @Description("Project ID for Bigtable") + @Default.String("apache-beam-testing") + String getProjectId(); + void setProjectId(String value); + + @Description("Instance ID for Bigtable") + @Default.String("beam-test") + String getInstanceId(); + void setInstanceId(String value); +}
