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

HOSTSD-246 Improve Data Service #96

Merged
merged 1 commit into from
Feb 20, 2024
Merged

HOSTSD-246 Improve Data Service #96

merged 1 commit into from
Feb 20, 2024

Conversation

Fosol
Copy link
Contributor

@Fosol Fosol commented Feb 20, 2024

Made several changes to resolve data issues. Added a new processes to the end of the Data Service syncing process. This will now review all server items that were not updated in the sync and iterate through them to determine if their install status needs to be updated. We now extract the install_status and use it to index and filter data.

We now filter out server items and file system items that are not installed within our database. This partially resolves items that are removed.

Fixed a few bugs related to querying data when an item had no link to a tenant.

Run bash do db-update to update your local environment database. Then bash do refresh api to update your API.

Summary

  • Add DB migration 1.0.1
  • Updated Data Service
  • Updated API
  • Updated App

@Fosol Fosol added bug Something isn't working enhancement New feature or request data-service Build and deploy the data-service labels Feb 20, 2024
@Fosol Fosol self-assigned this Feb 20, 2024
Add DB migration 1.0.1
@Fosol Fosol marked this pull request as ready for review February 20, 2024 18:52
@Fosol Fosol merged commit cfff8fb into bcgov:main Feb 20, 2024
2 checks passed
@Fosol Fosol deleted the 246 branch February 20, 2024 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working data-service Build and deploy the data-service enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant