Exemple #1
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $methods = ['GET', 'POST', 'PUT', 'DELETE', 'PATCH'];
     $methods = array_combine($methods, $methods);
     $builder->add($elementFactory->newInput('url', 'Url', 'text', 'Sends a HTTP request to the given url'));
     $builder->add($elementFactory->newSelect('method', 'Method', $methods, 'The used request method'));
     //$builder->add($elementFactory->newTextArea('headers', 'Headers', 'yaml', 'Optional the '));
     $builder->add($elementFactory->newTextArea('body', 'Body', 'text', 'The request body. Inside the body it is possible to use a template syntax to add dynamic data. Click <a ng-click="help.showDialog(\'help/template.md\')">here</a> for more informations about the template syntax.'));
 }
Exemple #2
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newInput('host', 'Host', 'text', 'The IP or hostname of the RabbitMQ server'));
     $builder->add($elementFactory->newInput('port', 'Port', 'text', 'The port used to connect to the AMQP broker. The port default is 5672'));
     $builder->add($elementFactory->newInput('user', 'User', 'text', 'The login string used to authenticate with the AMQP broker'));
     $builder->add($elementFactory->newInput('password', 'Password', 'password', 'The password string used to authenticate with the AMQP broker'));
     $builder->add($elementFactory->newInput('vhost', 'VHost', 'text', 'The virtual host to use on the AMQP broker'));
 }
Exemple #3
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $types = array('pdo_mysql' => 'MySQL', 'pdo_pgsql' => 'PostgreSQL', 'sqlsrv' => 'Microsoft SQL Server', 'oci8' => 'Oracle Database', 'sqlanywhere' => 'SAP Sybase SQL Anywhere');
     $builder->add($elementFactory->newSelect('type', 'Type', $types, 'The driver which is used to connect to the database'));
     $builder->add($elementFactory->newInput('host', 'Host', 'text', 'The IP or hostname of the database server'));
     $builder->add($elementFactory->newInput('username', 'Username', 'text', 'The name of the database user'));
     $builder->add($elementFactory->newInput('password', 'Password', 'password', 'The password of the database user'));
     $builder->add($elementFactory->newInput('database', 'Database', 'text', 'The name of the database which is used upon connection'));
 }
Exemple #4
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newConnection('connection', 'Connection'));
     $builder->add($elementFactory->newTextArea('sql', 'SQL', 'sql', 'The SELECT statment which gets executed. It is possible to access values from the environment with i.e. <code ng-non-bindable>{{ request.uriFragment("news_id")|prepare }}</code>. <b>Note you must use the prepare filter for each parameter in order to generate a safe SQL query which uses prepared statments.</b> Click <a ng-click="help.showDialog(\'help/template.md\')">here</a> for more informations about the template syntax.'));
 }
Exemple #5
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newSelect('statusCode', 'Status-Code', Http::$codes, 'The returned status code'));
     $builder->add($elementFactory->newTextArea('response', 'Response', 'json', 'The response in JSON format. Inside the response it is possible to use a template syntax to add dynamic data. Click <a ng-click="help.showDialog(\'help/template.md\')">here</a> for more informations about the template syntax.'));
 }
Exemple #6
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newInput('foo', 'Foo', 'text', 'bar'));
 }
Exemple #7
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newConnection('connection', 'Connection', 'The MongoDB connection which should be used'));
     $builder->add($elementFactory->newInput('collection', 'Collection', 'text', 'The data gets fetched from this collection'));
     $builder->add($elementFactory->newTextArea('criteria', 'Criteria', 'json', 'Specifies selection criteria using <a href="http://docs.mongodb.org/manual/reference/operator/">query operators</a>. To return all documents in a collection, omit this parameter or pass an empty document ({})'));
     $builder->add($elementFactory->newTextArea('projection', 'Projection', 'json', 'Specifies the fields to return using <a href="http://docs.mongodb.org/manual/reference/operator/projection/">projection operators</a>. To return all fields in the matching document, omit this parameter.'));
 }
Exemple #8
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.'));
 }
Exemple #9
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'));
 }
