This is an automated email from the ASF dual-hosted git repository.
rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 556cd3d Add '_deleted' to includePaths for CosmosDB IndexingPolicy
validation (#4807)
556cd3d is described below
commit 556cd3d7e2fb12a3419555411b181bc1c080af8a
Author: Andy Steed <[email protected]>
AuthorDate: Wed Feb 19 09:50:06 2020 -0800
Add '_deleted' to includePaths for CosmosDB IndexingPolicy validation
(#4807)
---
.../apache/openwhisk/core/database/cosmosdb/CosmosDBViewMapper.scala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/common/scala/src/main/scala/org/apache/openwhisk/core/database/cosmosdb/CosmosDBViewMapper.scala
b/common/scala/src/main/scala/org/apache/openwhisk/core/database/cosmosdb/CosmosDBViewMapper.scala
index 14ca020..8e1e102 100644
---
a/common/scala/src/main/scala/org/apache/openwhisk/core/database/cosmosdb/CosmosDBViewMapper.scala
+++
b/common/scala/src/main/scala/org/apache/openwhisk/core/database/cosmosdb/CosmosDBViewMapper.scala
@@ -213,7 +213,8 @@ private[cosmosdb] object ActivationViewMapper extends
SimpleMapper with WhiskIns
includedPaths = Set(
IncludedPath(s"/$NS/?", Index(Range, String, -1)),
IncludedPath(s"/$computed/$NS_PATH/?", Index(Range, String, -1)),
- IncludedPath(s"/$START/?", Index(Range, Number, -1))))
+ IncludedPath(s"/$START/?", Index(Range, Number, -1)),
+ IncludedPath(s"/$deleted/?", Index(Range, Number, -1))))
override protected def where(ddoc: String,
view: String,