Big changes
This commit is contained in:
parent
f2b4cfdec7
commit
c6d2981b12
15 changed files with 203 additions and 205 deletions
24
src/wa/server/page/MainPage.java
Executable file
24
src/wa/server/page/MainPage.java
Executable file
|
|
@ -0,0 +1,24 @@
|
||||||
|
package wa.server.page;
|
||||||
|
|
||||||
|
import wa.server.WAContext;
|
||||||
|
import zutil.net.http.HttpHeader;
|
||||||
|
import zutil.parser.Templator;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Created by Ziver on 2016-07-23.
|
||||||
|
*/
|
||||||
|
public class MainPage extends WAPage {
|
||||||
|
|
||||||
|
|
||||||
|
public MainPage(){
|
||||||
|
super("/");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Templator htmlResponse(WAContext context, HttpHeader client_info, Map<String, Object> session, Map<String, String> cookie, Map<String, String> request) throws IOException {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -42,21 +42,25 @@ import java.util.logging.Logger;
|
||||||
*/
|
*/
|
||||||
public class ServiceStatusPage extends WAPage {
|
public class ServiceStatusPage extends WAPage {
|
||||||
private static final Logger log = LogUtil.getLogger();
|
private static final Logger log = LogUtil.getLogger();
|
||||||
|
|
||||||
|
public static final String PAGE_NAME = "status";
|
||||||
public static final String NAVIGATION_NAME = "Service Status";
|
public static final String NAVIGATION_NAME = "Service Status";
|
||||||
private static final String TMPL_FILE = "WebContent/page/ServiceStatusPage.tmpl";
|
private static final String TMPL_FILE = "WebContent/page/ServiceStatusPage.tmpl";
|
||||||
|
|
||||||
private ArrayList<WAServiceStatus> services;
|
private ArrayList<WAServiceStatus> services;
|
||||||
|
|
||||||
|
|
||||||
public ServiceStatusPage(WAServiceStatus ss){
|
|
||||||
services = new ArrayList<>();
|
|
||||||
services.add(ss);
|
|
||||||
}
|
|
||||||
public ServiceStatusPage(){
|
public ServiceStatusPage(){
|
||||||
|
super(WAServicePage.NAVIGATION_NAME +"/"+ PAGE_NAME);
|
||||||
this.services = WAContext.getPluginManager().toArray(WAServiceStatus.class);
|
this.services = WAContext.getPluginManager().toArray(WAServiceStatus.class);
|
||||||
|
|
||||||
Navigation nav = WAContext.getRootNav().createSubNav(WAServicePage.NAVIGATION_NAME)
|
Navigation nav = WAContext.getRootNav().createSubNav(WAServicePage.NAVIGATION_NAME)
|
||||||
.createSubNav(NAVIGATION_NAME).setWeight(-100);
|
.createSubNav(getPageName(), NAVIGATION_NAME).setWeight(-100);
|
||||||
|
}
|
||||||
|
public ServiceStatusPage(WAServiceStatus ss){
|
||||||
|
services = new ArrayList<>();
|
||||||
|
services.add(ss);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,11 +24,10 @@ package wa.server.page;
|
||||||
|
|
||||||
import wa.server.WAContext;
|
import wa.server.WAContext;
|
||||||
import wa.server.plugin.WAConfigEntry;
|
import wa.server.plugin.WAConfigEntry;
|
||||||
import wa.server.plugin.WAServiceConfig;
|
import wa.server.plugin.WAServiceStatus;
|
||||||
import zutil.io.file.FileUtil;
|
import zutil.io.file.FileUtil;
|
||||||
import zutil.log.LogUtil;
|
import zutil.log.LogUtil;
|
||||||
import zutil.net.http.HttpHeader;
|
import zutil.net.http.HttpHeader;
|
||||||
import zutil.parser.DataNode;
|
|
||||||
import zutil.parser.Templator;
|
import zutil.parser.Templator;
|
||||||
import zutil.ui.Configurator;
|
import zutil.ui.Configurator;
|
||||||
|
|
||||||
|
|
@ -45,15 +44,16 @@ import java.util.logging.Logger;
|
||||||
*
|
*
|
||||||
* Created by Ziver on 2015-07-27.
|
* Created by Ziver on 2015-07-27.
|
||||||
*/
|
*/
|
||||||
public class ConfigPage extends WAPage {
|
public abstract class WAConfigPage extends WAPage {
|
||||||
private static final Logger log = LogUtil.getLogger();
|
private static final Logger log = LogUtil.getLogger();
|
||||||
private static final String TMPL_FILE = "WebContent/page/ConfigPage.tmpl";
|
private static final String TEMPLATE = "WebContent/page/ConfigPage.tmpl";
|
||||||
|
|
||||||
private WAServiceConfig config;
|
|
||||||
|
|
||||||
|
|
||||||
public ConfigPage(WAServiceConfig conf) {
|
|
||||||
this.config = conf;
|
public WAConfigPage(String serviceName, String name, String niceName) {
|
||||||
|
super(WAServicePage.NAVIGATION_NAME +"/"+ serviceName +"/"+ name);
|
||||||
|
WAContext.getRootNav().createSubNav(WAServicePage.NAVIGATION_NAME).createSubNav(serviceName)
|
||||||
|
.createSubNav(name, niceName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -64,23 +64,23 @@ public class ConfigPage extends WAPage {
|
||||||
Map<String, String> cookie,
|
Map<String, String> cookie,
|
||||||
Map<String, String> request) {
|
Map<String, String> request) {
|
||||||
try {
|
try {
|
||||||
List<?> confObjs = config.getConfigData();
|
List<?> confObjs = getConfigData();
|
||||||
ArrayList<Configurator<WAConfigEntry>> confList = new ArrayList<>();
|
ArrayList<Configurator<WAConfigEntry>> confList = new ArrayList<>();
|
||||||
for(Object obj : confObjs){
|
for(Object obj : confObjs){
|
||||||
confList.add(new Configurator(obj));
|
confList.add(new Configurator(obj));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Actions
|
// Actions
|
||||||
int index = Integer.parseInt(request.get("id"));
|
int id = Integer.parseInt(request.get("id"));
|
||||||
Configurator<WAConfigEntry> target = findObj(confList, index);
|
Configurator<WAConfigEntry> target = findObj(confList, id);
|
||||||
switch (request.get("action")){
|
switch (request.get("action")){
|
||||||
case "create":
|
case "create":
|
||||||
target = new Configurator(config.createConfig()).applyConfiguration();
|
target = new Configurator(createConfig()).applyConfiguration();
|
||||||
case "modify":
|
case "modify":
|
||||||
target.setValues(request).applyConfiguration();
|
target.setValues(request).applyConfiguration();
|
||||||
break;
|
break;
|
||||||
case "delete":
|
case "delete":
|
||||||
config.deleteConfig(index);
|
deleteConfig(id);
|
||||||
break;
|
break;
|
||||||
case "enable":
|
case "enable":
|
||||||
target.getObject().setEnabled(true);
|
target.getObject().setEnabled(true);
|
||||||
|
|
@ -91,9 +91,9 @@ public class ConfigPage extends WAPage {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Prepare Output
|
// Prepare Output
|
||||||
Templator tmpl = new Templator(FileUtil.find(TMPL_FILE));
|
Templator tmpl = new Templator(FileUtil.find(TEMPLATE));
|
||||||
tmpl.set("params", Configurator.getConfiguration(
|
tmpl.set("params", Configurator.getConfiguration(
|
||||||
config.getConfigClass()));
|
getConfigClass()));
|
||||||
tmpl.set("data", confList);
|
tmpl.set("data", confList);
|
||||||
return tmpl;
|
return tmpl;
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|
@ -102,14 +102,6 @@ public class ConfigPage extends WAPage {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public DataNode jsonResponse(WAContext context,
|
|
||||||
HttpHeader client_info,
|
|
||||||
Map<String, Object> session,
|
|
||||||
Map<String, String> cookie,
|
|
||||||
Map<String, String> request) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
private static Configurator<WAConfigEntry> findObj(List<Configurator<WAConfigEntry>> list, int id){
|
private static Configurator<WAConfigEntry> findObj(List<Configurator<WAConfigEntry>> list, int id){
|
||||||
|
|
@ -119,4 +111,29 @@ public class ConfigPage extends WAPage {
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public abstract WAConfigEntry createConfig();
|
||||||
|
public abstract void deleteConfig(int id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Configure service with current configuration data
|
||||||
|
*/
|
||||||
|
public abstract void configure() throws Exception;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a list of configuration objects, the object
|
||||||
|
* configuration can be changed with the
|
||||||
|
* {@link zutil.ui.Configurator} class.
|
||||||
|
*/
|
||||||
|
public abstract List<? extends WAConfigEntry> getConfigData();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the class that contains the configuration data
|
||||||
|
*/
|
||||||
|
public abstract Class<? extends WAConfigEntry> getConfigClass();
|
||||||
}
|
}
|
||||||
|
|
@ -51,6 +51,10 @@ public abstract class WAPage implements HttpPage{
|
||||||
|
|
||||||
|
|
||||||
public WAPage() {
|
public WAPage() {
|
||||||
|
this(null);
|
||||||
|
}
|
||||||
|
public WAPage(String pageName) {
|
||||||
|
this.pageName = pageName;
|
||||||
try {
|
try {
|
||||||
tmpl = new Templator(FileUtil.find(TMPL_FILE));
|
tmpl = new Templator(FileUtil.find(TMPL_FILE));
|
||||||
} catch(IOException e){
|
} catch(IOException e){
|
||||||
|
|
@ -104,9 +108,6 @@ public abstract class WAPage implements HttpPage{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPageName(String pageName){
|
|
||||||
this.pageName = pageName;
|
|
||||||
}
|
|
||||||
public String getPageName(){
|
public String getPageName(){
|
||||||
return pageName;
|
return pageName;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ package wa.server.page;
|
||||||
import wa.server.WAContext;
|
import wa.server.WAContext;
|
||||||
import wa.server.plugin.WAInstaller;
|
import wa.server.plugin.WAInstaller;
|
||||||
import wa.server.plugin.WALog;
|
import wa.server.plugin.WALog;
|
||||||
import wa.server.plugin.WAServiceConfig;
|
|
||||||
import wa.server.plugin.WAServiceStatus;
|
import wa.server.plugin.WAServiceStatus;
|
||||||
import zutil.io.file.FileUtil;
|
import zutil.io.file.FileUtil;
|
||||||
import zutil.log.LogUtil;
|
import zutil.log.LogUtil;
|
||||||
|
|
@ -34,9 +33,7 @@ import zutil.parser.Templator;
|
||||||
import zutil.ui.Navigation;
|
import zutil.ui.Navigation;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.logging.Level;
|
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -52,11 +49,11 @@ public abstract class WAServicePage extends WAPage {
|
||||||
private LogPage logPage;
|
private LogPage logPage;
|
||||||
|
|
||||||
|
|
||||||
public WAServicePage(String pageName, String serviceName){
|
public WAServicePage(String name, String niceName){
|
||||||
super.setPageName("service/"+pageName);
|
super("service/"+name);
|
||||||
|
|
||||||
Navigation rootNav = WAContext.getRootNav().createSubNav(NAVIGATION_NAME).setWeight(100);
|
WAContext.getRootNav().createSubNav(NAVIGATION_NAME).setWeight(100)
|
||||||
Navigation serviceNav = rootNav.createSubNav(getPageName(), serviceName);
|
.createSubNav(getPageName(), niceName);
|
||||||
|
|
||||||
statusPage = new ServiceStatusPage(getStatus());
|
statusPage = new ServiceStatusPage(getStatus());
|
||||||
logPage = new LogPage(getLog());
|
logPage = new LogPage(getLog());
|
||||||
|
|
@ -97,4 +94,5 @@ public abstract class WAServicePage extends WAPage {
|
||||||
* @return a installer object that will install the service or null if the installer is not available
|
* @return a installer object that will install the service or null if the installer is not available
|
||||||
*/
|
*/
|
||||||
public abstract WAInstaller getInstaller();
|
public abstract WAInstaller getInstaller();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -32,11 +32,11 @@ public abstract class WAStatusPage extends WAPage {
|
||||||
public static final String NAVIGATION_NAME = "Status";
|
public static final String NAVIGATION_NAME = "Status";
|
||||||
|
|
||||||
|
|
||||||
public WAStatusPage(String subPageName, String niceName){
|
public WAStatusPage(String name, String niceName){
|
||||||
super.setPageName("status/"+subPageName);
|
super("status/"+name);
|
||||||
|
|
||||||
WAContext.getRootNav().createSubNav(NAVIGATION_NAME)
|
WAContext.getRootNav().createSubNav(NAVIGATION_NAME)
|
||||||
.setWeight(0).createSubNav(this.getPageName(), niceName);
|
.setWeight(-100).createSubNav(this.getPageName(), niceName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"name": "WA Core",
|
"name": "WA Core",
|
||||||
"interfaces": [
|
"interfaces": [
|
||||||
|
{"wa.server.page.WAPage": "wa.server.page.MainPage"},
|
||||||
{"wa.server.page.WAPage": "wa.server.page.ServiceStatusPage"}
|
{"wa.server.page.WAPage": "wa.server.page.ServiceStatusPage"}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -1,43 +0,0 @@
|
||||||
package wa.server.plugin;
|
|
||||||
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
public interface WAServiceConfig {
|
|
||||||
/**
|
|
||||||
* @return the String name of this configuration type
|
|
||||||
*/
|
|
||||||
String getName();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Read in current configuration data
|
|
||||||
*/
|
|
||||||
//public void read() throws Exception;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Save configured data to disk or database
|
|
||||||
*/
|
|
||||||
//public void save() throws Exception;
|
|
||||||
|
|
||||||
WAConfigEntry createConfig();
|
|
||||||
void deleteConfig(int id);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Configure service with current configuration data
|
|
||||||
*/
|
|
||||||
void configure() throws Exception;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return a list of configuration objects, the object
|
|
||||||
* configuration can be changed with the
|
|
||||||
* {@link zutil.ui.Configurator} class.
|
|
||||||
*/
|
|
||||||
List<? extends WAConfigEntry> getConfigData();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the class that contains the configuration data
|
|
||||||
*/
|
|
||||||
Class<? extends WAConfigEntry> getConfigClass();
|
|
||||||
}
|
|
||||||
|
|
@ -2,8 +2,8 @@ package wa.server.plugin.apache;
|
||||||
|
|
||||||
import wa.server.WAConstants;
|
import wa.server.WAConstants;
|
||||||
import wa.server.WAContext;
|
import wa.server.WAContext;
|
||||||
|
import wa.server.page.WAConfigPage;
|
||||||
import wa.server.plugin.WAConfigEntry;
|
import wa.server.plugin.WAConfigEntry;
|
||||||
import wa.server.plugin.WAServiceConfig;
|
|
||||||
import wa.server.util.ConfigFileUtil;
|
import wa.server.util.ConfigFileUtil;
|
||||||
import zutil.db.bean.DBBean;
|
import zutil.db.bean.DBBean;
|
||||||
import zutil.db.bean.DBBean.DBTable;
|
import zutil.db.bean.DBBean.DBTable;
|
||||||
|
|
@ -18,8 +18,10 @@ import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
|
||||||
public class ApacheConfigVirtualHost implements WAServiceConfig{
|
public class ApacheConfigVirtualHost extends WAConfigPage {
|
||||||
private static final String CONFIG_NAME = "Apache Virtual Host";
|
private static final String CONFIG_NAME = "vhost";
|
||||||
|
private static final String NAVIGATION_NAME = "Apache Virtual Host";
|
||||||
|
|
||||||
private static final String APACHE_MAIN_CONFIG_FILE = "/apache2/apache2.conf";
|
private static final String APACHE_MAIN_CONFIG_FILE = "/apache2/apache2.conf";
|
||||||
private static final String APACHE_SITE_AVAILABLE_PATH = "/apache2/site-available/";
|
private static final String APACHE_SITE_AVAILABLE_PATH = "/apache2/site-available/";
|
||||||
private static final String STATIC_PRE_CONF = "wa/server/plugin/apache/apache_default.config";
|
private static final String STATIC_PRE_CONF = "wa/server/plugin/apache/apache_default.config";
|
||||||
|
|
@ -28,14 +30,11 @@ public class ApacheConfigVirtualHost implements WAServiceConfig{
|
||||||
|
|
||||||
|
|
||||||
public ApacheConfigVirtualHost() throws SQLException {
|
public ApacheConfigVirtualHost() throws SQLException {
|
||||||
|
super(ApacheService.NAVIGATION_NAME, CONFIG_NAME, NAVIGATION_NAME);
|
||||||
vhosts = DBBean.load(WAContext.getDB(), ApacheVirtualHostEntry.class);
|
vhosts = DBBean.load(WAContext.getDB(), ApacheVirtualHostEntry.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getName() {
|
|
||||||
return CONFIG_NAME;
|
|
||||||
}
|
|
||||||
|
|
||||||
public WAConfigEntry createConfig(){
|
public WAConfigEntry createConfig(){
|
||||||
return new ApacheVirtualHostEntry();
|
return new ApacheVirtualHostEntry();
|
||||||
|
|
|
||||||
|
|
@ -24,20 +24,16 @@ package wa.server.plugin.apache;
|
||||||
|
|
||||||
import wa.server.page.WAServicePage;
|
import wa.server.page.WAServicePage;
|
||||||
import wa.server.plugin.*;
|
import wa.server.plugin.*;
|
||||||
import zutil.log.LogUtil;
|
|
||||||
|
|
||||||
import java.sql.SQLException;
|
|
||||||
import java.util.logging.Level;
|
|
||||||
import java.util.logging.Logger;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Ziver on 2014-12-23.
|
* Created by Ziver on 2014-12-23.
|
||||||
*/
|
*/
|
||||||
public class ApacheService extends WAServicePage {
|
public class ApacheService extends WAServicePage {
|
||||||
public static final String SERVICE_NAME = "Apache2";
|
protected static final String SERVICE_NAME = "apache";
|
||||||
|
protected static final String NAVIGATION_NAME = "Apache2";
|
||||||
|
|
||||||
public ApacheService() {
|
public ApacheService() {
|
||||||
super("apache", SERVICE_NAME);
|
super(SERVICE_NAME, NAVIGATION_NAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -56,4 +52,5 @@ public class ApacheService extends WAServicePage {
|
||||||
public WAInstaller getInstaller() {
|
public WAInstaller getInstaller() {
|
||||||
return new ApacheInstaller();
|
return new ApacheInstaller();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ public class ApacheStatus extends WAServiceStatus {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return ApacheService.SERVICE_NAME;
|
return ApacheService.NAVIGATION_NAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"name": "Apache Web Server",
|
"name": "Apache Web Server",
|
||||||
"interfaces": [
|
"interfaces": [
|
||||||
{"wa.server.page.WAServicePage": "wa.server.plugin.apache.ApacheService"},
|
{"wa.server.page.WAPage": "wa.server.plugin.apache.ApacheService"},
|
||||||
{"wa.server.plugin.WAServiceStatus": "wa.server.plugin.apache.ApacheStatus"},
|
{"wa.server.plugin.WAServiceStatus": "wa.server.plugin.apache.ApacheStatus"},
|
||||||
{"wa.server.page.WAConfigPage": "wa.server.plugin.apache.ApacheConfigVirtualHost"}
|
{"wa.server.page.WAPage": "wa.server.plugin.apache.ApacheConfigVirtualHost"}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"name": "HW Status",
|
"name": "HW Status",
|
||||||
"interfaces": [
|
"interfaces": [
|
||||||
{"wa.server.plugin.WAPage": "wa.server.plugin.hwstatus.HwStatus"},
|
{"wa.server.page.WAPage": "wa.server.plugin.hwstatus.HwStatus"},
|
||||||
{"wa.server.plugin.WAPage": "wa.server.plugin.hwstatus.HDDStatus"},
|
{"wa.server.page.WAPage": "wa.server.plugin.hwstatus.HDDStatus"},
|
||||||
{"wa.server.plugin.WAPage": "wa.server.plugin.hwstatus.NetStatus"}
|
{"wa.server.page.WAPage": "wa.server.plugin.hwstatus.NetStatus"}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -2,6 +2,6 @@
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"name": "NUT UPS",
|
"name": "NUT UPS",
|
||||||
"interfaces": [
|
"interfaces": [
|
||||||
{"wa.server.plugin.WAPage": "wa.server.plugin.nutups.UPSStatus"}
|
{"wa.server.page.WAPage": "wa.server.plugin.nutups.UPSStatus"}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"name": "Tomcat",
|
"name": "Tomcat",
|
||||||
"interfaces": {
|
"interfaces": {
|
||||||
"wa.server.plugin.WAService": "wa.server.plugin.apache.TomcatService",
|
"wa.server.page.WAServicePage": "wa.server.plugin.apache.TomcatService",
|
||||||
"wa.server.plugin.WAServiceStatus": "wa.server.plugin.tomcat.TomcatStatus"
|
"wa.server.plugin.WAServiceStatus": "wa.server.plugin.tomcat.TomcatStatus"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue