Commit ec72fd1c authored by Axel Brand's avatar Axel Brand Committed by daeva

Gojara

- prepareing changelog / readme for release of 2.1 
- some refactoring in admin  manager

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13709 b35dd754-fafc-0310-a699-88a17e54d16e
parent a1dbaa9b
......@@ -44,6 +44,17 @@
GoJara Plugin Changelog
</h1>
<p><b>2.1.0</b> -- Jul XX, 2013</p>
<ul>
<li>Added new functionality: "Admin Panel". See below for further info</li>
<li>active Sessions: see which users are currently connected to a transport and when they logged in.</li>
<li>Session details: Overview of active Sessions and existing Registrations for specific User.</li>
<li>Registration Overview: manage existing Registrations, even of users that never logged in (probably due to wrong credentials)</li>
<li>Spectrum2 Stats: Overview of Spectrum2 backend Statistics, uptime, used Memory, Memory Per User...</li>
<li>Configure spectrum2 transport.cfgs with admin_jid = gojaraadmin@domain for all this to properly work</li>
</ul>
<p><b>2.0.0</b> -- Mar 19, 2013</p>
<ul>
......
......@@ -68,17 +68,21 @@ This is especially useful so that a user does not get flooded with
subscription requests upon registration. This plugin also implements
a few minor extensions that Kraken used to implement for Spark, though
those are optional.
You can also use it for viewing gateway sessions, managing existing gateway-registrations
and looking into basic Spectrum2 related Statistics
</p>
<h2>Installation</h2>
<p>Copy remoteRoster.jar into the plugins directory of your Openfire installation. The
<p>Copy gojara.jar into the plugins directory of your Openfire installation. The
plugin will then be automatically deployed. To upgrade to a new version, copy the new
remoteRoster.jar file over the existing file.</p>
gojara.jar file over the existing file.</p>
<h2>Configuration</h2>
<p>The GoJara plugin can be configured under "Server"-"Server Settings"-"GoJara".</p>
<p>For Spectrum2 Statistics to work you need to additionaly configure spectrum2 transports to
include admin_jid = gojaraadmin@domain. This way we can gather info like used Memory and unregister
Users from Openfire Console</p>
</body>
</html>
\ No newline at end of file
......@@ -78,12 +78,8 @@ public class GojaraAdminManager {
// Spectrum2 Stats jsp
getGatewayStatisticsMap().put(gateway, new HashMap<String, Integer>());
Message message = new Message();
message.setFrom(adminUser);
message.setTo(gateway);
message.setID("config_check");
Message message = generateCommand(gateway, "config_check");
message.setBody("status");
message.setType(Type.chat);
router.route(message);
Log.info("Checking for admin configuration on " + gateway);
}
......@@ -196,7 +192,7 @@ public class GojaraAdminManager {
}
/**
* Used for single transport, called after we have configured it so we dont have to wait.
* gathers Gatewaystatistics for specific gateway
* @param gateway
*/
public void gatherGatewayStatistics(String gateway) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment