Fix import paths in templates & generated go files
This commit is contained in:
+6
-6
@@ -1,12 +1,12 @@
|
||||
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"
|
||||
"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 & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
RBAC: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
SCIM: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
SMTP: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
actionLog: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
apigw: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
auth: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
corredor: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
DB: schema.#optionsGroup & {
|
||||
handle: "db"
|
||||
expIdent: "DB"
|
||||
handle: "DB"
|
||||
options: {
|
||||
DSN: {
|
||||
defaultValue: "sqlite3://file::memory:?cache=shared&mode=memory"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
discovery: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
environment: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
eventbus: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
federation: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
HTTPClient: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
HTTPServer: schema.#optionsGroup & {
|
||||
@@ -9,7 +9,7 @@ HTTPServer: schema.#optionsGroup & {
|
||||
title: "HTTP Server"
|
||||
|
||||
imports: [
|
||||
"\"github.com/cortezaproject/corteza-server/pkg/rand\"",
|
||||
"\"github.com/cortezaproject/corteza/server/pkg/rand\"",
|
||||
]
|
||||
|
||||
options: {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
limit: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
locale: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
log: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
messagebus: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
monitor: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
objectStore: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
provision: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
seeder: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
sentry: schema.#optionsGroup & {
|
||||
handle: "sentry"
|
||||
|
||||
imports: [
|
||||
"\"github.com/cortezaproject/corteza-server/pkg/version\"",
|
||||
"\"github.com/cortezaproject/corteza/server/pkg/version\"",
|
||||
]
|
||||
|
||||
title: "Sentry monitoring"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
template: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
upgrade: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
waitFor: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
websocket: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package options
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
workflow: schema.#optionsGroup & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package app
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
_allFeaturesDisabled: {
|
||||
@@ -15,7 +15,7 @@ resources: { [key=_]: {"handle": key, "component": "system", "platform": "cortez
|
||||
"rbac-rule": {
|
||||
package: {
|
||||
ident: "rbac"
|
||||
import: "github.com/cortezaproject/corteza-server/pkg/rbac"
|
||||
import: "github.com/cortezaproject/corteza/server/pkg/rbac"
|
||||
}
|
||||
|
||||
ident: "rule"
|
||||
@@ -72,7 +72,7 @@ resources: { [key=_]: {"handle": key, "component": "system", "platform": "cortez
|
||||
"label": {
|
||||
package: {
|
||||
ident: "labels"
|
||||
import: "github.com/cortezaproject/corteza-server/pkg/label/types"
|
||||
import: "github.com/cortezaproject/corteza/server/pkg/label/types"
|
||||
}
|
||||
|
||||
ident: "label"
|
||||
@@ -154,7 +154,7 @@ resources: { [key=_]: {"handle": key, "component": "system", "platform": "cortez
|
||||
"flag": {
|
||||
package: {
|
||||
ident: "flag"
|
||||
import: "github.com/cortezaproject/corteza-server/pkg/flag/types"
|
||||
import: "github.com/cortezaproject/corteza/server/pkg/flag/types"
|
||||
}
|
||||
|
||||
ident: "flag"
|
||||
@@ -228,7 +228,7 @@ resources: { [key=_]: {"handle": key, "component": "system", "platform": "cortez
|
||||
"actionlog": {
|
||||
package: {
|
||||
ident: "actionlog"
|
||||
import: "github.com/cortezaproject/corteza-server/pkg/actionlog"
|
||||
import: "github.com/cortezaproject/corteza/server/pkg/actionlog"
|
||||
}
|
||||
|
||||
ident: "action"
|
||||
@@ -328,7 +328,7 @@ resources: { [key=_]: {"handle": key, "component": "system", "platform": "cortez
|
||||
"resource-activity": {
|
||||
package: {
|
||||
ident: "discovery"
|
||||
import: "github.com/cortezaproject/corteza-server/pkg/discovery/types"
|
||||
import: "github.com/cortezaproject/corteza/server/pkg/discovery/types"
|
||||
}
|
||||
|
||||
ident: "resourceActivity"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: apigwBody
|
||||
|
||||
imports:
|
||||
- github.com/cortezaproject/corteza-server/pkg/http
|
||||
- github.com/cortezaproject/corteza/server/pkg/http
|
||||
|
||||
functions:
|
||||
read:
|
||||
|
||||
@@ -2,7 +2,7 @@ name: email
|
||||
|
||||
imports:
|
||||
- io
|
||||
- sysTypes github.com/cortezaproject/corteza-server/system/types
|
||||
- sysTypes github.com/cortezaproject/corteza/server/system/types
|
||||
|
||||
|
||||
messageParams: &messageParams
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package automation
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
component: schema.#component & {
|
||||
|
||||
@@ -11,9 +11,9 @@ endpoints:
|
||||
entrypoint: workflow
|
||||
authentication: []
|
||||
imports:
|
||||
- github.com/cortezaproject/corteza-server/pkg/expr
|
||||
- github.com/cortezaproject/corteza-server/automation/types
|
||||
- github.com/cortezaproject/corteza-server/pkg/label
|
||||
- github.com/cortezaproject/corteza/server/pkg/expr
|
||||
- github.com/cortezaproject/corteza/server/automation/types
|
||||
- github.com/cortezaproject/corteza/server/pkg/label
|
||||
apis:
|
||||
- name: list
|
||||
method: GET
|
||||
@@ -109,9 +109,9 @@ endpoints:
|
||||
entrypoint: trigger
|
||||
authentication: []
|
||||
imports:
|
||||
- github.com/cortezaproject/corteza-server/automation/types
|
||||
- github.com/cortezaproject/corteza-server/pkg/expr
|
||||
- github.com/cortezaproject/corteza-server/pkg/label
|
||||
- github.com/cortezaproject/corteza/server/automation/types
|
||||
- github.com/cortezaproject/corteza/server/pkg/expr
|
||||
- github.com/cortezaproject/corteza/server/pkg/label
|
||||
apis:
|
||||
- name: list
|
||||
method: GET
|
||||
@@ -184,8 +184,8 @@ endpoints:
|
||||
entrypoint: session
|
||||
authentication: []
|
||||
imports:
|
||||
- github.com/cortezaproject/corteza-server/pkg/expr
|
||||
- github.com/cortezaproject/corteza-server/automation/types
|
||||
- github.com/cortezaproject/corteza/server/pkg/expr
|
||||
- github.com/cortezaproject/corteza/server/automation/types
|
||||
apis:
|
||||
- name: list
|
||||
method: GET
|
||||
@@ -285,7 +285,7 @@ endpoints:
|
||||
- Client ID
|
||||
- Session ID
|
||||
imports:
|
||||
- github.com/cortezaproject/corteza-server/pkg/rbac
|
||||
- github.com/cortezaproject/corteza/server/pkg/rbac
|
||||
apis:
|
||||
- name: list
|
||||
path: "/"
|
||||
|
||||
@@ -10,7 +10,7 @@ defaultActionSeverity: notice
|
||||
defaultErrorSeverity: alert
|
||||
|
||||
import:
|
||||
- github.com/cortezaproject/corteza-server/pkg/rbac
|
||||
- github.com/cortezaproject/corteza/server/pkg/rbac
|
||||
|
||||
props:
|
||||
- name: rule
|
||||
|
||||
@@ -4,7 +4,7 @@ resource: automation:session
|
||||
service: session
|
||||
|
||||
import:
|
||||
- github.com/cortezaproject/corteza-server/automation/types
|
||||
- github.com/cortezaproject/corteza/server/automation/types
|
||||
|
||||
# Default sensitivity for actions
|
||||
defaultActionSeverity: info
|
||||
|
||||
@@ -4,7 +4,7 @@ resource: automation:trigger
|
||||
service: trigger
|
||||
|
||||
import:
|
||||
- github.com/cortezaproject/corteza-server/automation/types
|
||||
- github.com/cortezaproject/corteza/server/automation/types
|
||||
|
||||
# Default sensitivity for actions
|
||||
defaultActionSeverity: info
|
||||
|
||||
@@ -4,7 +4,7 @@ resource: automation:workflow
|
||||
service: workflow
|
||||
|
||||
import:
|
||||
- github.com/cortezaproject/corteza-server/automation/types
|
||||
- github.com/cortezaproject/corteza/server/automation/types
|
||||
|
||||
# Default sensitivity for actions
|
||||
defaultActionSeverity: info
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package automation
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
session: {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package automation
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
trigger: {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package automation
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
workflow: {
|
||||
|
||||
@@ -4,7 +4,7 @@ package {{ .package }}
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/cortezaproject/corteza-server/pkg/dal"
|
||||
"github.com/cortezaproject/corteza/server/pkg/dal"
|
||||
{{- range .imports }}
|
||||
{{ . }}
|
||||
{{- end }}
|
||||
|
||||
@@ -3,7 +3,7 @@ package {{ .package }}
|
||||
{{ template "gocode/header-gentext.tpl" }}
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/pkg/dal"
|
||||
"github.com/cortezaproject/corteza/server/pkg/dal"
|
||||
{{- range .imports }}
|
||||
{{ . }}
|
||||
{{- end }}
|
||||
|
||||
@@ -3,7 +3,7 @@ package {{ .package }}
|
||||
{{ template "gocode/header-gentext.tpl" }}
|
||||
|
||||
import (
|
||||
systemTypes "github.com/cortezaproject/corteza-server/system/types"
|
||||
systemTypes "github.com/cortezaproject/corteza/server/system/types"
|
||||
)
|
||||
|
||||
{{- range .resources }}
|
||||
|
||||
@@ -8,14 +8,14 @@ import (
|
||||
{{- range .imports }}
|
||||
{{ . }}
|
||||
{{- end }}
|
||||
"github.com/cortezaproject/corteza-server/pkg/actionlog"
|
||||
intAuth "github.com/cortezaproject/corteza-server/pkg/auth"
|
||||
"github.com/cortezaproject/corteza-server/pkg/errors"
|
||||
"github.com/cortezaproject/corteza-server/pkg/filter"
|
||||
"github.com/cortezaproject/corteza-server/pkg/locale"
|
||||
"github.com/cortezaproject/corteza-server/pkg/options"
|
||||
"github.com/cortezaproject/corteza-server/store"
|
||||
systemTypes "github.com/cortezaproject/corteza-server/system/types"
|
||||
"github.com/cortezaproject/corteza/server/pkg/actionlog"
|
||||
intAuth "github.com/cortezaproject/corteza/server/pkg/auth"
|
||||
"github.com/cortezaproject/corteza/server/pkg/errors"
|
||||
"github.com/cortezaproject/corteza/server/pkg/filter"
|
||||
"github.com/cortezaproject/corteza/server/pkg/locale"
|
||||
"github.com/cortezaproject/corteza/server/pkg/options"
|
||||
"github.com/cortezaproject/corteza/server/store"
|
||||
systemTypes "github.com/cortezaproject/corteza/server/system/types"
|
||||
"golang.org/x/text/language"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ package {{ .package }}
|
||||
import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
"github.com/cortezaproject/corteza-server/pkg/locale"
|
||||
"github.com/cortezaproject/corteza/server/pkg/locale"
|
||||
)
|
||||
|
||||
type (
|
||||
|
||||
@@ -7,11 +7,11 @@ import (
|
||||
"github.com/spf13/cast"
|
||||
"strings"
|
||||
"context"
|
||||
"github.com/cortezaproject/corteza-server/store"
|
||||
"github.com/cortezaproject/corteza-server/pkg/rbac"
|
||||
"github.com/cortezaproject/corteza-server/pkg/actionlog"
|
||||
systemTypes "github.com/cortezaproject/corteza-server/system/types"
|
||||
internalAuth "github.com/cortezaproject/corteza-server/pkg/auth"
|
||||
"github.com/cortezaproject/corteza/server/store"
|
||||
"github.com/cortezaproject/corteza/server/pkg/rbac"
|
||||
"github.com/cortezaproject/corteza/server/pkg/actionlog"
|
||||
systemTypes "github.com/cortezaproject/corteza/server/system/types"
|
||||
internalAuth "github.com/cortezaproject/corteza/server/pkg/auth"
|
||||
{{- range .imports }}
|
||||
{{ . }}
|
||||
{{- end }}
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
{{- range $path, $alias := .imports }}
|
||||
{{ $alias }} {{ printf "%q" $path }}
|
||||
{{- end }}
|
||||
"github.com/cortezaproject/corteza-server/pkg/dal"
|
||||
"github.com/cortezaproject/corteza-server/pkg/locale"
|
||||
"github.com/cortezaproject/corteza/server/pkg/dal"
|
||||
"github.com/cortezaproject/corteza/server/pkg/locale"
|
||||
"golang.org/x/text/language"
|
||||
)
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ package rdbms
|
||||
|
||||
import (
|
||||
"time"
|
||||
"github.com/cortezaproject/corteza-server/pkg/expr"
|
||||
"github.com/cortezaproject/corteza/server/pkg/expr"
|
||||
{{- range $path, $alias := .imports }}
|
||||
{{ $alias }} {{ printf "%q" $path }}
|
||||
{{- end }}
|
||||
|
||||
@@ -10,10 +10,10 @@ import (
|
||||
|
||||
"github.com/doug-martin/goqu/v9"
|
||||
"github.com/doug-martin/goqu/v9/exp"
|
||||
"github.com/cortezaproject/corteza-server/pkg/errors"
|
||||
"github.com/cortezaproject/corteza-server/pkg/filter"
|
||||
"github.com/cortezaproject/corteza-server/store"
|
||||
"github.com/cortezaproject/corteza-server/store"
|
||||
"github.com/cortezaproject/corteza/server/pkg/errors"
|
||||
"github.com/cortezaproject/corteza/server/pkg/filter"
|
||||
"github.com/cortezaproject/corteza/server/store"
|
||||
"github.com/cortezaproject/corteza/server/store"
|
||||
{{- range $path, $alias := .imports }}
|
||||
{{ $alias }} {{ printf "%q" $path }}
|
||||
{{- end }}
|
||||
|
||||
@@ -5,7 +5,7 @@ package tests
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/cortezaproject/corteza-server/store"
|
||||
"github.com/cortezaproject/corteza/server/store"
|
||||
)
|
||||
|
||||
func testAllGenerated(t *testing.T, s store.Storer) {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package codegen
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/app"
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/app"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
[...schema.#codegen] &
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package codegen
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza-server/app"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/app"
|
||||
)
|
||||
|
||||
#_indexPayload: {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package codegen
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/app"
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/app"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
|
||||
@@ -127,7 +127,7 @@ _dalModelFn: {
|
||||
package: "model"
|
||||
|
||||
imports: [
|
||||
"\"github.com/cortezaproject/corteza-server/\(cmp.ident)/types\"",
|
||||
"\"github.com/cortezaproject/corteza/server/\(cmp.ident)/types\"",
|
||||
]
|
||||
|
||||
// Operation/resource validators, grouped by resource
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package codegen
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/app"
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/app"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
// "strings"
|
||||
)
|
||||
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
payload: {
|
||||
package: "resource"
|
||||
imports: [
|
||||
"\"github.com/cortezaproject/corteza-server/\(cmp.ident)/types\"",
|
||||
"\"github.com/cortezaproject/corteza/server/\(cmp.ident)/types\"",
|
||||
]
|
||||
|
||||
resources: [
|
||||
@@ -37,7 +37,7 @@ import (
|
||||
package: "resource"
|
||||
imports: [
|
||||
for cmp in app.corteza.components {
|
||||
"\(cmp.ident)Types \"github.com/cortezaproject/corteza-server/\(cmp.ident)/types\""
|
||||
"\(cmp.ident)Types \"github.com/cortezaproject/corteza/server/\(cmp.ident)/types\""
|
||||
},
|
||||
]
|
||||
|
||||
@@ -88,7 +88,7 @@ import (
|
||||
package: "resource"
|
||||
imports: [
|
||||
for cmp in app.corteza.components for res in cmp.resources if res.locale != _|_ {
|
||||
"\(cmp.ident)Types \"github.com/cortezaproject/corteza-server/\(cmp.ident)/types\""
|
||||
"\(cmp.ident)Types \"github.com/cortezaproject/corteza/server/\(cmp.ident)/types\""
|
||||
},
|
||||
]
|
||||
|
||||
@@ -115,7 +115,7 @@ import (
|
||||
payload: {
|
||||
package: "resource"
|
||||
imports: [
|
||||
"\"github.com/cortezaproject/corteza-server/\(cmp.ident)/types\"",
|
||||
"\"github.com/cortezaproject/corteza/server/\(cmp.ident)/types\"",
|
||||
]
|
||||
|
||||
resources: [
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package codegen
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/app"
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/app"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
[...schema.#codegen] &
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
payload: {
|
||||
package: "service"
|
||||
imports: [
|
||||
"\"github.com/cortezaproject/corteza-server/\(cmp.ident)/types\"",
|
||||
"\"github.com/cortezaproject/corteza/server/\(cmp.ident)/types\"",
|
||||
]
|
||||
|
||||
resources: [
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package codegen
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/app"
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/app"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
"strings"
|
||||
)
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@ package codegen
|
||||
|
||||
import (
|
||||
"strings"
|
||||
"github.com/cortezaproject/corteza-server/app"
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/app"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
[...schema.#codegen] &
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package codegen
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza-server/app"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/app"
|
||||
)
|
||||
|
||||
[...schema.#codegen] &
|
||||
@@ -13,7 +13,7 @@ import (
|
||||
payload: {
|
||||
package: "service"
|
||||
imports: [
|
||||
"\"github.com/cortezaproject/corteza-server/\(cmp.ident)/types\"",
|
||||
"\"github.com/cortezaproject/corteza/server/\(cmp.ident)/types\"",
|
||||
]
|
||||
|
||||
// All known RBAC resources
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package codegen
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/app"
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/app"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
[...schema.#codegen] &
|
||||
|
||||
@@ -3,8 +3,8 @@ package codegen
|
||||
import (
|
||||
"strings"
|
||||
"list"
|
||||
"github.com/cortezaproject/corteza-server/app"
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/app"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
|
||||
@@ -195,7 +195,7 @@ _payload: {
|
||||
imports: {
|
||||
// per-component type imports
|
||||
for cmp in app.corteza.components for res in cmp.resources if res.store != _|_ {
|
||||
"github.com/cortezaproject/corteza-server/\(cmp.ident)/types": "\(cmp.ident)Type"
|
||||
"github.com/cortezaproject/corteza/server/\(cmp.ident)/types": "\(cmp.ident)Type"
|
||||
}
|
||||
|
||||
for res in app.corteza.resources if res.store != _|_ {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package codegen
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/app"
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/app"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
[...schema.#codegen] &
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package compose
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
attachment: {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# from system & compose components into one single service
|
||||
|
||||
imports:
|
||||
- github.com/cortezaproject/corteza-server/compose/types
|
||||
- github.com/cortezaproject/corteza/server/compose/types
|
||||
- io
|
||||
|
||||
labels: &labels
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package: automation
|
||||
imports:
|
||||
- github.com/cortezaproject/corteza-server/compose/types
|
||||
- github.com/cortezaproject/corteza/server/compose/types
|
||||
|
||||
types:
|
||||
ComposeNamespace:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
prefix: compose
|
||||
|
||||
imports:
|
||||
- github.com/cortezaproject/corteza-server/compose/types
|
||||
- github.com/cortezaproject/corteza/server/compose/types
|
||||
|
||||
params:
|
||||
moduleLookup: &moduleLookup
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
prefix: compose
|
||||
|
||||
imports:
|
||||
- github.com/cortezaproject/corteza-server/compose/types
|
||||
- github.com/cortezaproject/corteza/server/compose/types
|
||||
|
||||
params:
|
||||
namespaceLookup: &namespaceLookup
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
prefix: compose
|
||||
|
||||
imports:
|
||||
- github.com/cortezaproject/corteza-server/compose/types
|
||||
- github.com/cortezaproject/corteza/server/compose/types
|
||||
|
||||
params:
|
||||
moduleLookup: &moduleLookup
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package compose
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
chart: {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package compose
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
component: schema.#component & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package compose
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
module: {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package compose
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
moduleField: {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package compose
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
namespace: {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package compose
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
page: {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package compose
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
record: {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package compose
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
record_revision: {
|
||||
|
||||
+11
-11
@@ -11,8 +11,8 @@ endpoints:
|
||||
path: "/namespace"
|
||||
authentication: []
|
||||
imports:
|
||||
- github.com/cortezaproject/corteza-server/pkg/label
|
||||
- github.com/cortezaproject/corteza-server/pkg/locale
|
||||
- github.com/cortezaproject/corteza/server/pkg/label
|
||||
- github.com/cortezaproject/corteza/server/pkg/locale
|
||||
- sqlxTypes github.com/jmoiron/sqlx/types
|
||||
- time
|
||||
apis:
|
||||
@@ -255,8 +255,8 @@ endpoints:
|
||||
authentication: []
|
||||
imports:
|
||||
- sqlxTypes github.com/jmoiron/sqlx/types
|
||||
- github.com/cortezaproject/corteza-server/pkg/locale
|
||||
- github.com/cortezaproject/corteza-server/pkg/label
|
||||
- github.com/cortezaproject/corteza/server/pkg/locale
|
||||
- github.com/cortezaproject/corteza/server/pkg/label
|
||||
parameters:
|
||||
path:
|
||||
- type: uint64
|
||||
@@ -509,9 +509,9 @@ endpoints:
|
||||
title: Namespace ID
|
||||
imports:
|
||||
- sqlxTypes github.com/jmoiron/sqlx/types
|
||||
- github.com/cortezaproject/corteza-server/compose/types
|
||||
- github.com/cortezaproject/corteza-server/pkg/locale
|
||||
- github.com/cortezaproject/corteza-server/pkg/label
|
||||
- github.com/cortezaproject/corteza/server/compose/types
|
||||
- github.com/cortezaproject/corteza/server/pkg/locale
|
||||
- github.com/cortezaproject/corteza/server/pkg/label
|
||||
- time
|
||||
apis:
|
||||
- name: list
|
||||
@@ -649,7 +649,7 @@ endpoints:
|
||||
path: "/namespace/{namespaceID}/module/{moduleID}/record"
|
||||
authentication: []
|
||||
imports:
|
||||
- github.com/cortezaproject/corteza-server/compose/types
|
||||
- github.com/cortezaproject/corteza/server/compose/types
|
||||
parameters:
|
||||
path:
|
||||
- type: uint64
|
||||
@@ -918,8 +918,8 @@ endpoints:
|
||||
authentication: []
|
||||
imports:
|
||||
- sqlxTypes github.com/jmoiron/sqlx/types
|
||||
- github.com/cortezaproject/corteza-server/pkg/label
|
||||
- github.com/cortezaproject/corteza-server/pkg/locale
|
||||
- github.com/cortezaproject/corteza/server/pkg/label
|
||||
- github.com/cortezaproject/corteza/server/pkg/locale
|
||||
- time
|
||||
parameters:
|
||||
path:
|
||||
@@ -1209,7 +1209,7 @@ endpoints:
|
||||
- Client ID
|
||||
- Session ID
|
||||
imports:
|
||||
- github.com/cortezaproject/corteza-server/pkg/rbac
|
||||
- github.com/cortezaproject/corteza/server/pkg/rbac
|
||||
apis:
|
||||
- name: list
|
||||
path: "/"
|
||||
|
||||
@@ -10,7 +10,7 @@ defaultActionSeverity: notice
|
||||
defaultErrorSeverity: alert
|
||||
|
||||
import:
|
||||
- github.com/cortezaproject/corteza-server/pkg/rbac
|
||||
- github.com/cortezaproject/corteza/server/pkg/rbac
|
||||
|
||||
props:
|
||||
- name: rule
|
||||
|
||||
@@ -10,7 +10,7 @@ defaultActionSeverity: notice
|
||||
defaultErrorSeverity: alert
|
||||
|
||||
import:
|
||||
- github.com/cortezaproject/corteza-server/compose/types
|
||||
- github.com/cortezaproject/corteza/server/compose/types
|
||||
|
||||
props:
|
||||
- name: size
|
||||
|
||||
@@ -10,7 +10,7 @@ defaultActionSeverity: notice
|
||||
defaultErrorSeverity: error
|
||||
|
||||
import:
|
||||
- github.com/cortezaproject/corteza-server/compose/types
|
||||
- github.com/cortezaproject/corteza/server/compose/types
|
||||
|
||||
props:
|
||||
- name: chart
|
||||
|
||||
@@ -10,7 +10,7 @@ defaultActionSeverity: notice
|
||||
defaultErrorSeverity: error
|
||||
|
||||
import:
|
||||
- github.com/cortezaproject/corteza-server/compose/types
|
||||
- github.com/cortezaproject/corteza/server/compose/types
|
||||
|
||||
props:
|
||||
- name: module
|
||||
|
||||
@@ -10,7 +10,7 @@ defaultActionSeverity: notice
|
||||
defaultErrorSeverity: error
|
||||
|
||||
import:
|
||||
- github.com/cortezaproject/corteza-server/compose/types
|
||||
- github.com/cortezaproject/corteza/server/compose/types
|
||||
|
||||
props:
|
||||
- name: namespace
|
||||
|
||||
@@ -10,7 +10,7 @@ defaultActionSeverity: info
|
||||
defaultErrorSeverity: error
|
||||
|
||||
import:
|
||||
- github.com/cortezaproject/corteza-server/compose/types
|
||||
- github.com/cortezaproject/corteza/server/compose/types
|
||||
|
||||
props:
|
||||
- name: mail
|
||||
|
||||
@@ -10,7 +10,7 @@ defaultActionSeverity: notice
|
||||
defaultErrorSeverity: error
|
||||
|
||||
import:
|
||||
- github.com/cortezaproject/corteza-server/compose/types
|
||||
- github.com/cortezaproject/corteza/server/compose/types
|
||||
|
||||
props:
|
||||
- name: page
|
||||
|
||||
@@ -10,7 +10,7 @@ defaultActionSeverity: notice
|
||||
defaultErrorSeverity: error
|
||||
|
||||
import:
|
||||
- github.com/cortezaproject/corteza-server/compose/types
|
||||
- github.com/cortezaproject/corteza/server/compose/types
|
||||
|
||||
props:
|
||||
- name: record
|
||||
|
||||
@@ -1 +1 @@
|
||||
module: "github.com/cortezaproject/corteza-server"
|
||||
module: "github.com/cortezaproject/corteza/server"
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
module github.com/cortezaproject/corteza-server
|
||||
module github.com/cortezaproject/corteza/server
|
||||
|
||||
cue v0.4.0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package federation
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
component: schema.#component & {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package federation
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
exposedModule: {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package federation
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
node: {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package federation
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
nodeSync: {
|
||||
|
||||
@@ -148,7 +148,7 @@ endpoints:
|
||||
path: "/nodes/{nodeID}/modules"
|
||||
authentication: []
|
||||
imports:
|
||||
- github.com/cortezaproject/corteza-server/federation/types
|
||||
- github.com/cortezaproject/corteza/server/federation/types
|
||||
apis:
|
||||
- name: readExposed
|
||||
method: GET
|
||||
@@ -503,7 +503,7 @@ endpoints:
|
||||
- Client ID
|
||||
- Session ID
|
||||
imports:
|
||||
- github.com/cortezaproject/corteza-server/pkg/rbac
|
||||
- github.com/cortezaproject/corteza/server/pkg/rbac
|
||||
apis:
|
||||
- name: list
|
||||
path: "/"
|
||||
|
||||
@@ -10,7 +10,7 @@ defaultActionSeverity: notice
|
||||
defaultErrorSeverity: alert
|
||||
|
||||
import:
|
||||
- github.com/cortezaproject/corteza-server/pkg/rbac
|
||||
- github.com/cortezaproject/corteza/server/pkg/rbac
|
||||
|
||||
props:
|
||||
- name: rule
|
||||
|
||||
@@ -10,7 +10,7 @@ defaultActionSeverity: notice
|
||||
defaultErrorSeverity: error
|
||||
|
||||
import:
|
||||
- github.com/cortezaproject/corteza-server/federation/types
|
||||
- github.com/cortezaproject/corteza/server/federation/types
|
||||
|
||||
props:
|
||||
- name: module
|
||||
|
||||
@@ -10,7 +10,7 @@ defaultActionSeverity: notice
|
||||
defaultErrorSeverity: error
|
||||
|
||||
import:
|
||||
- github.com/cortezaproject/corteza-server/federation/types
|
||||
- github.com/cortezaproject/corteza/server/federation/types
|
||||
|
||||
props:
|
||||
- name: created
|
||||
|
||||
@@ -10,7 +10,7 @@ defaultActionSeverity: notice
|
||||
defaultErrorSeverity: error
|
||||
|
||||
import:
|
||||
- github.com/cortezaproject/corteza-server/federation/types
|
||||
- github.com/cortezaproject/corteza/server/federation/types
|
||||
|
||||
props:
|
||||
- name: node
|
||||
|
||||
@@ -10,7 +10,7 @@ defaultActionSeverity: notice
|
||||
defaultErrorSeverity: error
|
||||
|
||||
import:
|
||||
- github.com/cortezaproject/corteza-server/federation/types
|
||||
- github.com/cortezaproject/corteza/server/federation/types
|
||||
|
||||
props:
|
||||
- name: nodeSync
|
||||
|
||||
@@ -10,7 +10,7 @@ defaultActionSeverity: notice
|
||||
defaultErrorSeverity: error
|
||||
|
||||
import:
|
||||
- github.com/cortezaproject/corteza-server/federation/types
|
||||
- github.com/cortezaproject/corteza/server/federation/types
|
||||
|
||||
props:
|
||||
- name: module
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package federation
|
||||
|
||||
import (
|
||||
"github.com/cortezaproject/corteza-server/codegen/schema"
|
||||
"github.com/cortezaproject/corteza/server/codegen/schema"
|
||||
)
|
||||
|
||||
sharedModule: {
|
||||
|
||||
@@ -11,9 +11,9 @@ package {{ .Package }}
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"github.com/cortezaproject/corteza-server/pkg/actionlog"
|
||||
"github.com/cortezaproject/corteza-server/pkg/errors"
|
||||
"github.com/cortezaproject/corteza-server/pkg/locale"
|
||||
"github.com/cortezaproject/corteza/server/pkg/actionlog"
|
||||
"github.com/cortezaproject/corteza/server/pkg/errors"
|
||||
"github.com/cortezaproject/corteza/server/pkg/locale"
|
||||
{{- range .Import }}
|
||||
{{ normalizeImport . }}
|
||||
{{- end }}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user