You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2018/02/24 05:12:22 UTC

[incubator-openwhisk] branch master updated: Remove view supporting now removed API for listing assets in namespace. (#3341)

This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new 458f790  Remove view supporting now removed API for listing assets in namespace. (#3341)
458f790 is described below

commit 458f790046fb2e8672ebeb896dff38d0635def84
Author: rodric rabbah <ro...@gmail.com>
AuthorDate: Sat Feb 24 00:12:20 2018 -0500

    Remove view supporting now removed API for listing assets in namespace. (#3341)
---
 .../whisks_design_document_for_all_entities_db_v2.1.0.json     | 10 ----------
 ansible/tasks/recreateViews.yml                                |  1 -
 2 files changed, 11 deletions(-)

diff --git a/ansible/files/whisks_design_document_for_all_entities_db_v2.1.0.json b/ansible/files/whisks_design_document_for_all_entities_db_v2.1.0.json
deleted file mode 100644
index ae8f475..0000000
--- a/ansible/files/whisks_design_document_for_all_entities_db_v2.1.0.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-  "_id": "_design/all-whisks.v2.1.0",
-  "language": "javascript",
-  "views": {
-    "all": {
-      "map": "function (doc) {\n  var PATHSEP = \"/\";\n\n  var isPackage = function (doc) {  return (doc.binding !== undefined) };\n  var isAction = function (doc) { return (doc.exec !== undefined) };\n  var isTrigger = function (doc) { return (doc.exec === undefined && doc.binding === undefined && doc.parameters !== undefined) };\n  var isRule = function (doc) {  return (doc.trigger !== undefined) };\n  \n  var collection = function (doc) {\n    if (isPackage(doc)) return \"packages\"; [...]
-      "reduce": "_count"
-    }
-  }
-}
\ No newline at end of file
diff --git a/ansible/tasks/recreateViews.yml b/ansible/tasks/recreateViews.yml
index 7868f85..d237da7 100644
--- a/ansible/tasks/recreateViews.yml
+++ b/ansible/tasks/recreateViews.yml
@@ -7,7 +7,6 @@
     doc: "{{ lookup('file', '{{ item }}') }}"
   with_items:
     - "{{ openwhisk_home }}/ansible/files/whisks_design_document_for_entities_db_v2.1.0.json"
-    - "{{ openwhisk_home }}/ansible/files/whisks_design_document_for_all_entities_db_v2.1.0.json"
     - "{{ openwhisk_home }}/ansible/files/filter_design_document.json"
 
 - include: db/recreateDoc.yml

-- 
To stop receiving notification emails like this one, please contact
csantanapr@apache.org.