aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader
diff options
context:
space:
mode:
authorPjotr Prins2020-07-09 08:31:57 -0500
committerPjotr Prins2020-07-09 08:31:57 -0500
commit247f5b36298441fbf8880381274d3d43d80476bd (patch)
tree74938e6e6c5fd53b9f534a4de3838bdd526737d2 /bh20simplewebuploader
parentedb17e7f7caebfa1e76b21006b1772a33f4f7887 (diff)
downloadbh20-seq-resource-247f5b36298441fbf8880381274d3d43d80476bd.tar.gz
bh20-seq-resource-247f5b36298441fbf8880381274d3d43d80476bd.tar.lz
bh20-seq-resource-247f5b36298441fbf8880381274d3d43d80476bd.zip
Skip certificate check - this was upstreamed in Arvados, so we can remove later
Diffstat (limited to 'bh20simplewebuploader')
-rw-r--r--bh20simplewebuploader/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py
index 9132453..8f9b99b 100644
--- a/bh20simplewebuploader/main.py
+++ b/bh20simplewebuploader/main.py
@@ -505,7 +505,7 @@ def status_page():
Processing status
"""
- api = arvados.api(host=ARVADOS_API, token=ANONYMOUS_TOKEN)
+ api = arvados.api(host=ARVADOS_API, token=ANONYMOUS_TOKEN, insecure=True)
pending = arvados.util.list_all(api.collections().list, filters=[["owner_uuid", "=", UPLOADER_PROJECT]])
out = []
status = {}
@@ -567,7 +567,7 @@ baseURL='http://sparql.genenetwork.org/sparql/'
@app.route('/api/getCount', methods=['GET'])
def getCount():
- api = arvados.api(host=ARVADOS_API, token=ANONYMOUS_TOKEN)
+ api = arvados.api(host=ARVADOS_API, token=ANONYMOUS_TOKEN, insecure=True)
c = api.collections().list(filters=[["owner_uuid", "=", VALIDATED_PROJECT]], limit=1).execute()
return jsonify({'sequences': c["items_available"]})