-
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add automatic timestamp field for transactions and events (#24)
* refactor modelmanager to standadlone module Signed-off-by: Dan Selman <[email protected]> * bump versions, fix linting Signed-off-by: Dan Selman <[email protected]> * ignore Signed-off-by: Dan Selman <[email protected]> * wip Signed-off-by: Dan Selman <[email protected]> * wip Signed-off-by: Dan Selman <[email protected]> * Update travis build scripts Signed-off-by: Matt Roberts <[email protected]> * Add webpack build Signed-off-by: Matt Roberts <[email protected]> * Update .travis.yml Signed-off-by: Matt Roberts <[email protected]> * replaced logger with debug Signed-off-by: Dan Selman <[email protected]> * removed wallet. Some codecov clean up Signed-off-by: Dan Selman <[email protected]> * WIP Remove all references to static system model. Signed-off-by: Matt Roberts <[email protected]> * fix changelog Signed-off-by: Dan Selman <[email protected]> * Fix xmlschemavisitor. Increase test coverage Signed-off-by: Matt Roberts <[email protected]> * Revert nyc output to text-summary Signed-off-by: Matt Roberts <[email protected]> * Add pkgbump. Fix webpack. Fix missing moment dependency * Fix version number * Add system model table (#5) * WIP Signed-off-by: Matt Roberts <[email protected]> * Client app has to add system models Signed-off-by: Matt Roberts <[email protected]> * Add system model table Signed-off-by: Matt Roberts <[email protected]> * Move composer models from lib to test. Add test for custom system model Signed-off-by: Matt Roberts <[email protected]> * Remove commented code in assetdeclaration Signed-off-by: Matt Roberts <[email protected]> * switch to yarn Signed-off-by: Dan Selman <[email protected]> * travis build Signed-off-by: Dan Selman <[email protected]> * remove system model gen Signed-off-by: Dan Selman <[email protected]> * first published version Signed-off-by: Dan Selman <[email protected]> * (doc) update description Signed-off-by: Dan Selman <[email protected]> * (chore) update docs Signed-off-by: Dan Selman <[email protected]> * (chore) cleaning Signed-off-by: Dan Selman <[email protected]> * (chore) publish latest version Signed-off-by: Dan Selman <[email protected]> * allow transactions to specify an identifying field #21 Signed-off-by: Dan Selman <[email protected]> * bump version Signed-off-by: Dan Selman <[email protected]> * Automatically add a timestamp field to transactions and events Signed-off-by: Dan Selman <[email protected]>
- Loading branch information
Showing
11 changed files
with
43 additions
and
89 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
The base *event* is implicitly extended by all other events. *Event* is an **abstract** meaning that no instances of it can be created, however, it does contain the *eventId* and *timestamp* properties, which are extended to all other events. | ||
The base *event* is implicitly extended by all other events. *Event* is an **abstract** meaning that no instances of it can be created, however, it does contain the *eventId* property, which is extended to all other events. | ||
|
||
``` | ||
abstract event Event identified by eventId { | ||
o String eventId | ||
o DateTime timestamp | ||
} | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
The base *transaction* is implicitly extended by all other transactions. *Transaction* is an **abstract** meaning that no instances of it can be created, however, it does contain the *transactionId* and *timestamp* properties, which are extended to all other transactions. | ||
The base *transaction* is implicitly extended by all other transactions. *Transaction* is an **abstract** meaning that no instances of it can be created, however, it does contain the *transactionId* property, which is extended to all other transactions. | ||
|
||
``` | ||
abstract transaction Transaction identified by transactionId { | ||
o String transactionId | ||
o DateTime timestamp | ||
``` |
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