Open ashie opened 9 years ago
How to provide WebUI plugin
What's that mean? Idon't know WebUI plugin.
Idon't know WebUI plugin.
They are put following directory: https://github.com/project-hatohol/hatohol/tree/master/client/static/js.plugins
Oh, I knew it first time! Thank you!
FYI @teruo-oshida san
The following commits will be refarence of the How to provide server type sql and How to package a plugin.
https://github.com/project-hatohol/hatohol/commit/dac4b3f1d588d1b878d235eafef3334a972ad8b0 https://github.com/project-hatohol/hatohol/commit/1d827ee48082a16d9d1ddd91fc5d9dc440a6184b https://github.com/project-hatohol/hatohol/commit/bf20231420918623394ad0296a1e45f56328d2f7
@Mnakagawa san, Could you add hap2_nagios_livestatus.js into plugins.js directory?
I think that this js file should contain like this:
(function(hatohol) {
var self = hatohol.registerPlugin("6f024e3e-a2cd-11e5-bfc7-d43d7e3146fb",
"Nagios LiveStatus (HAPI2)");
}(hatohol));
That right! I did not know js.plugin, so I forgotten to add hap2_nagios_livestatus.js. I will commit that same as your suggestion.