This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git
from 43b2bfa583 Merge pull request #1401 from iuliana/exposing
add 494ea47cc4 Workflow activities response optimise, removing
task-summary and outputs from summary tab
add 103a131780 moves `suppressWorkflowOutputs` from `Sanitizer` to
`TaskTransformer` per @ahgittin comment
add 87f14388a7 refactor code
add 608f5b2ee6 remove empty line
new 4fafb3717d Merge remote-tracking branch
'jcabrerizo/activities-rest-optization'
new 2d6e8cdc40 more filtering of output - follow up to PR
https://github.com/apache/brooklyn-server/pull/1389
add 57b8deafcc when parsing a workflow step, use trick to allow a single
colon to be forgiven
add 3caa50f6dd where a workflow (custom step) is expected, eg config,
allow steps supplied as a list directly
add 60d7e6af02 add support for 'reducing' on nested workflow
add 496ff3dd65 add 'foreach' as a shorthand for 'workflow' when doing a
for loop
add a9c297ccf0 make effector info available as
${entity.effector["effector_name|"]}
add f30a25ba6c first pass at update children - working for the basic
children
add 03a9c5ef2c add transforms to return and set variables, and allow
non-setting transform to give output
add 14bd8f4413 update children using subworkflows a bit more
add dac12e7dbf allow spreading map keys in foreach
add be3e3d32a9 allow transform to resolve an expression
new 78bd08e701 update children now working, with all options
new 5e53249377 update children test for interruption and replay
new 8e00a08c37 tidy replay/resume semantics, fix rare bug in subworkflow
resumption
new 7844795e2f more thorough cancellation of DST jobs
new 245d1d1775 better checks for errors when creating a spec via coercion
new 728450104b Merge branch 'workflow-more-good-stuff'
The 8 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../brooklyn/camp/brooklyn/WorkflowYamlTest.java | 36 ++
.../brooklyn/core/effector/EffectorBase.java | 5 +-
.../brooklyn/core/mgmt/EntityManagementUtils.java | 5 +
.../core/workflow/WorkflowCommonConfig.java | 2 +
.../core/workflow/WorkflowExecutionContext.java | 57 ++-
.../core/workflow/WorkflowReplayUtils.java | 78 +++-
.../core/workflow/WorkflowStepDefinition.java | 153 ++++---
.../core/workflow/WorkflowStepResolution.java | 14 +-
.../core/workflow/steps/CustomWorkflowStep.java | 259 +++++++++---
.../appmodel/DeployApplicationWorkflowStep.java | 2 +-
.../steps/appmodel/HasBlueprintWorkflowStep.java | 18 +-
.../steps/appmodel/InvokeEffectorWorkflowStep.java | 31 +-
.../steps/appmodel/UpdateChildrenWorkflowStep.java | 453 +++++++++++++++++++++
.../workflow/steps/flow/ForeachWorkflowStep.java | 100 +++++
.../core/workflow/steps/flow/LogWorkflowStep.java | 3 +-
.../workflow/steps/flow/SwitchWorkflowStep.java | 4 +-
.../workflow/steps/variables/TransformJsonish.java | 4 +-
.../workflow/steps/variables/TransformMerge.java | 4 +-
.../workflow/steps/variables/TransformReplace.java | 4 +-
...rmWait.java => TransformResolveExpression.java} | 10 +-
...WorkflowTransform.java => TransformReturn.java} | 12 +-
...Type.java => TransformSetWorkflowVariable.java} | 21 +-
.../workflow/steps/variables/TransformType.java | 6 +-
.../variables/TransformVariableWorkflowStep.java | 50 ++-
.../steps/variables/WorkflowTransformDefault.java | 28 +-
.../variables/WorkflowTransformWithContext.java | 4 +-
.../util/core/task/DynamicSequentialTask.java | 3 +
.../brooklyn/util/core/text/TemplateProcessor.java | 3 +
.../brooklyn/core/workflow/WorkflowBasicTest.java | 32 +-
.../core/workflow/WorkflowBeefyStepTest.java | 5 +
.../core/workflow/WorkflowMapAndListTest.java | 2 +-
.../WorkflowNestedAndCustomExtensionTest.java | 125 +++++-
.../core/workflow/WorkflowTransformTest.java | 58 ++-
.../workflow/WorkflowUpdateChildrenStepTest.java | 301 ++++++++++++++
karaf/init/src/main/resources/catalog.bom | 10 +
.../resources/AbstractBrooklynRestResource.java | 43 +-
.../brooklyn/rest/resources/ActivityResource.java | 2 +-
.../brooklyn/rest/resources/EntityResource.java | 6 +-
.../brooklyn/rest/resources/SensorResource.java | 2 +-
.../brooklyn/rest/transform/TaskTransformer.java | 76 +++-
40 files changed, 1786 insertions(+), 245 deletions(-)
create mode 100644
core/src/main/java/org/apache/brooklyn/core/workflow/steps/appmodel/UpdateChildrenWorkflowStep.java
create mode 100644
core/src/main/java/org/apache/brooklyn/core/workflow/steps/flow/ForeachWorkflowStep.java
copy
core/src/main/java/org/apache/brooklyn/core/workflow/steps/variables/{TransformWait.java
=> TransformResolveExpression.java} (75%)
copy
core/src/main/java/org/apache/brooklyn/core/workflow/steps/variables/{WorkflowTransform.java
=> TransformReturn.java} (74%)
copy
core/src/main/java/org/apache/brooklyn/core/workflow/steps/variables/{TransformType.java
=> TransformSetWorkflowVariable.java} (65%)
create mode 100644
core/src/test/java/org/apache/brooklyn/core/workflow/WorkflowUpdateChildrenStepTest.java