google-nomulus/release
Lai Jiang b068e459c2 Add a Beam pipeline to generate RDE deposit (part 1) (#1219)
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 -->
2021-06-30 13:54:24 -04:00
..
builder Re-enable tests in RC build (#1130) 2021-05-05 13:53:21 -04:00
rollback Script to rolling-start Nomulus (#888) 2020-12-01 10:14:05 -05:00
schema-deployer Use credential in secretmanager to deploy schema (#1055) 2021-04-06 09:43:15 -04:00
build_nomulus_for_env.sh Use JSON API for Maven Repo on GCS (#483) 2020-02-12 14:03:50 -05:00
cloudbuild-delete.yaml Fix a GCB job description (#1215) 2021-06-22 13:51:26 -04:00
cloudbuild-deploy.yaml Use SecretManager for nomulus-tool-cloudbuild cred (#1188) 2021-06-02 09:32:57 -04:00
cloudbuild-dev-resource.yaml Re-enable tests in RC build (#1130) 2021-05-05 13:53:21 -04:00
cloudbuild-kythe.yaml Re-enable tests in RC build (#1130) 2021-05-05 13:53:21 -04:00
cloudbuild-nomulus.yaml Add a Beam pipeline to generate RDE deposit (part 1) (#1219) 2021-06-30 13:54:24 -04:00
cloudbuild-proxy.yaml Re-enable tests in RC build (#1130) 2021-05-05 13:53:21 -04:00
cloudbuild-release.yaml Re-enable tests in RC build (#1130) 2021-05-05 13:53:21 -04:00
cloudbuild-schema-deploy.yaml Use SecretManager for nomulus-tool-cloudbuild cred (#1188) 2021-06-02 09:32:57 -04:00
cloudbuild-sync.yaml Re-enable tests in RC build (#1130) 2021-05-05 13:53:21 -04:00
cloudbuild-tag.yaml Re-enable tests in RC build (#1130) 2021-05-05 13:53:21 -04:00
stage_beam_pipeline.sh Use shared jar to stage BEAM pipeline if possible (#1008) 2021-03-16 13:19:30 -04:00