style95 commented on a change in pull request #4963:
URL: https://github.com/apache/openwhisk/pull/4963#discussion_r638638615



##########
File path: ansible/roles/controller/tasks/deploy.yml
##########
@@ -292,6 +292,19 @@
     env: "{{ env | combine(elastic_env) }}"
   when: db.activation_store.backend == "ElasticSearch"
 
+- name: setup mongodb artifact store env
+  set_fact:
+    mongodb_env:
+      "CONFIG_whisk_mongodb_uri": "{{ db.mongodb.connect_string }}"
+      "CONFIG_whisk_mongodb_database": "{{ db.mongodb.database }}"
+      "CONFIG_whisk_spi_ArtifactStoreProvider": 
"org.apache.openwhisk.core.database.mongodb.MongoDBArtifactStoreProvider"
+  when: db.backend == "MongoDB"

Review comment:
       That would be a good starting point.
   I believe we can add more options for subjects, whisk entities in the future 
if required.
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to