tagbase / tagbase-server

tagbase-server is a data management web service for working with eTUFF and nc-eTAG files.
https://oiip.jpl.nasa.gov/doc/OIIP_Deliverable7.4_TagbasePostgreSQLeTUFF_UserGuide.pdf
Apache License 2.0
7 stars 2 forks source link

ISSUE-289: Replace old metadata with metadata from new file #304

Open renato2099 opened 1 year ago

renato2099 commented 1 year ago

This PR overrides previous metadata with metadata belong to the new file. Given that metadata tends to be a few rows (< 100), then this PR removes the old metadata and writes the new metadata.

@lewismc take a look whenever you get some time and we can even take this PR for a spin

lewismc commented 1 year ago

Still need to try this one out @renato2099 . We can sync maybe on Sunday?

lewismc commented 1 year ago

Nice work!

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

87.5% 87.5% Coverage
0.0% 0.0% Duplication

renato2099 commented 1 year ago

hey @lewismc , yeah mate, we can catch up on Sunday, give a ring whenever you are around I added a couple more unit tests to make the PR comply with Sonar :)