Cyclops 4 HPC is the purpose built stack to support large HPC centers with resource accounting and billing of cluster as well as cloud resources.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cyclops-4-hpc/services/udr/run/config.toml

90 lines
3.1 KiB

# Welcome to the configuration file for this
#
# ██████╗██╗ ██╗ ██████╗██╗ ██████╗ ██████╗ ███████╗
# ██╔════╝╚██╗ ██╔╝██╔════╝██║ ██╔═══██╗██╔══██╗██╔════╝
# ██║ ╚████╔╝ ██║ ██║ ██║ ██║██████╔╝███████╗
# ██║ ╚██╔╝ ██║ ██║ ██║ ██║██╔═══╝ ╚════██║
# ╚██████╗ ██║ ╚██████╗███████╗╚██████╔╝██║ ███████║
# ╚═════╝ ╚═╝ ╚═════╝╚══════╝ ╚═════╝ ╚═╝ ╚══════╝
#
# ██╗ █████╗ ██████╗ ███████╗
# ██║ ██╔══██╗██╔══██╗██╔════╝
# ██║ ███████║██████╔╝███████╗
# ██║ ██╔══██║██╔══██╗╚════██║
# ███████╗██║ ██║██████╔╝███████║
# ╚══════╝╚═╝ ╚═╝╚═════╝ ╚══════╝
#
# uService!
[APIKEY]
Enabled = true
Key = "X-API-KEY"
Place = "header"
Token = "1234567890abcdefghi"
[DATABASE]
# Duration style: Xh, Xm, Xs...
CacheRetention = "23h"
DBName = "cyclops"
Host = "localhost"
Password = "pass1234"
Port = 5432
# SSLMode = enable | disable
SSLMode = "disable"
UserName = "cyclops"
[EVENTS]
Filters = [ "filter1", "filter2" ]
[GENERAL]
CertificateFile = "./cert.crt"
CertificateKey = "./key.key"
CORSEnabled = false
CORSHeaders = [ "*" ]
CORSMethods = [ "GET", "POST" ]
CORSOrigins = [ "" ]
HttpsEnabled = false
InsecureSkipVerify = false
# "" for no file-logging
LogFile = ""
# LogLevel = TRACE | DEBUG | INFO | WARNING | ERROR
LogLevel = "TRACE"
LogToConsole = true
ServerPort = 8000
[GENERAL.SERVICES]
Billing = "billing:8000"
CDR = "cdr:8000"
CreditManager = "creditsystem:8000"
CustomerDB = "customerdb:8000"
EventsEngine = "eventsengine:8000"
PlanManager = "planmanager:8000"
UDR = "udr:8000"
[KAFKA]
Brokers = [ "kafka1:9092", "kafka2:9092", "kafka3:9092" ]
CDRIn = [ "CDR" ]
CDROut = [ "Credit" ]
Credit-SystemIn = [ "Credit" ]
EventsEngineIn = [ "Events" ]
# -1 for the most recent
# -2 for the first in the partition
# Anyother for a specific offset
Offset = "-1"
Partition = "0"
SizeMin = 10e3
SizeMax = 10e6
UDRIn = [ "UDR" ]
UDROut = [ "CDR" ]
[PLANS]
Default = "-1"
Education = "-2"
[PROMETHEUS]
Host = "prometheus:9090"
MetricsExport = true
MetricsPort = "9000"
MetricsRoute = "/metrics"