- It provides mappings of corteza resources(Namespaces, Modules, Records, Users) along with values to corteza discovery indexer. - It also save recordLogs for create, update, deletion of resources. - Extend settings to hold discovery enabled/disabled flag - Adds URL of compose resources for namespace and record and for module still pending, added todo with notes to code
54 lines
1.1 KiB
CUE
54 lines
1.1 KiB
CUE
package app
|
|
|
|
import (
|
|
"github.com/cortezaproject/corteza-server/codegen/schema"
|
|
"github.com/cortezaproject/corteza-server/app/options"
|
|
"github.com/cortezaproject/corteza-server/system"
|
|
"github.com/cortezaproject/corteza-server/compose"
|
|
"github.com/cortezaproject/corteza-server/automation"
|
|
"github.com/cortezaproject/corteza-server/federation"
|
|
)
|
|
|
|
corteza: schema.#platform & {
|
|
handle: "corteza"
|
|
|
|
"options": [
|
|
options.DB,
|
|
options.HTTPClient,
|
|
options.HTTPServer,
|
|
options.RBAC,
|
|
options.SCIM,
|
|
options.SMTP,
|
|
options.actionLog,
|
|
options.apigw,
|
|
options.auth,
|
|
options.corredor,
|
|
options.environment,
|
|
options.eventbus,
|
|
options.federation,
|
|
options.limit,
|
|
options.locale,
|
|
options.log,
|
|
options.messagebus,
|
|
options.monitor,
|
|
options.objectStore,
|
|
options.plugins,
|
|
options.provision,
|
|
options.seeder,
|
|
options.sentry,
|
|
options.template,
|
|
options.upgrade,
|
|
options.waitFor,
|
|
options.websocket,
|
|
options.workflow,
|
|
options.discovery,
|
|
]
|
|
|
|
components: [
|
|
system.component,
|
|
compose.component,
|
|
automation.component,
|
|
federation.component,
|
|
]
|
|
}
|