public class DASHelper extends Object
Constructor and Description |
---|
DASHelper() |
Modifier and Type | Method and Description |
---|---|
protected static void |
addServiceActionsFromDB(List<String> actions,
String uRL)
loads all actions for a given service from the actionlist in perf db
All-Actions is NOT explicitly added
|
protected static org.miloss.fgsms.services.interfaces.dataaccessservice.GetPerformanceAverageStatsResponseMsg |
getPerformanceAvgStatsFromDB(WebServiceContext ctx,
String uri,
String displayname,
org.miloss.fgsms.services.interfaces.common.SecurityWrapper classification) |
protected static org.miloss.fgsms.services.interfaces.dataaccessservice.ArrayOfServiceType |
getServiceListfromPolicyDB(WebServiceContext ctx,
org.miloss.fgsms.services.interfaces.common.SecurityWrapper classification)
this function filters results by the current request context username
|
protected static org.miloss.fgsms.services.interfaces.dataaccessservice.ArrayOfServiceType |
getServiceListfromPolicyDB(WebServiceContext ctx,
org.miloss.fgsms.services.interfaces.common.SecurityWrapper classification,
org.miloss.fgsms.services.interfaces.common.PolicyType p)
Returns a list of services, filtered by the current user and policy type
|
protected static org.miloss.fgsms.services.interfaces.dataaccessservice.ArrayOfServiceType |
getServiceListfromPolicyDB(WebServiceContext ctx,
org.miloss.fgsms.services.interfaces.common.SecurityWrapper classification,
org.miloss.fgsms.services.interfaces.common.PolicyType p,
String hostname)
Returns a list of services, filtered by the current user and policy type
and hostname
|
protected static org.miloss.fgsms.services.interfaces.dataaccessservice.ArrayOfServiceType |
getServiceListfromPolicyDB(WebServiceContext ctx,
String uRL,
org.miloss.fgsms.services.interfaces.common.SecurityWrapper classification)
Returns a list of services, filtered by the current user
|
protected static String |
getSLAFaultMsg(Connection con,
String slaID) |
protected static Duration |
getUpTime(String uri) |
protected static org.miloss.fgsms.services.interfaces.dataaccessservice.GetPerformanceAverageStatsResponseMsg getPerformanceAvgStatsFromDB(WebServiceContext ctx, String uri, String displayname, org.miloss.fgsms.services.interfaces.common.SecurityWrapper classification)
protected static org.miloss.fgsms.services.interfaces.dataaccessservice.ArrayOfServiceType getServiceListfromPolicyDB(WebServiceContext ctx, org.miloss.fgsms.services.interfaces.common.SecurityWrapper classification) throws org.miloss.fgsms.services.interfaces.dataaccessservice.ServiceUnavailableException
classification
- org.miloss.fgsms.services.interfaces.dataaccessservice.ServiceUnavailableException
protected static org.miloss.fgsms.services.interfaces.dataaccessservice.ArrayOfServiceType getServiceListfromPolicyDB(WebServiceContext ctx, org.miloss.fgsms.services.interfaces.common.SecurityWrapper classification, org.miloss.fgsms.services.interfaces.common.PolicyType p) throws org.miloss.fgsms.services.interfaces.dataaccessservice.ServiceUnavailableException
classification
- p
- org.miloss.fgsms.services.interfaces.dataaccessservice.ServiceUnavailableException
protected static void addServiceActionsFromDB(List<String> actions, String uRL)
actions
- - outuRL
- protected static org.miloss.fgsms.services.interfaces.dataaccessservice.ArrayOfServiceType getServiceListfromPolicyDB(WebServiceContext ctx, org.miloss.fgsms.services.interfaces.common.SecurityWrapper classification, org.miloss.fgsms.services.interfaces.common.PolicyType p, String hostname) throws org.miloss.fgsms.services.interfaces.dataaccessservice.ServiceUnavailableException
classification
- p
- org.miloss.fgsms.services.interfaces.dataaccessservice.ServiceUnavailableException
protected static org.miloss.fgsms.services.interfaces.dataaccessservice.ArrayOfServiceType getServiceListfromPolicyDB(WebServiceContext ctx, String uRL, org.miloss.fgsms.services.interfaces.common.SecurityWrapper classification) throws org.miloss.fgsms.services.interfaces.dataaccessservice.ServiceUnavailableException
uRL
- classification
- org.miloss.fgsms.services.interfaces.dataaccessservice.ServiceUnavailableException
protected static String getSLAFaultMsg(Connection con, String slaID)
Copyright © 2008–2017 MIL-OSS. All rights reserved.