// ConvertDocumentRequestToString ... convert the request to string
ConvertDocumentRequestToString ... convert the request to string
// ConvertDocumentRequestToString ... convert the request to string
func ConvertDocumentRequestToString(doc models.DocumentRequest) string {
	var buffer bytes.Buffer
	buffer.WriteString(doc.AppName)
	buffer.WriteString(doc.StartTime)
	buffer.WriteString(doc.EndTime)
	buffer.WriteString(string(doc.CurrentConfig))
	buffer.WriteString(string(doc.BaselineConfig))
	buffer.WriteString(string(doc.HistoricalConfig))
	buffer.WriteString(string(doc.CurrentMetricStore))
	buffer.WriteString(string(doc.BaselineMetricStore))
	buffer.WriteString(string(doc.HistoricalMetricStore))
	buffer.WriteString(doc.Strategy)
	log.Print("create document request :", buffer.String())
	return buffer.String()
}
func ConvertDocumentRequestToString ( doc models . DocumentRequest ) string { var buffer bytes . Buffer buffer . WriteString ( doc . AppName ) buffer . WriteString ( doc . StartTime ) buffer . WriteString ( doc . EndTime ) buffer . WriteString ( string ( doc . CurrentConfig ) ) buffer . WriteString ( string ( doc . BaselineConfig ) ) buffer . WriteString ( string ( doc . HistoricalConfig ) ) buffer . WriteString ( string ( doc . CurrentMetricStore ) ) buffer . WriteString ( string ( doc . BaselineMetricStore ) ) buffer . WriteString ( string ( doc . HistoricalMetricStore ) ) buffer . WriteString ( doc . Strategy ) log . Print ( " " , buffer . String ( ) ) return buffer . String ( ) }
ConvertDocumentRequestToString ... convert the request to string
ConvertDocumentRequestToString ... convert the request to string