google-nomulus/core/src
gbrodman 743484bb7c Add SqlEntity and DatastoreEntity interfaces (#562)
* Add SqlEntity and DatastoreEntity interfaces

These will be used when replaying transactions from either the Datastore
commit logs or the SQL Transaction objects.

When Datastore is the primary database, we will read in the
Datastore commit logs, convert each saved entity to however many SQL
entities, then save those SQL entities in SQL.

When SQL is the primary database, we will read in the SQL objects from a
yet-to-be-created SQL table, convert them to however many Datastore
entities, then save those Datastore entities in Datastore.

This PR includes a couple simple examples of how this will work for entities that are
saveable in both SQL and Datastore (the simple case).

* Add 1-1 mapping between entity annotations and interfaces
2020-04-21 17:28:49 -04:00
..
main Add SqlEntity and DatastoreEntity interfaces (#562) 2020-04-21 17:28:49 -04:00
nonprod/java/google/registry/tools Add a Test workaround for certain Linux distro (#552) 2020-04-10 12:44:36 -04:00
test Add SqlEntity and DatastoreEntity interfaces (#562) 2020-04-21 17:28:49 -04:00