Addition of Expiration Date meta data for tracking in the SDX #532
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Details
Addition of Expiration Date meta data for tracking in the SDX.
PR Detail Note: There are changes relevant to this PR in a separate PR on the jpo-sdw-depositor repository. It would be prudent to merge these changes in together. usdot-jpo-ode/jpo-sdw-depositor#33
Additional field expireDate added to the SituationDataWarehouse object. Alterations to EncodedDataRouter to utilize new information and pass it along to consumers of the SDX. Specifically ASN1CommandManager.depositToSdw.
Related Issue
Currently no known issue.
Motivation and Context
ASN1 formatting only allows for TIM data objects to have a duration of a maximum ~22 days. DOT facilities have a need to represent TIM advisories for a longer period than can be managed through the encoding alone. As DOT facilities often know there is an extended expiration, we would like to provide the ability to store the correct expiration date, while maintaining the correct encoding practices of ASN1 for all encodable information.
How Has This Been Tested?
Ran the TIM_Message_Testing_Files suite both with and without the changes to the Command manager to show matching results. Ran the existing Maven tests to verify depositToSdw test passes as expected. Added additional Maven test passing json object to verify form.
Testing environment was VS Code running provided .devcontainer. Utilizing a modified version of the SDWD with correlating changes.
Types of changes
Checklist:
ODE Contributing Guide