Package google.registry.beam.common
Interface RegistryPipelineComponent
@Singleton
@Component(modules={ConfigModule.class,CredentialModule.class,PersistenceModule.class,SecretManagerModule.class,UtilsModule.class})
public interface RegistryPipelineComponent
Component that provides everything needed on a Pipeline worker.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondagger.Lazy
<JpaTransactionManager> Returns the regularJpaTransactionManager
for general use.Returns the GCP project ID.dagger.Lazy
<JpaTransactionManager> AJpaTransactionManager
that uses the Postgres read-only replica if configured (uses the standard DB otherwise).
-
Method Details
-
getProjectId
Returns the GCP project ID. -
getJpaTransactionManager
Returns the regularJpaTransactionManager
for general use. -
getReadOnlyReplicaJpaTransactionManager
@BeamReadOnlyReplicaJpaTm dagger.Lazy<JpaTransactionManager> getReadOnlyReplicaJpaTransactionManager()AJpaTransactionManager
that uses the Postgres read-only replica if configured (uses the standard DB otherwise).
-