Skip to content

Feature/use api token auth#245

Nicola Jordan requested to merge feature/useApiTokenAuth#245 into develop

Created by: wasabideveloper

Implementation of feature #245 (closed) (Merge will close #245 (closed) ).

  • ran tests

To be reviewed by:

  • @das-g
  • @hixi

Breaking changes

Be careful on integration of this in views.py: The option list of extraction_order.extraction_configuration is passed 1:1 to the API. So you need to adjust the forms to generate this structure correct. Maybe you can flat this structure a little bit by the way.

Old syntax:

{
    'gis': {
        'formats': ['txt', 'file_gdb'],
        'options': {
            'coordinate_reference_system': 'wgs72',
            'detail_level': 'verbatim'
        }
    },
    'routing': { ... }
}

New format:

{
    'gis': {
        'formats': ['fgdb', 'spatialite'],
        'options': {
            'coordinate_reference_system': 'WGS_84',
            'detail_level': 1
        }
    }
}

Merge request reports