bcgov / common-object-management-service

A microservice for managing access control to S3 Objects
https://bcgov.github.io/common-object-management-service/
Apache License 2.0
6 stars 9 forks source link

Add new table columns for tracking last sync timestamps #246

Closed norrisng-bc closed 9 months ago

norrisng-bc commented 9 months ago

Description

This PR implements a database migration to add the necessary table columns to track when a bucket, object, or its versions were last synced:

All of the above are timestamps with timezones and are null by default - they do not get populated during the migration.

The OpenAPI spec has also been updated with these new columns.

https://apps.nrs.gov.bc.ca/int/jira/browse/SHOWCASE-3406

Types of changes

New feature (non-breaking change which adds functionality)

Checklist

Further comments

This PR lays the groundwork for SHOWCASE-3506.

github-actions[bot] commented 9 months ago

Coverage Report

Totals Coverage
Statements: 59.8% ( 2808 / 4696 )
Methods: 50.39% ( 320 / 635 )
Lines: 66.51% ( 1688 / 2538 )
Branches: 52.53% ( 800 / 1523 )
codeclimate[bot] commented 9 months ago

Code Climate has analyzed commit 165a4035 and detected 2 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 2

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 66.5% (0.0% change).

View more on Code Climate.