controller

package
v0.0.0-...-cc99bfc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2020 License: GPL-3.0, GPL-3.0-or-later Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSearchHostFilters

GetSearchHostFilters return the host search filters in the request

func SetupRoutesForAPIController

func SetupRoutesForAPIController(router *mux.Router, ctrl APIControllerInterface, auth auth.AuthenticationProvider)

SetupRoutesForAPIController setup the routes of the router using the handler in the controller as http handler

Types

type APIController

type APIController struct {
	// Config contains the dataservice global configuration
	Config config.Configuration
	// Service contains the underlying service used to perform various logical and store operations
	Service service.APIServiceInterface
	// TimeNow contains a function that return the current time
	TimeNow func() time.Time
	// Log contains logger formatted
	Log *logrus.Logger
	// Authenticator contains the authenticator
	Authenticator auth.AuthenticationProvider
}

APIController is the struct used to handle the requests from agents and contains the concrete implementation of APIControllerInterface

func (*APIController) AckAlerts

func (ctrl *APIController) AckAlerts(w http.ResponseWriter, r *http.Request)

AckAlerts ack the specified alert in the request

func (*APIController) AddAssociatedPartToOracleDbAgreement

func (ctrl *APIController) AddAssociatedPartToOracleDbAgreement(w http.ResponseWriter, r *http.Request)

AddAssociatedPartToOracleDbAgreement add associated part to an existing agreement else it will create it

func (*APIController) AddHostToAssociatedPart

func (ctrl *APIController) AddHostToAssociatedPart(w http.ResponseWriter, r *http.Request)

AddHostToAssociatedPart add an host from AssociatedPart

func (*APIController) AddTagToOracleDatabase

func (ctrl *APIController) AddTagToOracleDatabase(w http.ResponseWriter, r *http.Request)

AddTagToOracleDatabase add a tag to the database if it hasn't the tag

func (*APIController) ArchiveHost

func (ctrl *APIController) ArchiveHost(w http.ResponseWriter, r *http.Request)

ArchiveHost archive the specified host in the request

func (*APIController) DeleteAssociatedPartFromOracleDatabaseAgreement

func (ctrl *APIController) DeleteAssociatedPartFromOracleDatabaseAgreement(w http.ResponseWriter, r *http.Request)

DeleteAssociatedPartFromOracleDatabaseAgreement delete AssociatedPart from an OracleDatabaseAgreement

func (*APIController) DeleteOracleDatabaseLicenseModifier

func (ctrl *APIController) DeleteOracleDatabaseLicenseModifier(w http.ResponseWriter, r *http.Request)

DeleteOracleDatabaseLicenseModifier delete the license modifier of specified license/db/host in the request

func (*APIController) DeletePatchingFunction

func (ctrl *APIController) DeletePatchingFunction(w http.ResponseWriter, r *http.Request)

DeletePatchingFunction delete the patching function of a host specified in the hostname path variable

func (*APIController) DeleteTagOfOracleDatabase

func (ctrl *APIController) DeleteTagOfOracleDatabase(w http.ResponseWriter, r *http.Request)

DeleteTagOfOracleDatabase remove a certain tag from a database if it has the tag

func (*APIController) GetAverageOracleExadataStorageUsageStats

func (ctrl *APIController) GetAverageOracleExadataStorageUsageStats(w http.ResponseWriter, r *http.Request)

GetAverageOracleExadataStorageUsageStats return the average usage of cell disks of exadata using the filters in the request

func (*APIController) GetCluster

func (ctrl *APIController) GetCluster(w http.ResponseWriter, r *http.Request)

GetCluster get cluster data using the filters in the request

func (*APIController) GetDefaultDatabaseTags

func (ctrl *APIController) GetDefaultDatabaseTags(w http.ResponseWriter, r *http.Request)

GetDefaultDatabaseTags return the default list of database tags from configuration

func (*APIController) GetEnvironmentStats

func (ctrl *APIController) GetEnvironmentStats(w http.ResponseWriter, r *http.Request)

GetEnvironmentStats return all statistics about the environments of the hosts using the filters in the request

func (*APIController) GetErcoleFeatures

func (ctrl *APIController) GetErcoleFeatures(w http.ResponseWriter, r *http.Request)

GetErcoleFeatures return a map of active/inactive features

