Skip to content
Permalink
Browse files
feat!: update dependency com.google.cloud:google-cloud-shared-config …
…to v1 (#1466)

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.13.1` -> `1.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.0/compatibility-slim/0.13.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.0/confidence-slim/0.13.1)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>googleapis/java-shared-config</summary>

### [`v1.0.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#&#8203;100-httpswwwgithubcomgoogleapisjava-shared-configcomparev0131v100-2021-07-29)

[Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.13.1...v1.0.0)

#####  BREAKING CHANGES

-   update shared-config to java 1.8 ([#&#8203;277](https://togithub.com/googleapis/java-shared-config/issues/277))

##### Features

-   update shared-config to java 1.8 ([#&#8203;277](https://www.github.com/googleapis/java-shared-config/issues/277)) ([9c297a2](https://www.github.com/googleapis/java-shared-config/commit/9c297a27bc236092aab3ae292c7bed206293bc51))

##### [0.13.1](https://www.github.com/googleapis/java-shared-config/compare/v0.13.0...v0.13.1) (2021-07-27)

##### Bug Fixes

-   revert update dependency org.apache.maven.plugins:maven-dependency-plugin to v3.2.0 ([#&#8203;280](https://www.github.com/googleapis/java-shared-config/issues/280)) ([bdbbb9c](https://www.github.com/googleapis/java-shared-config/commit/bdbbb9c13571d0ef06009ebf03bc25c6e6fcbc17))

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

 **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-bigquery).
  • Loading branch information
renovate-bot committed Aug 5, 2021
1 parent 563c30f commit 3db013eeb01f255e1bc40af21370241761f2b519
@@ -322,26 +322,31 @@ public void testIncomplete() {
new com.google.api.services.bigquery.model.JobStatistics()
.setCreationTime(1234L)
.setStartTime(5678L));
JobStatistics jobStatistics;

job.setConfiguration(
new com.google.api.services.bigquery.model.JobConfiguration()
.setCopy(new com.google.api.services.bigquery.model.JobConfigurationTableCopy()));
assertThat(JobStatistics.fromPb(job)).isInstanceOf(CopyStatistics.class);
jobStatistics = JobStatistics.fromPb(job);
assertThat(jobStatistics).isInstanceOf(CopyStatistics.class);

job.setConfiguration(
new com.google.api.services.bigquery.model.JobConfiguration()
.setLoad(new com.google.api.services.bigquery.model.JobConfigurationLoad()));
assertThat(JobStatistics.fromPb(job)).isInstanceOf(LoadStatistics.class);
jobStatistics = JobStatistics.fromPb(job);
assertThat(jobStatistics).isInstanceOf(LoadStatistics.class);

job.setConfiguration(
new com.google.api.services.bigquery.model.JobConfiguration()
.setExtract(new com.google.api.services.bigquery.model.JobConfigurationExtract()));
assertThat(JobStatistics.fromPb(job)).isInstanceOf(ExtractStatistics.class);
jobStatistics = JobStatistics.fromPb(job);
assertThat(jobStatistics).isInstanceOf(ExtractStatistics.class);

job.setConfiguration(
new com.google.api.services.bigquery.model.JobConfiguration()
.setQuery(new com.google.api.services.bigquery.model.JobConfigurationQuery()));
assertThat(JobStatistics.fromPb(job)).isInstanceOf(QueryStatistics.class);
jobStatistics = JobStatistics.fromPb(job);
assertThat(jobStatistics).isInstanceOf(QueryStatistics.class);
}

private void compareExtractStatistics(ExtractStatistics expected, ExtractStatistics value) {
@@ -1202,11 +1202,9 @@ public void testUpdateTimePartitioning() {
.build();

Table table = bigquery.create(TableInfo.of(tableId, tableDefinition));
assertThat(table.getDefinition()).isInstanceOf(StandardTableDefinition.class);
assertThat(
((StandardTableDefinition) table.getDefinition())
.getTimePartitioning()
.getExpirationMs())
TableDefinition definition = table.getDefinition();
assertThat(definition).isInstanceOf(StandardTableDefinition.class);
assertThat(((StandardTableDefinition) definition).getTimePartitioning().getExpirationMs())
.isNull();

table =
@@ -1219,10 +1217,9 @@ public void testUpdateTimePartitioning() {
.build())
.build()
.update(BigQuery.TableOption.fields(BigQuery.TableField.TIME_PARTITIONING));
TableDefinition updatedDefinition = table.getDefinition();
assertThat(
((StandardTableDefinition) table.getDefinition())
.getTimePartitioning()
.getExpirationMs())
((StandardTableDefinition) updatedDefinition).getTimePartitioning().getExpirationMs())
.isEqualTo(42L);

table =
@@ -1235,10 +1232,7 @@ public void testUpdateTimePartitioning() {
.build())
.build()
.update(BigQuery.TableOption.fields(BigQuery.TableField.TIME_PARTITIONING));
assertThat(
((StandardTableDefinition) table.getDefinition())
.getTimePartitioning()
.getExpirationMs())
assertThat(((StandardTableDefinition) definition).getTimePartitioning().getExpirationMs())
.isNull();

table.delete();
@@ -14,7 +14,7 @@
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-shared-config</artifactId>
<version>0.13.1</version>
<version>1.0.0</version>
</parent>

<developers>

0 comments on commit 3db013e

Please sign in to comment.