s3_init_data_attributes

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WorkflowType      = "s3-init-data-attributes"
	State1            = "S1"
	State2            = "S2"
	TestDataAttrKey1  = "test-da-key1"
	TestDataAttrKey2  = "test-da-key2"
	TestDataAttrKey3  = "test-da-key3"
	LargeDataContent1 = "this_is_a_large_data_content_that_should_be_stored_in_s3_for_testing_purposes_with_more_than_10_characters"
	LargeDataContent2 = "another_large_data_content_for_second_attribute_that_exceeds_the_s3_threshold_for_external_storage_testing"
	SmallDataContent3 = "small"
)

*

  • This test workflow has 2 states, testing S3 data attribute loading functionality. *
  • State1:
  • - WaitUntil method loads and validates data attributes from S3
  • - Execute method transitions to State2 *
  • State2:
  • - WaitUntil method does nothing
  • - Execute method loads and validates data attributes from S3, then completes workflow

Variables

View Source
var TestDataAttributeVal1 = iwfidl.EncodedObject{
	Encoding: iwfidl.PtrString("json"),
	Data:     iwfidl.PtrString("\"" + LargeDataContent1 + "\""),
}
View Source
var TestDataAttributeVal2 = iwfidl.EncodedObject{
	Encoding: iwfidl.PtrString("json"),
	Data:     iwfidl.PtrString("\"" + LargeDataContent2 + "\""),
}
View Source
var TestDataAttributeVal3 = iwfidl.EncodedObject{
	Encoding: iwfidl.PtrString("json"),
	Data:     iwfidl.PtrString("\"" + SmallDataContent3 + "\""),
}

Functions

func NewHandler

func NewHandler() *handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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