func AddActiveAliasRequest(id int64, clientID int64, name string, validThrough time.Time) {
	alias, isPresent := aliasMap[id]
	if isPresent {
		alias.ClientID     = clientID
		alias.Name         = name
		alias.ValidThrough = validThrough
		aliasMap[id]        = alias
	} else {
		alias = ActiveAliasRequest{
			id,
			clientID,
			name,
			validThrough,
		}
		aliasMap[id] = alias
	}
}
/*
Add active Alias
package data_models
import (
	"time"
	"github.com/nttdots/go-dots/dots_server/models"
	"github.com/nttdots/go-dots/dots_server/db"
	log "github.com/sirupsen/logrus"
)
 type ActiveACLRequest struct {
	ID           int64
	ClientID     int64
	Name         string
	ValidThrough time.Time
}
 type ActiveAliasRequest struct {
	ID           int64
	ClientID     int64
	Name         string
	ValidThrough time.Time
}
var aclMap   map[int64]ActiveACLRequest   = make(map[int64]ActiveACLRequest)
var aliasMap map[int64]ActiveAliasRequest = make(map[int64]ActiveAliasRequest)
func GetActiveACLMap() map[int64]ActiveACLRequest{
	return aclMap
}
 func GetActiveAliasMap() map[int64]ActiveAliasRequest{
	return aliasMap
}
func AddActiveACLRequest(id int64, clientID int64, name string, validThrough time.Time) {
	acl, isPresent := aclMap[id]
	if isPresent {
		acl.ClientID     = clientID
		acl.Name         = name
		acl.ValidThrough = validThrough
		aclMap[id]        = acl
	} else {
		acl = ActiveACLRequest{
			id,
			clientID,
			name,
			validThrough,
		}
		aclMap[id] = acl
	}
}