mirror of
https://github.com/google/nomulus.git
synced 2025-04-29 19:47:51 +02:00
This is the first part of the RdeStagingAction SQL migration where the mapper logic is implemented in Beam. A few helper methods are added to convert the DomainContent, HostBase and ContactBase to their respective terminal child classes. This is necessary and possible because the child classes do not have extra fields and the base classes exist only to be embedded to other entities (such as the various HistoryEntry entities). The conversion is necessary because most of our code expects the terminal classes, such as the RdeMarshaller's various marshallXXX() methods. The alternative would be to change all the call sites, which seems to be much more disruptive. Unfortunately there is is no good way to do this conversion than just creating a builder and setting every fields there is. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/google/nomulus/1219) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
builder | ||
rollback | ||
schema-deployer | ||
build_nomulus_for_env.sh | ||
cloudbuild-delete.yaml | ||
cloudbuild-deploy.yaml | ||
cloudbuild-dev-resource.yaml | ||
cloudbuild-kythe.yaml | ||
cloudbuild-nomulus.yaml | ||
cloudbuild-proxy.yaml | ||
cloudbuild-release.yaml | ||
cloudbuild-schema-deploy.yaml | ||
cloudbuild-sync.yaml | ||
cloudbuild-tag.yaml | ||
stage_beam_pipeline.sh |