mirror of
https://github.com/google/nomulus.git
synced 2025-08-06 01:35:17 +02:00
Add an auto update time field to the Cursor entity
Also adjusts the nomulus list_cursors command to output the value of this field. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=206646117
This commit is contained in:
parent
3941249dfe
commit
f614044681
6 changed files with 62 additions and 14 deletions
|
@ -32,6 +32,7 @@ import org.junit.Test;
|
|||
|
||||
/** Unit tests for {@link Cursor}. */
|
||||
public class CursorTest extends EntityTestCase {
|
||||
|
||||
@Test
|
||||
public void testSuccess_persistScopedCursor() {
|
||||
createTld("tld");
|
||||
|
|
|
@ -73,6 +73,7 @@ class google.registry.model.billing.BillingEvent$Recurring {
|
|||
class google.registry.model.common.Cursor {
|
||||
@Id java.lang.String id;
|
||||
@Parent com.googlecode.objectify.Key<google.registry.model.common.EntityGroupRoot> parent;
|
||||
google.registry.model.UpdateAutoTimestamp lastUpdateTime;
|
||||
org.joda.time.DateTime cursorTime;
|
||||
}
|
||||
class google.registry.model.common.EntityGroupRoot {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue