Skip to content

Commit

Permalink
Add search attributes for Up teams (cadence-workflow#2257)
Browse files Browse the repository at this point in the history
  • Loading branch information
vancexu authored Jul 23, 2019
1 parent a5f84bc commit 3d11d8f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
6 changes: 6 additions & 0 deletions config/dynamicconfig/development.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ frontend.validSearchAttributes:
StartTime: 2
WorkflowID: 1
WorkflowType: 1
project: 1
service: 1
environment: 1
addon: 1
addon-type: 1
user: 1
constraints: {}
system.minRetentionDays:
- value: 0
Expand Down
8 changes: 7 additions & 1 deletion docker/dynamicconfig/development_es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,10 @@ frontend.validSearchAttributes:
CustomIntField: 2
CustomBoolField: 3
CustomDoubleField: 4
CustomDatetimeField: 5
CustomDatetimeField: 5
project: 1
service: 1
environment: 1
addon: 1
addon-type: 1
user: 1
8 changes: 7 additions & 1 deletion schema/elasticsearch/visibility/index_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@
"CustomIntField": { "type": "long"},
"CustomBoolField": { "type": "boolean"},
"CustomDoubleField": { "type": "double"},
"CustomDatetimeField": { "type": "date"}
"CustomDatetimeField": { "type": "date"},
"project": { "type": "keyword"},
"service": { "type": "keyword"},
"environment": { "type": "keyword"},
"addon": { "type": "keyword"},
"addon-type": { "type": "keyword"},
"user": { "type": "keyword"}
}
}
}
Expand Down

0 comments on commit 3d11d8f

Please sign in to comment.