Skip to content

feat: Use autogenerated JSON schema#14111

Merged
kodiakhq[bot] merged 10 commits intomainfrom
feat/jsonschema/gcp-autogen
Oct 2, 2023
Merged

feat: Use autogenerated JSON schema#14111
kodiakhq[bot] merged 10 commits intomainfrom
feat/jsonschema/gcp-autogen

Conversation

@candiduslynx
Copy link
Copy Markdown
Contributor

@candiduslynx candiduslynx commented Sep 28, 2023

@candiduslynx candiduslynx force-pushed the feat/jsonschema/gcp-autogen branch from 1400011 to 487d3e6 Compare September 28, 2023 10:42
@candiduslynx candiduslynx changed the title feat: Use autogenerates JSON schema feat: Use autogenerated JSON schema Sep 28, 2023
@candiduslynx candiduslynx force-pushed the feat/jsonschema/gcp-autogen branch from 52add69 to 70426c1 Compare September 29, 2023 04:46
@candiduslynx candiduslynx added automerge Automatically merge once required checks pass and removed no automerge labels Oct 2, 2023
},
"folder_ids": {
"title": "Folder IDs",
"description": "Location of the projects to sync from. Mutually exclusive with project_filter",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happened to all the descriptions?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed them (they can be added via jsonschema_description tag, but the code lines would look too long).

I guess we can experiment with the descriptions & generating docs from the schema later, but for now, the descriptions don't give any additional info to the validation errors, so I suppose it's OK to omit them.

@candiduslynx candiduslynx force-pushed the feat/jsonschema/gcp-autogen branch from 63a1229 to ad2f965 Compare October 2, 2023 13:50
@cq-bot cq-bot added the website label Oct 2, 2023
@cq-bot cq-bot added the ci label Oct 2, 2023
@candiduslynx candiduslynx force-pushed the feat/jsonschema/gcp-autogen branch from f26e615 to a78462d Compare October 2, 2023 14:10
@hermanschaaf
Copy link
Copy Markdown
Contributor

Could we split the GCP SDK update into a separate PR so that it's separate from the JSONSchema update and shows as a different entry in the changelog?

kodiakhq bot pushed a commit that referenced this pull request Oct 2, 2023
@candiduslynx candiduslynx force-pushed the feat/jsonschema/gcp-autogen branch from a78462d to 0470d4a Compare October 2, 2023 14:55
@kodiakhq kodiakhq bot merged commit 6cdf961 into main Oct 2, 2023
@kodiakhq kodiakhq bot deleted the feat/jsonschema/gcp-autogen branch October 2, 2023 15:07
kodiakhq bot pushed a commit that referenced this pull request Oct 3, 2023
Same as #14111 but for Oracle source plugin
kodiakhq bot pushed a commit that referenced this pull request Oct 4, 2023
🤖 I have created a release *beep* *boop*
---


## [9.7.0](plugins-source-gcp-v9.6.2...plugins-source-gcp-v9.7.0) (2023-10-04)


### This Release has the Following Changes to Tables
- Table `gcp_aiplatform_index_endpoints`: column added with name `encryption_spec` and type `json`
- Table `gcp_aiplatform_indexes`: column added with name `encryption_spec` and type `json`
- Table `gcp_aiplatform_pipeline_jobs`: column added with name `schedule_name` and type `utf8`
- Table `gcp_baremetalsolution_instances`: column added with name `firmware_version` and type `utf8`
- Table `gcp_baremetalsolution_instances`: column added with name `login_info` and type `utf8`
- Table `gcp_baremetalsolution_instances`: column added with name `volumes` and type `json`
- Table `gcp_baremetalsolution_instances`: column added with name `workload_profile` and type `utf8`
- Table `gcp_baremetalsolution_networks`: column added with name `gateway_ip` and type `utf8`
- Table `gcp_baremetalsolution_networks`: column added with name `jumbo_frames_enabled` and type `bool`
- Table `gcp_baremetalsolution_networks`: column added with name `mount_points` and type `json`
- Table `gcp_baremetalsolution_networks`: column added with name `pod` and type `utf8`
- Table `gcp_baremetalsolution_nfs_shares`: column added with name `id` and type `utf8`
- Table `gcp_baremetalsolution_nfs_shares`: column added with name `requested_size_gib` and type `int64`
- Table `gcp_baremetalsolution_nfs_shares`: column added with name `storage_type` and type `utf8`
- Table `gcp_baremetalsolution_volume_luns`: column added with name `expire_time` and type `timestamp[us, tz=UTC]`
- Table `gcp_baremetalsolution_volume_luns`: column added with name `instances` and type `list<item: utf8, nullable>`
- Table `gcp_baremetalsolution_volumes`: column added with name `attached` and type `bool`
- Table `gcp_baremetalsolution_volumes`: column added with name `boot_volume` and type `bool`
- Table `gcp_baremetalsolution_volumes`: column added with name `expire_time` and type `timestamp[us, tz=UTC]`
- Table `gcp_baremetalsolution_volumes`: column added with name `instances` and type `list<item: utf8, nullable>`
- Table `gcp_baremetalsolution_volumes`: column added with name `max_size_gib` and type `int64`
- Table `gcp_baremetalsolution_volumes`: column added with name `notes` and type `utf8`
- Table `gcp_baremetalsolution_volumes`: column added with name `originally_requested_size_gib` and type `int64`
- Table `gcp_baremetalsolution_volumes`: column added with name `performance_tier` and type `utf8`
- Table `gcp_baremetalsolution_volumes`: column added with name `protocol` and type `utf8`
- Table `gcp_baremetalsolution_volumes`: column added with name `workload_profile` and type `utf8`
- Table `gcp_logging_metrics`: column added with name `bucket_name` and type `utf8`
- Table `gcp_workflows_workflows`: column added with name `call_log_level` and type `utf8`
- Table `gcp_workflows_workflows`: column added with name `crypto_key_name` and type `utf8`
- Table `gcp_workflows_workflows`: column added with name `state_error` and type `json`
- Table `gcp_workflows_workflows`: column added with name `user_env_vars` and type `json`

### Features

* Update GCP libraries ([#14274](#14274)) ([aecb60e](aecb60e))
* Use autogenerated JSON schema ([#14111](#14111)) ([6cdf961](6cdf961))


### Bug Fixes

* **deps:** Update github.com/apache/arrow/go/v14 digest to 00efb06 ([#14202](#14202)) ([fc8cc62](fc8cc62))
* **deps:** Update github.com/cloudquery/arrow/go/v14 digest to 7ded38b ([#14246](#14246)) ([005891e](005891e))
* **deps:** Update github.com/petermattis/goid digest to 1876fd5 ([#14234](#14234)) ([3b56924](3b56924))
* **deps:** Update module github.com/cloudquery/codegen to v0.3.4 ([#14284](#14284)) ([84fb893](84fb893))
* **services:** Update GCP Services ([#14263](#14263)) ([5dcf494](5dcf494))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
hydratim pushed a commit to hydratim/cloudquery that referenced this pull request Oct 20, 2023
hydratim pushed a commit to hydratim/cloudquery that referenced this pull request Oct 20, 2023
hydratim pushed a commit to hydratim/cloudquery that referenced this pull request Oct 20, 2023
hydratim pushed a commit to hydratim/cloudquery that referenced this pull request Oct 20, 2023
🤖 I have created a release *beep* *boop*
---


## [9.7.0](cloudquery/cloudquery@plugins-source-gcp-v9.6.2...plugins-source-gcp-v9.7.0) (2023-10-04)


### This Release has the Following Changes to Tables
- Table `gcp_aiplatform_index_endpoints`: column added with name `encryption_spec` and type `json`
- Table `gcp_aiplatform_indexes`: column added with name `encryption_spec` and type `json`
- Table `gcp_aiplatform_pipeline_jobs`: column added with name `schedule_name` and type `utf8`
- Table `gcp_baremetalsolution_instances`: column added with name `firmware_version` and type `utf8`
- Table `gcp_baremetalsolution_instances`: column added with name `login_info` and type `utf8`
- Table `gcp_baremetalsolution_instances`: column added with name `volumes` and type `json`
- Table `gcp_baremetalsolution_instances`: column added with name `workload_profile` and type `utf8`
- Table `gcp_baremetalsolution_networks`: column added with name `gateway_ip` and type `utf8`
- Table `gcp_baremetalsolution_networks`: column added with name `jumbo_frames_enabled` and type `bool`
- Table `gcp_baremetalsolution_networks`: column added with name `mount_points` and type `json`
- Table `gcp_baremetalsolution_networks`: column added with name `pod` and type `utf8`
- Table `gcp_baremetalsolution_nfs_shares`: column added with name `id` and type `utf8`
- Table `gcp_baremetalsolution_nfs_shares`: column added with name `requested_size_gib` and type `int64`
- Table `gcp_baremetalsolution_nfs_shares`: column added with name `storage_type` and type `utf8`
- Table `gcp_baremetalsolution_volume_luns`: column added with name `expire_time` and type `timestamp[us, tz=UTC]`
- Table `gcp_baremetalsolution_volume_luns`: column added with name `instances` and type `list<item: utf8, nullable>`
- Table `gcp_baremetalsolution_volumes`: column added with name `attached` and type `bool`
- Table `gcp_baremetalsolution_volumes`: column added with name `boot_volume` and type `bool`
- Table `gcp_baremetalsolution_volumes`: column added with name `expire_time` and type `timestamp[us, tz=UTC]`
- Table `gcp_baremetalsolution_volumes`: column added with name `instances` and type `list<item: utf8, nullable>`
- Table `gcp_baremetalsolution_volumes`: column added with name `max_size_gib` and type `int64`
- Table `gcp_baremetalsolution_volumes`: column added with name `notes` and type `utf8`
- Table `gcp_baremetalsolution_volumes`: column added with name `originally_requested_size_gib` and type `int64`
- Table `gcp_baremetalsolution_volumes`: column added with name `performance_tier` and type `utf8`
- Table `gcp_baremetalsolution_volumes`: column added with name `protocol` and type `utf8`
- Table `gcp_baremetalsolution_volumes`: column added with name `workload_profile` and type `utf8`
- Table `gcp_logging_metrics`: column added with name `bucket_name` and type `utf8`
- Table `gcp_workflows_workflows`: column added with name `call_log_level` and type `utf8`
- Table `gcp_workflows_workflows`: column added with name `crypto_key_name` and type `utf8`
- Table `gcp_workflows_workflows`: column added with name `state_error` and type `json`
- Table `gcp_workflows_workflows`: column added with name `user_env_vars` and type `json`

### Features

* Update GCP libraries ([cloudquery#14274](cloudquery#14274)) ([aecb60e](cloudquery@aecb60e))
* Use autogenerated JSON schema ([cloudquery#14111](cloudquery#14111)) ([6cdf961](cloudquery@6cdf961))


### Bug Fixes

* **deps:** Update github.com/apache/arrow/go/v14 digest to 00efb06 ([cloudquery#14202](cloudquery#14202)) ([fc8cc62](cloudquery@fc8cc62))
* **deps:** Update github.com/cloudquery/arrow/go/v14 digest to 7ded38b ([cloudquery#14246](cloudquery#14246)) ([005891e](cloudquery@005891e))
* **deps:** Update github.com/petermattis/goid digest to 1876fd5 ([cloudquery#14234](cloudquery#14234)) ([3b56924](cloudquery@3b56924))
* **deps:** Update module github.com/cloudquery/codegen to v0.3.4 ([cloudquery#14284](cloudquery#14284)) ([84fb893](cloudquery@84fb893))
* **services:** Update GCP Services ([cloudquery#14263](cloudquery#14263)) ([5dcf494](cloudquery@5dcf494))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants