persistence

package
v0.0.0-...-3286396 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QuarkusFlywayMigrateAtStart         string = "quarkus.flyway.migrate-at-start"
	QuarkusDatasourceDBKind             string = "quarkus.datasource.db-kind"
	QuarkusDatasourceJDBCURL            string = "quarkus.datasource.jdbc.url"
	KogitoPersistenceType               string = "kogito.persistence.type"
	JDBCPersistenceType                 string = "jdbc"
	KogitoPersistenceQueryTimeoutMillis string = "kogito.persistence.query.timeout.millis"
	KogitoPersistenceProtoMarshaller    string = "kogito.persistence.proto.marshaller"
	PostgreSQLDBKind                    string = "postgresql"
)

Variables

This section is empty.

Functions

func ConfigurePersistence

func ConfigurePersistence(serviceContainer *corev1.Container, config *operatorapi.PersistenceOptionsSpec, defaultSchema, namespace string) *corev1.Container

func ConfigurePostgreSQLEnv

func ConfigurePostgreSQLEnv(postgresql *operatorapi.PersistencePostgreSQL, databaseSchema, databaseNamespace string) []corev1.EnvVar

ConfigurePostgreSQLEnv returns the common env variables required for the DataIndex or JobsService when postresql persistence is used.

func GetPostgreSQLExtensions

func GetPostgreSQLExtensions() []cfg.GroupArtifactId

GetPostgreSQLExtensions returns the Quarkus extensions required for postgresql persistence.

func GetPostgreSQLWorkflowProperties

func GetPostgreSQLWorkflowProperties(workflow *operatorapi.SonataFlow) *properties.Properties

GetPostgreSQLWorkflowProperties returns the set of application properties required for postgresql persistence. Never nil.

func ResolveWorkflowPersistenceProperties

func ResolveWorkflowPersistenceProperties(workflow *operatorapi.SonataFlow, platform *operatorapi.SonataFlowPlatform) (*properties.Properties, error)

ResolveWorkflowPersistenceProperties returns the set of application properties required for the workflow persistence. Never nil.

func RetrievePostgreSQLConfiguration

func RetrievePostgreSQLConfiguration(primary *v1alpha08.PersistenceOptionsSpec, platformPersistence *v1alpha08.PlatformPersistenceOptionsSpec, schema string) *v1alpha08.PersistenceOptionsSpec

RetrievePostgreSQLConfiguration return the PersistenceOptionsSpec considering that postgresql is the database manager to look for. Gives priority to the primary configuration.

func UsesPostgreSQLPersistence

func UsesPostgreSQLPersistence(workflow *operatorapi.SonataFlow, platform *operatorapi.SonataFlowPlatform) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL