properties

package
v0.0.0-...-7801012 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplicationManagedProperties

func ApplicationManagedProperties(workflow *operatorapi.SonataFlow, platform *operatorapi.SonataFlowPlatform) (string, error)

ApplicationManagedProperties immutable default application properties that can be used with any workflow based on Quarkus. Alias for NewManagedPropertyHandler(workflow).Build()

Types

type ManagedPropertyHandler

type ManagedPropertyHandler interface {
	WithUserProperties(userProperties string) ManagedPropertyHandler
	WithServiceDiscovery(ctx context.Context, catalog discovery.ServiceCatalog) ManagedPropertyHandler
	Build() string
}

func NewManagedPropertyHandler

func NewManagedPropertyHandler(workflow *operatorapi.SonataFlow, platform *operatorapi.SonataFlowPlatform) (ManagedPropertyHandler, error)

NewManagedPropertyHandler creates a property handler for a given workflow to execute in the provided platform. This handler is intended to build the managed application properties required by the workflow to execute properly together with the user properties defined in the user-managed ConfigMap. Note that the produced properties might vary depending on the platform, for example, if the job service managed by the platform have a particular set of properties will be added, etc. By default, the following properties are incorporated: The set of immutable properties provided by the operator. (user can never change) The set of defaultManagedProperties that are provided by the operator, and that the user cannot overwrite even if it changes the user-managed ConfigMap. This set includes for example the required properties to connect with the data index and the job service when any of these services are managed by the platform.

Jump to

Keyboard shortcuts

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