@Component(value="foreignSourceConfigRestService") @Path(value="foreignSourcesConfig") public class ForeignSourceConfigRestService extends OnmsRestService implements org.springframework.beans.factory.InitializingBean
| Modifier and Type | Class and Description |
|---|---|
static class |
ForeignSourceConfigRestService.ElementList
The Class ElementList.
|
static class |
ForeignSourceConfigRestService.ParameterComparator
The Class ParameterComparator.
|
static class |
ForeignSourceConfigRestService.SimplePluginConfig
The Class SimplePluginConfig.
|
static class |
ForeignSourceConfigRestService.SimplePluginConfigList
The Class SimplePluginConfigList.
|
static class |
ForeignSourceConfigRestService.SimplePluginParameter
The Class SimplePluginParameter.
|
OnmsRestService.ComparisonOperation| Modifier and Type | Field and Description |
|---|---|
protected ForeignSourceService |
m_foreignSourceService
The m_foreign source service.
|
protected ManualProvisioningService |
m_provisioningService
The m_provisioning service.
|
DEFAULT_LIMIT| Constructor and Description |
|---|
ForeignSourceConfigRestService() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
ForeignSourceConfigRestService.ElementList |
getAssets()
Gets the assets.
|
ForeignSourceConfigRestService.SimplePluginConfigList |
getAvailableDetectors()
Gets the available detectors.
|
ForeignSourceConfigRestService.SimplePluginConfigList |
getAvailablePolicies()
Gets the available policies.
|
ForeignSourceConfigRestService.ElementList |
getCategories()
Gets the categories.
|
protected ForeignSourceConfigRestService.SimplePluginConfigList |
getPlugins(boolean isPolicies)
Gets the Plugins.
|
ForeignSourceConfigRestService.ElementList |
getServices(String groupName)
Gets the services.
|
applyQueryFilters, applyQueryFilters, getBadRequestResponse, getBeanWrapperForClass, getException, getException, getNumericValue, getRedirectUri, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlock@Autowired protected ForeignSourceService m_foreignSourceService
@Autowired protected ManualProvisioningService m_provisioningService
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException@GET
@Path(value="policies")
@Produces(value={"application/xml","application/json","application/atom+xml"})
public ForeignSourceConfigRestService.SimplePluginConfigList getAvailablePolicies()
@GET
@Path(value="detectors")
@Produces(value={"application/xml","application/json","application/atom+xml"})
public ForeignSourceConfigRestService.SimplePluginConfigList getAvailableDetectors()
@GET
@Path(value="services/{groupName}")
@Produces(value={"application/xml","application/json","application/atom+xml"})
public ForeignSourceConfigRestService.ElementList getServices(@PathParam(value="groupName")
String groupName)
groupName - the group name@GET
@Path(value="assets")
@Produces(value={"application/xml","application/json","application/atom+xml"})
public ForeignSourceConfigRestService.ElementList getAssets()
@GET
@Path(value="categories")
@Produces(value={"application/xml","application/json","application/atom+xml"})
public ForeignSourceConfigRestService.ElementList getCategories()
protected ForeignSourceConfigRestService.SimplePluginConfigList getPlugins(boolean isPolicies)
isPolicies - the is policiesCopyright © 2015. All rights reserved.