func (*APIController) GetHost

func (ctrl *APIController) GetHost(w http.ResponseWriter, r *http.Request)

GetHost return all'informations about the host requested in the id path variable

func (*APIController) GetHostJSON

func (ctrl *APIController) GetHostJSON(w http.ResponseWriter, r *http.Request)

GetHostJSON return all'informations about the host requested in the id path variable

func (*APIController) GetHostMongoJSON

func (ctrl *APIController) GetHostMongoJSON(w http.ResponseWriter, r *http.Request)

GetHostMongoJSON return all'informations about the host requested in the id path variable

func (*APIController) GetHostsCountStats

func (ctrl *APIController) GetHostsCountStats(w http.ResponseWriter, r *http.Request)

GetHostsCountStats return the number of the hosts using the filters in the request

func (*APIController) GetInfoForFrontendDashboard

func (ctrl *APIController) GetInfoForFrontendDashboard(w http.ResponseWriter, r *http.Request)

GetInfoForFrontendDashboard return all informations needed for the frontend dashboard page

func (*APIController) GetOperatingSystemStats

func (ctrl *APIController) GetOperatingSystemStats(w http.ResponseWriter, r *http.Request)

GetOperatingSystemStats return all statistics about the operating systems of the hosts using the filters in the request

func (*APIController) GetOracleDatabaseAgreementPartsList

func (ctrl *APIController) GetOracleDatabaseAgreementPartsList(w http.ResponseWriter, r *http.Request)

GetOracleDatabaseAgreementPartsList return the list of Oracle/Database agreement parts

func (*APIController) GetOracleDatabaseArchivelogStatusStats

func (ctrl *APIController) GetOracleDatabaseArchivelogStatusStats(w http.ResponseWriter, r *http.Request)

GetOracleDatabaseArchivelogStatusStats return all statistics about the archivelog status of the databases using the filters in the request

func (*APIController) GetOracleDatabaseDataguardStatusStats

func (ctrl *APIController) GetOracleDatabaseDataguardStatusStats(w http.ResponseWriter, r *http.Request)

GetOracleDatabaseDataguardStatusStats return all statistics about the dataguard status of the databases using the filters in the request

func (*APIController) GetOracleDatabaseEnvironmentStats

func (ctrl *APIController) GetOracleDatabaseEnvironmentStats(w http.ResponseWriter, r *http.Request)

GetOracleDatabaseEnvironmentStats return all statistics about the environments of the databases using the filters in the request

func (*APIController) GetOracleDatabaseHighReliabilityStats

func (ctrl *APIController) GetOracleDatabaseHighReliabilityStats(w http.ResponseWriter, r *http.Request)

GetOracleDatabaseHighReliabilityStats return all statistics about the high-reliability status of the databases using the filters in the request

func (*APIController) GetOracleDatabaseLicensesCompliance

func (ctrl *APIController) GetOracleDatabaseLicensesCompliance(w http.ResponseWriter, r *http.Request)

GetOracleDatabaseLicensesCompliance return list of licenses with usage and compliance

func (*APIController) GetOracleDatabasePatchStatusStats

func (ctrl *APIController) GetOracleDatabasePatchStatusStats(w http.ResponseWriter, r *http.Request)

GetOracleDatabasePatchStatusStats return all statistics about the patch status of the databases using the filters in the request

func (*APIController) GetOracleDatabaseRACStatusStats

func (ctrl *APIController) GetOracleDatabaseRACStatusStats(w http.ResponseWriter, r *http.Request)

GetOracleDatabaseRACStatusStats return all statistics about the RAC status of the databases using the filters in the request

func (*APIController) GetOracleDatabaseVersionStats

func (ctrl *APIController) GetOracleDatabaseVersionStats(w http.ResponseWriter, r *http.Request)

GetOracleDatabaseVersionStats return all statistics about the versions of the databases using the filters in the request

func (*APIController) GetOracleExadataPatchStatusStats

func (ctrl *APIController) GetOracleExadataPatchStatusStats(w http.ResponseWriter, r *http.Request)

GetOracleExadataPatchStatusStats return all statistics about the patch status of the exadata using the filters in the request

func (*APIController) GetOracleExadataStorageErrorCountStatusStats

func (ctrl *APIController) GetOracleExadataStorageErrorCountStatusStats(w http.ResponseWriter, r *http.Request)

