Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

feat(broker): add form to configure generic stream connector #6024

Merged
merged 18 commits into from
Feb 5, 2018

Conversation

loiclau
Copy link
Contributor

@loiclau loiclau commented Jan 29, 2018

No description provided.

@lpinsivy lpinsivy changed the title Output broker feat(broker): add form to configure generic stream connector Feb 1, 2018
@loiclau loiclau merged commit 7e99dcf into 2.8.x Feb 5, 2018
loiclau added a commit that referenced this pull request Feb 5, 2018
* feat(form broker) add custom output

* fix(broker): Fix js with multiple element on Centreon Broker Form

* Add jshook for fields

* feat(broker) add filter in custom output

* fix(broker) replace space in output/input name

* feat(broker) add custom output test

* feat(broker) add doc
@loiclau loiclau deleted the output-broker branch February 5, 2018 09:30
@thiuyendang
Copy link
Contributor

thiuyendang commented Feb 7, 2018

Validated with 2.8.18-6 Centreon Web.
Add new entry button OK
content of form added and saved properly
When configuration is exported then the broker configuration file contains new entries.

cf /etc/centreon-broker/central-broker.xml:
  <name><![CDATA[test_formulaire]]></name>
  <path><![CDATA[/tmp/test.lua]]></path>
  <filters>
   <category><![CDATA[neb]]></category>
   <category><![CDATA[storage]]></category>
  </filters>
  <type><![CDATA[lua]]></type>
  <lua_parameter>
   <type><![CDATA[number]]></type>
   <name><![CDATA[max-row]]></name>
   <value><![CDATA[5]]></value>
  </lua_parameter>
  <lua_parameter>
   <type><![CDATA[string]]></type>
   <name><![CDATA[output-file]]></name>
   <value><![CDATA[/tmp/output.txt]]></value>
  </lua_parameter>
 </output>
 <stats>
  <type><![CDATA[stats]]></type>
  <name><![CDATA[central-broker-master-stats]]></name>
  <json_fifo><![CDATA[/var/lib/centreon-broker/central-broker-master-stats.json]]></json_fifo>
 </stats>

Ridene pushed a commit that referenced this pull request Mar 20, 2018
* feat(form broker) add custom output

* fix(broker): Fix js with multiple element on Centreon Broker Form

* Add jshook for fields

* feat(broker) add filter in custom output

* fix(broker) replace space in output/input name

* feat(broker) add custom output test

* feat(broker) add doc
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants