* feat: added cron for updating feature flags on interval * feat: added logic for updating seats in monitor * feat: updated sync handler for using prime sync endpoint * feat: added instance initialization on monitor boot * chore: added new vars for monitor * fix: license seats purchase validation flow * dev: update invite return response * remove: workspace license task to avoid creation of duplicate licenses * dev: add more seats flow. * fix: resync licenses * chore: subscription portal endpoint --------- Co-authored-by: Henit Chobisa <[email protected]> Co-authored-by: Prateek Shourya <[email protected]>
25 lines
1.2 KiB
Go
25 lines
1.2 KiB
Go
package error_msgs
|
|
|
|
// ------------------ CMD Errors ----------------------
|
|
const (
|
|
APP_VERSION_ABSENT = "expecting a version to be available in OS Env under 'APP_VERSION', none found"
|
|
INSTANCE_ID_ABSENT = "expecting an instance id to be available in OS Env under 'INSTANCE_ID', none found"
|
|
APP_DOMAIN_ABSENT = "expecting a domain to be available in OS Env under 'APP_DOMAIN', none found"
|
|
MACHINE_SIG_ABSENT = "expecting a signature to be available in OS Env under 'MACHINE_SIGNATURE', none found"
|
|
LICENSE_VERSION_ABSENT = "expecting a version to be available in OS Env under 'LICENSE_VERSION', none found"
|
|
DEPLOY_PLATFORM_ABSENT = "expecting a deploy platform to be available in OS Env under 'DEPLOY_PLATFORM', none found"
|
|
FAILED_INITIALIZATION = "failed to initialize the instance, with domain %v"
|
|
)
|
|
|
|
// ------------------ Worker Errors -------------------
|
|
const (
|
|
WORKER_PREFIX = "[WORKER] "
|
|
F_WORKER_ALREADY_RUNNING = WORKER_PREFIX + "Worker already running with scheduled %d jobs, and %d finished"
|
|
)
|
|
|
|
// ----------------- CRON Errors ----------------------
|
|
const (
|
|
CRON_PREFIX = "[SCHEDULER] "
|
|
F_ERROR_REPORTING_STATUS = CRON_PREFIX + "Recived Error while reporting health status, %v"
|
|
)
|