GetOracleExadataStorageErrorCountStatusStats return all statistics about the ErrorCount status of the storage of the exadata using the filters in the request

func (*APIController) GetPatchingFunction

func (ctrl *APIController) GetPatchingFunction(w http.ResponseWriter, r *http.Request)

GetPatchingFunction return all'informations about the patching function of the host requested in the hostname path variable

func (*APIController) GetTechnologyList

func (ctrl *APIController) GetTechnologyList(w http.ResponseWriter, r *http.Request)

GetTechnologyList return the list of techonlogies

func (*APIController) GetTopReclaimableOracleDatabaseStats

func (ctrl *APIController) GetTopReclaimableOracleDatabaseStats(w http.ResponseWriter, r *http.Request)

GetTopReclaimableOracleDatabaseStats return top databases by reclaimable segment advisors using the filters in the request

func (*APIController) GetTopUnusedOracleDatabaseInstanceResourceStats

func (ctrl *APIController) GetTopUnusedOracleDatabaseInstanceResourceStats(w http.ResponseWriter, r *http.Request)

GetTopUnusedOracleDatabaseInstanceResourceStats return top unused instance resource by databases work using the filters in the request

func (*APIController) GetTopWorkloadOracleDatabaseStats

func (ctrl *APIController) GetTopWorkloadOracleDatabaseStats(w http.ResponseWriter, r *http.Request)

GetTopWorkloadOracleDatabaseStats return top databases by workload advisors using the filters in the request

func (*APIController) GetTotalOracleDatabaseDatafileSizeStats

func (ctrl *APIController) GetTotalOracleDatabaseDatafileSizeStats(w http.ResponseWriter, r *http.Request)

GetTotalOracleDatabaseDatafileSizeStats return the total size of datafiles of databases using the filters in the request

func (*APIController) GetTotalOracleDatabaseMemorySizeStats

func (ctrl *APIController) GetTotalOracleDatabaseMemorySizeStats(w http.ResponseWriter, r *http.Request)

GetTotalOracleDatabaseMemorySizeStats return the total size of memory of databases using the filters in the request

func (*APIController) GetTotalOracleDatabaseSegmentSizeStats

func (ctrl *APIController) GetTotalOracleDatabaseSegmentSizeStats(w http.ResponseWriter, r *http.Request)

GetTotalOracleDatabaseSegmentSizeStats return the total size of segments of databases using the filters in the request

func (*APIController) GetTotalOracleDatabaseWorkStats

func (ctrl *APIController) GetTotalOracleDatabaseWorkStats(w http.ResponseWriter, r *http.Request)

GetTotalOracleDatabaseWorkStats return the total work of databases using the filters in the request

func (*APIController) GetTotalOracleExadataCPUStats

func (ctrl *APIController) GetTotalOracleExadataCPUStats(w http.ResponseWriter, r *http.Request)

GetTotalOracleExadataCPUStats return the total cpu of exadata using the filters in the request

func (*APIController) GetTotalOracleExadataMemorySizeStats

func (ctrl *APIController) GetTotalOracleExadataMemorySizeStats(w http.ResponseWriter, r *http.Request)

GetTotalOracleExadataMemorySizeStats return the total size of memory of exadata using the filters in the request

func (*APIController) GetTypeStats

func (ctrl *APIController) GetTypeStats(w http.ResponseWriter, r *http.Request)

GetTypeStats return all statistics about the types of the hosts using the filters in the request

func (*APIController) ListEnvironments

func (ctrl *APIController) ListEnvironments(w http.ResponseWriter, r *http.Request)

ListEnvironments list the environments using the filters in the request

func (*APIController) ListLocations

func (ctrl *APIController) ListLocations(w http.ResponseWriter, r *http.Request)

ListLocations list locations using the filters in the request

func (*APIController) ListTechnologies

func (ctrl *APIController) ListTechnologies(w http.ResponseWriter, r *http.Request)

ListTechnologies returns the list of Technologies with some stats using the filters in the request

func (*APIController) RemoveHostFromAssociatedPart

func (ctrl *APIController) RemoveHostFromAssociatedPart(w http.ResponseWriter, r *http.Request)

RemoveHostFromAssociatedPart remove an host from AssociatedPart

func (*APIController) SearchAlerts

