generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
889bab4
commit 28c66f2
Showing
5 changed files
with
8 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
etor/src/test/groovy/gov/hhs/cdc/trustedintermediary/OrderMock.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 4 additions & 10 deletions
14
shared/src/main/java/gov/hhs/cdc/trustedintermediary/metadata/MetaDataEntry.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,11 @@ | ||
package gov.hhs.cdc.trustedintermediary.metadata; | ||
|
||
import java.util.Date; | ||
import java.time.Instant; | ||
|
||
/** An instance of a metadata event to be used for internal troubleshooting of messages */ | ||
public class MetaDataEntry { | ||
public record MetaDataEntry(String bundleId, MetaDataStep entryStep, Instant entryTime) { | ||
|
||
public MetaDataStep entryStep; | ||
public Date entryTime; | ||
public String bundleId; | ||
|
||
public MetaDataEntry(String bundleId, MetaDataStep step) { | ||
this.entryTime = new Date(); | ||
this.bundleId = bundleId; | ||
this.entryStep = step; | ||
public MetaDataEntry(String bundleId, MetaDataStep entryStep) { | ||
this(bundleId, entryStep, Instant.now()); | ||
} | ||
} |