Skip to content
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

Update hostname, uri format in configuration-schema #516

Merged
merged 8 commits into from
Apr 24, 2024
Merged

Conversation

mtuchi
Copy link
Collaborator

@mtuchi mtuchi commented Apr 16, 2024

Summary

Updated the Database URL to be type: string and update the required properties

  • mysql
  • postgresql
  • hive
  • mailgun
  • mongodb

Ref #511

Review Checklist

  • Does the PR do what it claims to do?
  • Are there any unit tests? Should there be?
  • Is there a changeset associated with this PR? Should there be? Note that
    dev only changes don't need a changeset.

@mtuchi mtuchi linked an issue Apr 16, 2024 that may be closed by this pull request
4 tasks
@mtuchi mtuchi self-assigned this Apr 17, 2024
@mtuchi mtuchi marked this pull request as ready for review April 20, 2024 18:37
@mtuchi mtuchi mentioned this pull request Apr 23, 2024
4 tasks
@mtuchi mtuchi changed the title Update configuration-schema for postgresql, mysql, hive Update hostname format in configuration-schema Apr 23, 2024
@mtuchi mtuchi changed the title Update hostname format in configuration-schema Update hostname, uri format in configuration-schema Apr 23, 2024
.changeset/late-zebras-draw.md Outdated Show resolved Hide resolved
@@ -54,7 +54,7 @@
"additionalProperties": true,
"required": [
"host",
"port",
"database",
Copy link
Collaborator

Choose a reason for hiding this comment

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

This looks out of scope - is it intended?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's kind related, There is an issue on docs for displaying only required properties in sample configuration. And hive was missing database in required properties

See the issue here

Copy link
Collaborator

Choose a reason for hiding this comment

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

That's fine - so long as it's deliberate and expected. It should really be flagged in the main PR description, but you've clarified it now :)

packages/postgresql/configuration-schema.json Show resolved Hide resolved
packages/mysql/configuration-schema.json Show resolved Hide resolved
@josephjclark
Copy link
Collaborator

This is great @mtuchi, thanks. Please bump versions, push tags and merge and your leisure

@mtuchi mtuchi merged commit 0ea4e33 into main Apr 24, 2024
1 check passed
@mtuchi mtuchi deleted the 511-db-conf-schema branch April 24, 2024 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Database configuration schemas
2 participants