func (ctrl *APIController) SearchAlerts(w http.ResponseWriter, r *http.Request)

SearchAlerts search alerts using the filters in the request

func (*APIController) SearchAssociatedPartsInOracleDatabaseAgreements

func (ctrl *APIController) SearchAssociatedPartsInOracleDatabaseAgreements(w http.ResponseWriter, r *http.Request)

SearchAssociatedPartsInOracleDatabaseAgreements search Oracle/Database agreements

func (*APIController) SearchClusters

func (ctrl *APIController) SearchClusters(w http.ResponseWriter, r *http.Request)

SearchClusters search clusters data using the filters in the request

func (*APIController) SearchClustersJSON

func (ctrl *APIController) SearchClustersJSON(w http.ResponseWriter, r *http.Request)

SearchClustersJSON search clusters data using the filters in the request returning it in JSON format

func (*APIController) SearchClustersXLSX

func (ctrl *APIController) SearchClustersXLSX(w http.ResponseWriter, r *http.Request)

SearchClustersXLSX search clusters data using the filters in the request returning it in XLSX format

func (*APIController) SearchHosts

func (ctrl *APIController) SearchHosts(w http.ResponseWriter, r *http.Request)

SearchHosts search hosts data using the filters in the request

func (*APIController) SearchHostsJSON

func (ctrl *APIController) SearchHostsJSON(w http.ResponseWriter, r *http.Request)

SearchHostsJSON search hosts data using the filters in the request returning it in JSON

func (*APIController) SearchHostsLMS

func (ctrl *APIController) SearchHostsLMS(w http.ResponseWriter, r *http.Request)

SearchHostsLMS search hosts data using the filters in the request returning it in LMS+XLSX

func (*APIController) SearchHostsXLSX

func (ctrl *APIController) SearchHostsXLSX(w http.ResponseWriter, r *http.Request)

SearchHostsXLSX search hosts data using the filters in the request returning it in XLSX

func (*APIController) SearchOracleDatabaseAddms

func (ctrl *APIController) SearchOracleDatabaseAddms(w http.ResponseWriter, r *http.Request)

SearchOracleDatabaseAddms search addms data using the filters in the request

func (*APIController) SearchOracleDatabaseAddmsJSON

func (ctrl *APIController) SearchOracleDatabaseAddmsJSON(w http.ResponseWriter, r *http.Request)

SearchOracleDatabaseAddmsJSON search addms data using the filters in the request returning it in JSON format

func (*APIController) SearchOracleDatabaseAddmsXLSX

func (ctrl *APIController) SearchOracleDatabaseAddmsXLSX(w http.ResponseWriter, r *http.Request)

SearchOracleDatabaseAddmsXLSX search addms data using the filters in the request returning it in XLSX format

func (*APIController) SearchOracleDatabaseLicenseModifiers

func (ctrl *APIController) SearchOracleDatabaseLicenseModifiers(w http.ResponseWriter, r *http.Request)

SearchOracleDatabaseLicenseModifiers search a license modifier using the filters in the request

func (*APIController) SearchOracleDatabasePatchAdvisors

func (ctrl *APIController) SearchOracleDatabasePatchAdvisors(w http.ResponseWriter, r *http.Request)

SearchOracleDatabasePatchAdvisors search patch advisors data using the filters in the request

func (*APIController) SearchOracleDatabasePatchAdvisorsJSON

func (ctrl *APIController) SearchOracleDatabasePatchAdvisorsJSON(w http.ResponseWriter, r *http.Request)

SearchOracleDatabasePatchAdvisorsJSON search patch advisors data using the filters in the request returning it in JSON format

func (*APIController) SearchOracleDatabasePatchAdvisorsXLSX

func (ctrl *APIController) SearchOracleDatabasePatchAdvisorsXLSX(w http.ResponseWriter, r *http.Request)

SearchOracleDatabasePatchAdvisorsXLSX search patch advisors data using the filters in the request returning it in XLSX format

func (*APIController) SearchOracleDatabaseSegmentAdvisors

func (ctrl *APIController) SearchOracleDatabaseSegmentAdvisors(w http.ResponseWriter, r *http.Request)

SearchOracleDatabaseSegmentAdvisors search segment advisors data using the filters in the request

