Exemplo n.º 1
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newAction('action', 'Action', 'Action which gets executed after the transformation'));
     $builder->add($elementFactory->newTextArea('patch', 'Patch', 'json', 'JSON Patch operations which are applied to the request body. More informations about the JSON Patch format at <a href="https://tools.ietf.org/html/rfc6902">https://tools.ietf.org/html/rfc6902</a>'));
 }
Exemplo n.º 2
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newInput('condition', 'Condition', 'text', 'The condition which gets evaluated. You can access parameters from the context with i.e. <code>parameters.get("foo") == "bar"</code>. Click <a ng-click="help.showDialog(\'help/action/condition.md\')">here</a> for more informations about the syntax.'));
     $builder->add($elementFactory->newAction('true', 'True', 'Executed if the condition evaluates to true'));
     $builder->add($elementFactory->newAction('false', 'False', 'Executed if the condition evaluates to false'));
 }
Exemplo n.º 3
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newAction('action', 'Action', 'Action which gets executed if the validation was successful'));
     $builder->add($elementFactory->newTextArea('rules', 'Rules', 'yaml', 'The validation rules in YAML format. Click <a ng-click="help.showDialog(\'help/action/validator.md\')">here</a> for more informations about the format.'));
 }
Exemplo n.º 4
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newAction('in', 'In', 'The request will be redirected to this action'));
     $builder->add($elementFactory->newAction('out', 'Out', 'The response of this action will be used as response'));
 }
Exemplo n.º 5
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newAction('action', 'Action', 'The response of this action gets cached'));
     $builder->add($elementFactory->newInput('expire', 'Expire', 'text', 'Number of seconds when the cache expires'));
 }
Exemplo n.º 6
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newAction('source', 'Source', 'Executes this action and uses the response as input for the destination action'));
     $builder->add($elementFactory->newAction('destination', 'Destination', 'The action which receives the response from the source action and returns the response'));
 }