clearwing

changeset 218:f9c379778b4d 1.2.3-genius

Updating Code and configuration to match Firethorn version 2.1.25 (..continued)
author Stelios <stv@roe.ac.uk>
date Wed Jul 25 18:54:32 2018 +0300 (2018-07-25)
parents a22012e75b92
children 90ea0520f7e5
files src/freeform_sql/misc.py
line diff
     1.1 --- a/src/freeform_sql/misc.py	Wed Jul 25 18:49:02 2018 +0300
     1.2 +++ b/src/freeform_sql/misc.py	Wed Jul 25 18:54:32 2018 +0300
     1.3 @@ -185,7 +185,7 @@
     1.4          ### Create workspace
     1.5          workspace_name = 'workspace-' + t.strftime("%y%m%d_%H%M%S") 
     1.6          data = urllib.urlencode({firethorn_config.resource_create_name_params['http://data.metagrid.co.uk/wfau/firethorn/types/entity/adql-resource-1.0.json'] : workspace_name})
     1.7 -        req = urllib2.Request( firethorn_config.workspace_creator, data, headers={"Accept" : "application/json", "firethorn.auth.identity" : session.get("email","unknown user"), "firethorn.auth.community" : config.firethorn_admin_community, "firethorn.auth.username" : config.firethorn_admin_username, "firethorn.auth.password" : config.firethorn_admin_password})
     1.8 +        req = urllib2.Request( config.firethorn_base + firethorn_config.workspace_creator, data, headers={"Accept" : "application/json", "firethorn.auth.identity" : session.get("email","unknown user"), "firethorn.auth.community" : config.firethorn_admin_community, "firethorn.auth.username" : config.firethorn_admin_username, "firethorn.auth.password" : config.firethorn_admin_password})
     1.9          response = urllib2.urlopen(req)
    1.10          workspace = json.loads(response.read())["self"]
    1.11          response.close()