func (*APIController) SearchOracleDatabaseSegmentAdvisorsJSON

func (ctrl *APIController) SearchOracleDatabaseSegmentAdvisorsJSON(w http.ResponseWriter, r *http.Request)

SearchOracleDatabaseSegmentAdvisorsJSON search segment advisors data using the filters in the request returning it in JSON format

func (*APIController) SearchOracleDatabaseSegmentAdvisorsXLSX

func (ctrl *APIController) SearchOracleDatabaseSegmentAdvisorsXLSX(w http.ResponseWriter, r *http.Request)

SearchOracleDatabaseSegmentAdvisorsXLSX search segment advisors data using the filters in the request returning it in XLSX format

func (*APIController) SearchOracleDatabaseUsedLicenses

func (ctrl *APIController) SearchOracleDatabaseUsedLicenses(w http.ResponseWriter, r *http.Request)

SearchOracleDatabaseUsedLicenses search licenses consumed by the hosts using the filters in the request

func (*APIController) SearchOracleDatabases

func (ctrl *APIController) SearchOracleDatabases(w http.ResponseWriter, r *http.Request)

SearchOracleDatabases search databases data using the filters in the request

func (*APIController) SearchOracleDatabasesJSON

func (ctrl *APIController) SearchOracleDatabasesJSON(w http.ResponseWriter, r *http.Request)

SearchOracleDatabasesJSON search databases data using the filters in the request returning it in JSON

func (*APIController) SearchOracleDatabasesXLSX

func (ctrl *APIController) SearchOracleDatabasesXLSX(w http.ResponseWriter, r *http.Request)

SearchOracleDatabasesXLSX search databases data using the filters in the request returning it in XLSX

func (*APIController) SearchOracleExadata

func (ctrl *APIController) SearchOracleExadata(w http.ResponseWriter, r *http.Request)

SearchOracleExadata search exadata data using the filters in the request

func (*APIController) SetOracleDatabaseLicenseModifier

func (ctrl *APIController) SetOracleDatabaseLicenseModifier(w http.ResponseWriter, r *http.Request)

SetOracleDatabaseLicenseModifier set the license modifier of specified license/db/host in the request to the value in the body

func (*APIController) SetPatchingFunction

func (ctrl *APIController) SetPatchingFunction(w http.ResponseWriter, r *http.Request)

SetPatchingFunction set the patching function of a host specified in the hostname path variable to the content of the request body

func (*APIController) UpdateAssociatedPartOfOracleDbAgreement

func (ctrl *APIController) UpdateAssociatedPartOfOracleDbAgreement(w http.ResponseWriter, r *http.Request)

UpdateAssociatedPartOfOracleDbAgreement edit an agreement

type APIControllerInterface