Exemple #10
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newConnection('connection', 'Connection', 'The MongoDB connection which should be used'));
     $builder->add($elementFactory->newInput('collection', 'Collection', 'text', 'Inserts the document into this collection'));
     $builder->add($elementFactory->newTextArea('document', 'Document', 'json', 'The document containing the data'));
 }
Exemple #11
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newTextArea('process', 'Process', 'yaml', 'The process description in the YAML format. Click <a ng-click="help.showDialog(\'help/action/processor.md\')">here</a> for more informations about the format.'));
 }
Exemple #12
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newInput('foo', 'Foo', 'text', 'Foo description'));
     $builder->add($elementFactory->newConnection('connection', 'Connection', 'Connection description'));
 }
Exemple #13
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newConnection('connection', 'Connection', 'The MongoDB connection which should be used'));
     $builder->add($elementFactory->newInput('collection', 'Collection', 'text', 'Removes the record from this collection'));
     $builder->add($elementFactory->newTextArea('criteria', 'Criteria', 'json', 'Query criteria which objects should be deleted'));
 }
Exemple #14
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'));
 }
Exemple #15
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newInput('url', 'Url', 'text', 'The connection string for the database i.e. <code>mongodb://localhost:27017</code>. Click <a ng-click="help.showDialog(\'help/connection/mongodb.md\')">here</a> for more informations.'));
     $builder->add($elementFactory->newInput('options', 'Options', 'text', 'Optional options for the connection. Click <a ng-click="help.showDialog(\'help/connection/mongodb.md\')">here</a> for more informations.'));
     $builder->add($elementFactory->newInput('database', 'Database', 'text', 'The name of the database which is used upon connection'));
 }
Exemple #16
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newConnection('connection', 'Connection', 'The Beanstalk connection which should be used'));
     $builder->add($elementFactory->newInput('queue', 'Queue', 'text', 'The name of the queue'));
 }
Exemple #17
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newInput('url', 'URL', 'text', 'Uses an specific URL which contains all database connection informations. Click <a ng-click="help.showDialog(\'help/connection/dbal_advanced.md\')">here</a> for more informations.'));
 }
Exemple #18
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'));
 }
Exemple #19
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'));
 }
Exemple #20
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newConnection('connection', 'Connection', 'The MongoDB connection which should be used'));
     $builder->add($elementFactory->newInput('propertyName', 'Property name', 'text', 'The name of the property under which the result should be inserted'));
     $builder->add($elementFactory->newInput('collection', 'Collection', 'text', 'The data gets fetched from this collection'));
     $builder->add($elementFactory->newTextArea('criteria', 'Criteria', 'json', 'Specifies selection criteria using <a href="http://docs.mongodb.org/manual/reference/operator/">query operators</a>. To return all documents in a collection, omit this parameter or pass an empty document ({})'));
     $builder->add($elementFactory->newTextArea('projection', 'Projection', 'json', 'Specifies the fields to return using <a href="http://docs.mongodb.org/manual/reference/operator/projection/">projection operators</a>. To return all fields in the matching document, omit this parameter.'));
     $builder->add($elementFactory->newInput('sort', 'Sort', 'text', 'Sorts the entries after a specific key. I.e. <code>title=1</code> to order after the title ascending or <code>title=-1</code> for descending'));
     $builder->add($elementFactory->newInput('limit', 'Limit', 'text', 'Integer how many entries should be fetched'));
 }
Exemple #21
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newInput('host', 'Host', 'text', 'The IP or hostname of the Beanstalk server'));
 }
Exemple #22
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>'));
 }
Exemple #23
0
 public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory)
 {
     $builder->add($elementFactory->newConnection('connection', 'Connection', 'The MongoDB connection which should be used'));
     $builder->add($elementFactory->newInput('collection', 'Collection', 'text', 'Inserts the document into this collection'));
     $builder->add($elementFactory->newTextArea('criteria', 'Criteria', 'json', 'Query criteria for the documents to update'));
     $builder->add($elementFactory->newTextArea('document', 'Document', 'json', 'The object used to update the matched documents'));
 }