#112: Stopped indexing of large fields

This commit is contained in:
frikky
2020-08-14 09:27:53 +02:00
parent 960d4ff9a9
commit bc902cd4c5
3 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -370,7 +370,7 @@ type Hook struct {
Id string `json:"id" datastore:"id"` Id string `json:"id" datastore:"id"`
Start string `json:"start" datastore:"start"` Start string `json:"start" datastore:"start"`
Info Info `json:"info" datastore:"info"` Info Info `json:"info" datastore:"info"`
Actions []HookAction `json:"actions" datastore:"actions"` Actions []HookAction `json:"actions" datastore:"actions,noindex"`
Type string `json:"type" datastore:"type"` Type string `json:"type" datastore:"type"`
Owner string `json:"owner" datastore:"owner"` Owner string `json:"owner" datastore:"owner"`
Status string `json:"status" datastore:"status"` Status string `json:"status" datastore:"status"`
+8 -8
View File
@@ -81,7 +81,7 @@ type AppAuthenticationStorage struct {
Active bool `json:"active" datastore:"active"` Active bool `json:"active" datastore:"active"`
Label string `json:"label" datastore:"label"` Label string `json:"label" datastore:"label"`
Id string `json:"id" datastore:"id"` Id string `json:"id" datastore:"id"`
App WorkflowApp `json:"app" datastore:"app"` App WorkflowApp `json:"app" datastore:"app,noindex"`
Fields []AuthenticationStore `json:"fields" datastore:"fields"` Fields []AuthenticationStore `json:"fields" datastore:"fields"`
Usage []AuthenticationUsage `json:"usage" datastore:"usage"` Usage []AuthenticationUsage `json:"usage" datastore:"usage"`
WorkflowCount int64 `json:"workflow_count" datastore:"workflow_count"` WorkflowCount int64 `json:"workflow_count" datastore:"workflow_count"`
@@ -118,12 +118,12 @@ type WorkflowApp struct {
Name string `json:"name" datastore:"name" yaml:"name"` Name string `json:"name" datastore:"name" yaml:"name"`
Url string `json:"url" datastore:"url" yaml:"url"` Url string `json:"url" datastore:"url" yaml:"url"`
} `json:"contact_info" datastore:"contact_info" yaml:"contact_info" required:false` } `json:"contact_info" datastore:"contact_info" yaml:"contact_info" required:false`
Actions []WorkflowAppAction `json:"actions" yaml:"actions" required:true datastore:"actions"` Actions []WorkflowAppAction `json:"actions" yaml:"actions" required:true datastore:"actions,noindex"`
Authentication Authentication `json:"authentication" yaml:"authentication" required:false datastore:"authentication"` Authentication Authentication `json:"authentication" yaml:"authentication" required:false datastore:"authentication"`
} }
type WorkflowAppActionParameter struct { type WorkflowAppActionParameter struct {
Description string `json:"description" datastore:"description" yaml:"description"` Description string `json:"description" datastore:"description,noindex" yaml:"description"`
ID string `json:"id" datastore:"id" yaml:"id,omitempty"` ID string `json:"id" datastore:"id" yaml:"id,omitempty"`
Name string `json:"name" datastore:"name" yaml:"name"` Name string `json:"name" datastore:"name" yaml:"name"`
Example string `json:"example" datastore:"example" yaml:"example"` Example string `json:"example" datastore:"example" yaml:"example"`
@@ -150,7 +150,7 @@ type WorkflowAppAction struct {
Sharing bool `json:"sharing" datastore:"sharing"` Sharing bool `json:"sharing" datastore:"sharing"`
PrivateID string `json:"private_id" datastore:"private_id"` PrivateID string `json:"private_id" datastore:"private_id"`
AppID string `json:"app_id" datastore:"app_id"` AppID string `json:"app_id" datastore:"app_id"`
Authentication []AuthenticationStore `json:"authentication" datastore:"authentication" yaml:"authentication,omitempty"` Authentication []AuthenticationStore `json:"authentication" datastore:"authentication,noindex" yaml:"authentication,omitempty"`
Tested bool `json:"tested" datastore:"tested" yaml:"tested"` Tested bool `json:"tested" datastore:"tested" yaml:"tested"`
Parameters []WorkflowAppActionParameter `json:"parameters" datastore: "parameters"` Parameters []WorkflowAppActionParameter `json:"parameters" datastore: "parameters"`
ExecutionVariable struct { ExecutionVariable struct {
@@ -175,7 +175,7 @@ type WorkflowExecution struct {
Type string `json:"type" datastore:"type"` Type string `json:"type" datastore:"type"`
Status string `json:"status" datastore:"status"` Status string `json:"status" datastore:"status"`
Start string `json:"start" datastore:"start"` Start string `json:"start" datastore:"start"`
ExecutionArgument string `json:"execution_argument" datastore:"execution_argument"` ExecutionArgument string `json:"execution_argument" datastore:"execution_argument,noindex"`
ExecutionId string `json:"execution_id" datastore:"execution_id"` ExecutionId string `json:"execution_id" datastore:"execution_id"`
ExecutionSource string `json:"execution_source" datastore:"execution_source"` ExecutionSource string `json:"execution_source" datastore:"execution_source"`
WorkflowId string `json:"workflow_id" datastore:"workflow_id"` WorkflowId string `json:"workflow_id" datastore:"workflow_id"`
@@ -260,7 +260,7 @@ type Branch struct {
SourceID string `json:"source_id" datastore:"source_id"` SourceID string `json:"source_id" datastore:"source_id"`
Label string `json:"label" datastore:"label"` Label string `json:"label" datastore:"label"`
HasError bool `json:"has_errors" datastore: "has_errors"` HasError bool `json:"has_errors" datastore: "has_errors"`
Conditions []Condition `json:"conditions" datastore: "conditions"` Conditions []Condition `json:"conditions" datastore: "conditions,noindex"`
} }
// Same format for a lot of stuff // Same format for a lot of stuff
@@ -273,7 +273,7 @@ type Condition struct {
type Schedule struct { type Schedule struct {
Name string `json:"name" datastore:"name"` Name string `json:"name" datastore:"name"`
Frequency string `json:"frequency" datastore:"frequency"` Frequency string `json:"frequency" datastore:"frequency"`
ExecutionArgument string `json:"execution_argument" datastore:"execution_argument"` ExecutionArgument string `json:"execution_argument" datastore:"execution_argument,noindex"`
Id string `json:"id" datastore:"id"` Id string `json:"id" datastore:"id"`
} }
@@ -312,7 +312,7 @@ type Workflow struct {
} }
type ActionResult struct { type ActionResult struct {
Action Action `json:"action" datastore:"action"` Action Action `json:"action" datastore:"action,noindex"`
ExecutionId string `json:"execution_id" datastore:"execution_id"` ExecutionId string `json:"execution_id" datastore:"execution_id"`
Authorization string `json:"authorization" datastore:"authorization"` Authorization string `json:"authorization" datastore:"authorization"`
Result string `json:"result" datastore:"result,noindex"` Result string `json:"result" datastore:"result,noindex"`
+1 -1
View File
@@ -16,7 +16,7 @@ services:
depends_on: depends_on:
- backend - backend
backend: backend:
#build: ./backend build: ./backend
image: frikky/shuffle:backend image: frikky/shuffle:backend
container_name: shuffle-backend container_name: shuffle-backend
hostname: ${BACKEND_HOSTNAME} hostname: ${BACKEND_HOSTNAME}