type APIControllerInterface interface {
	// SearchHosts search hosts data using the filters in the request
	SearchHosts(w http.ResponseWriter, r *http.Request)
	// ListTechnologies returns the list of Technologies with some stats using the filters in the request
	ListTechnologies(w http.ResponseWriter, r *http.Request)
	// SearchOracleDatabases search databases data using the filters in the request
	SearchOracleDatabases(w http.ResponseWriter, r *http.Request)
	// SearchClusters search clusters data using the filters in the request
	SearchClusters(w http.ResponseWriter, r *http.Request)
	// GetCluster get cluster data using the filters in the request
	GetCluster(w http.ResponseWriter, r *http.Request)
	// SearchOracleDatabaseAddms search addms data using the filters in the request
	SearchOracleDatabaseAddms(w http.ResponseWriter, r *http.Request)
	// SearchOracleDatabaseSegmentAdvisors search segment advisors data using the filters in the request
	SearchOracleDatabaseSegmentAdvisors(w http.ResponseWriter, r *http.Request)
	// SearchOracleDatabasePatchAdvisors search patch advisors data using the filters in the request
	SearchOracleDatabasePatchAdvisors(w http.ResponseWriter, r *http.Request)
	// GetHost return all informations about the host requested in the id path variable
	GetHost(w http.ResponseWriter, r *http.Request)
	// SearchAlerts search alerts using the filters in the request
	SearchAlerts(w http.ResponseWriter, r *http.Request)
	// SearchOracleExadata search exadata data using the filters in the request
	SearchOracleExadata(w http.ResponseWriter, r *http.Request)
	// SearchOracleDatabaseUsedLicenses search licenses consumed by the hosts using the filters in the request
	SearchOracleDatabaseUsedLicenses(w http.ResponseWriter, r *http.Request)
	// SearchOracleDatabaseLicenseModifiers search a license modifier using the filters in the request
	SearchOracleDatabaseLicenseModifiers(w http.ResponseWriter, r *http.Request)
	// SearchOracleDatabaseAgreements search OracleDatabase agreements data using the filters in the request
	SearchAssociatedPartsInOracleDatabaseAgreements(w http.ResponseWriter, r *http.Request)

	// GetPatchingFunction return all'informations about the patching function of the host requested in the hostnmae path variable
	GetPatchingFunction(w http.ResponseWriter, r *http.Request)
	// ListLocations list locations using the filters in the request
	ListLocations(w http.ResponseWriter, r *http.Request)
	// ListEnvironments list environments using the filters in the request
	ListEnvironments(w http.ResponseWriter, r *http.Request)
	// GetHostsCountStats return the number of the hosts using the filters in the request
	GetHostsCountStats(w http.ResponseWriter, r *http.Request)
	// GetEnvironmentStats return all statistics about the environments of the hosts using the filters in the request
	GetEnvironmentStats(w http.ResponseWriter, r *http.Request)
	// GetTypeStats return all statistics about the types of the hosts using the filters in the request
	GetTypeStats(w http.ResponseWriter, r *http.Request)
	// GetOperatingSystemStats return all statistics about the operating systems of the hosts using the filters in the request
	GetOperatingSystemStats(w http.ResponseWriter, r *http.Request)
	// GetTopOracleDatabaseUnusedInstanceResourceStats return top unused instance resource by databases work using the filters in the request
	GetTopUnusedOracleDatabaseInstanceResourceStats(w http.ResponseWriter, r *http.Request)
	// GetOracleDatabaseEnvironmentStats return all statistics about the environments of the databases using the filters in the request
	GetOracleDatabaseEnvironmentStats(w http.ResponseWriter, r *http.Request)
	// GetDatabaseHighReliabilityStats return all statistics about the high-reliability status of the databases using the filters in the request
	GetOracleDatabaseHighReliabilityStats(w http.ResponseWriter, r *http.Request)
	// GetOracleDatabaseVersionStats return all statistics about the versions of the databases using the filters in the request
	GetOracleDatabaseVersionStats(w http.ResponseWriter, r *http.Request)
	// GetTopReclaimableOracleDatabaseStats return top databases by reclaimable segment advisors using the filters in the request
	GetTopReclaimableOracleDatabaseStats(w http.ResponseWriter, r *http.Request)
	// GetOracleDatabasePatchStatusStats return all statistics about the patch status of the databases using the filters in the request
	GetOracleDatabasePatchStatusStats(w http.ResponseWriter, r *http.Request)
	// GetTopWorkloadOracleDatabaseStats return top databases by workload advisors using the filters in the request
	GetTopWorkloadOracleDatabaseStats(w http.ResponseWriter, r *http.Request)
	// GetOracleDatabaseDataguardStatusStats return all statistics about the dataguard status of the databases using the filters in the request
	GetOracleDatabaseDataguardStatusStats(w http.ResponseWriter, r *http.Request)
	// GetOracleDatabaseRACStatusStats return all statistics about the RAC status of the databases using the filters in the request
	GetOracleDatabaseRACStatusStats(w http.ResponseWriter, r *http.Request)
	// GetDatabasArchivelogStatusStats return all statistics about the archivelog status of the databases using the filters in the request
	GetOracleDatabaseArchivelogStatusStats(w http.ResponseWriter, r *http.Request)
	// GetTotalOracleDatabaseWorkStats return the total work of databases using the filters in the request
	GetTotalOracleDatabaseWorkStats(w http.ResponseWriter, r *http.Request)
	// GetTotalOracleDatabaseMemorySizeStats return the total size of memory of databases using the filters in the request
	GetTotalOracleDatabaseMemorySizeStats(w http.ResponseWriter, r *http.Request)
	// GetTotalOracleDatabaseDatafileSizeStats return the total size of datafiles of databases using the filters in the request
	GetTotalOracleDatabaseDatafileSizeStats(w http.ResponseWriter, r *http.Request)
	// GetTotalOracleDatabaseSegmentSizeStats return the total size of segments of databases using the filters in the request
	GetTotalOracleDatabaseSegmentSizeStats(w http.ResponseWriter, r *http.Request)
	// GetTotalOracleExadataMemorySizeStats return the total size of memory of exadata using the filters in the request
	GetTotalOracleExadataMemorySizeStats(w http.ResponseWriter, r *http.Request)
	// GetTotalOracleExadataCPUStats return the total cpu of exadata using the filters in the request
	GetTotalOracleExadataCPUStats(w http.ResponseWriter, r *http.Request)
	// GetAverageOracleExadataStorageUsageStats return the average usage of cell disks of exadata using the filters in the request
	GetAverageOracleExadataStorageUsageStats(w http.ResponseWriter, r *http.Request)
	// GetOracleExadataStorageErrorCountStatusStats return all statistics about the ErrorCount status of the storage of the exadata using the filters in the request
	GetOracleExadataStorageErrorCountStatusStats(w http.ResponseWriter, r *http.Request)
	// GetOracleExadataPatchStatusStats return all statistics about the patch status of the exadata using the filters in the request
	GetOracleExadataPatchStatusStats(w http.ResponseWriter, r *http.Request)
	// GetOracleDatabaseLicensesCompliance return licenses usage status and compliance
	GetOracleDatabaseLicensesCompliance(w http.ResponseWriter, r *http.Request)

	// GetDefaultDatabaseTags return the default list of database tags from configuration
	GetDefaultDatabaseTags(w http.ResponseWriter, r *http.Request)
	// GetErcoleFeatures return a map of active/inactive features
	GetErcoleFeatures(w http.ResponseWriter, r *http.Request)
	// GetTechnologyList return the list of techonlogies
	GetTechnologyList(w http.ResponseWriter, r *http.Request)
	// GetOracleDatabaseAgreementPartsList return the list of Oracle/Database agreement parts
	GetOracleDatabaseAgreementPartsList(w http.ResponseWriter, r *http.Request)

	// Add associated part to an existing/new agreement
	AddAssociatedPartToOracleDbAgreement(w http.ResponseWriter, r *http.Request)
	// Edit an agreement
	UpdateAssociatedPartOfOracleDbAgreement(w http.ResponseWriter, r *http.Request)
	// delete AssociatedPart from an OracleDatabaseAgreement
	DeleteAssociatedPartFromOracleDatabaseAgreement(w http.ResponseWriter, r *http.Request)
	// Add an host from AssociatedPart
	AddHostToAssociatedPart(w http.ResponseWriter, r *http.Request)
	// Remove an host from AssociatedPart
	RemoveHostFromAssociatedPart(w http.ResponseWriter, r *http.Request)

	// SetPatchingFunction set the patching function of a host specified in the hostname path variable to the content of the request body
	SetPatchingFunction(w http.ResponseWriter, r *http.Request)
	// DeletePatchingFunction remove the patching function of a host specified in the hostname path variable
	DeletePatchingFunction(w http.ResponseWriter, r *http.Request)
	// AddTagToOracleDatabase add a tag to the database if it hasn't the tag
	AddTagToOracleDatabase(w http.ResponseWriter, r *http.Request)
	// DeleteTagOfOracleDatabase remove a certain tag from a database if it has the tag
	DeleteTagOfOracleDatabase(w http.ResponseWriter, r *http.Request)
	// SetOracleDatabaseLicenseModifier set the license modifier of specified license/db/host in the request to the value in the body
	SetOracleDatabaseLicenseModifier(w http.ResponseWriter, r *http.Request)
	// DeleteOracleDatabaseLicenseModifier delete the license modifier of specified license/db/host in the request
	DeleteOracleDatabaseLicenseModifier(w http.ResponseWriter, r *http.Request)
	// AckAlerts ack the specified alert in the request
	AckAlerts(w http.ResponseWriter, r *http.Request)
	// ArchiveHost archive the specified host in the request
	ArchiveHost(w http.ResponseWriter, r *http.Request)

	// GetInfoForFrontendDashboard return all informations needed for the frontend dashboard page
	GetInfoForFrontendDashboard(w http.ResponseWriter, r *http.Request)
}

APIControllerInterface is a interface that wrap methods used to querying data

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL