Add raw log to Frob record in DB

- Enables parsing additional values off the log if necessary
- Also update Frob to reflect DSS changes (lad => urn)
- Move Frob constants to shared directory
This commit is contained in:
Rob Mulholand
2018-09-04 16:11:54 -05:00
parent db4b891398
commit 8f5bc0a956
19 changed files with 167 additions and 119 deletions
@@ -31,7 +31,6 @@ var _ = Describe("Pit file repository", func() {
Expect(dbPitFile.What).To(Equal(test_data.PitFileModel.What))
Expect(dbPitFile.Risk).To(Equal(test_data.PitFileModel.Risk))
Expect(dbPitFile.TransactionIndex).To(Equal(test_data.PitFileModel.TransactionIndex))
// The raw bytes scanned out of the DB are compressed (missing whitespace), such that they don't strictly equal the input bytes
Expect(dbPitFile.Raw).To(MatchJSON(test_data.PitFileModel.Raw))
})