Changeset 9f0f35e for apis


Ignore:
Timestamp:
May 19, 2020, 8:59:28 PM (7 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
24617e1
Parents:
d5199c9
Message:
  • Switched from CamelCase to camel_case naming
    • Added mapservice-webclient to configure script (Closes #33)
    • Switched from unittest to pytest tests
    • Fixed testing errors with post datas by introducing x-fail vendor extension
    • Added x-vendor extension to mark a dependency on mapservice for an operation and the controller_test.mustache adds needed fixtures
    • Copying conftest.py from *_impl/tests into */test (it's a workaround to get the flask app fixtures)
    • Fixed controller_test.mustache, to test the first response with set status code
Location:
apis
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apis/deviceservice.yaml

    rd5199c9 r9f0f35e  
    184184        - deviceMaps
    185185      operationId: mapsTileGet
     186      x-xfail-test:
     187        reason: 'URL Ending with {{y_tile}}.png is not resolved correctly by openapi-generator'
    186188      parameters:
    187189        - name: mapname
    … …  
    235237        - mapservice
    236238      operationId: mapserviceStatus
     239      x-mapservice-required: True
    237240      responses:
    238241        '200':
    … …  
    259262      summary: Find own waters
    260263      operationId: watersGet
     264      x-mapservice-required: True
    261265      parameters:
    262266        - name: name
    … …  
    264268          schema:
    265269            $ref: '#/components/schemas/itemName'
    266           example: Test
     270          example: Miss
    267271        - $ref: '#/components/parameters/orderBy'
    268272        - $ref: '#/components/parameters/offset'
    … …  
    298302      summary: Add a new log
    299303      operationId: logCreate
     304      x-mapservice-required: True
     305      x-xfail-test:
     306        reason: 'Timesout because of not running celery broker during the tests'
    300307      requestBody:
    301308        content:
  • apis/mapservice.yaml

    rd5199c9 r9f0f35e  
    5353      summary: Registers a new user
    5454      operationId: usersRegister
     55      x-xfail-test:
     56        reason: 'Boolean value True could not converted by openapi-generator'
    5557      requestBody:
    5658        content:
    … …  
    681683      summary: Represents a tile
    682684      operationId: tilesTileGet
     685      x-xfail-test:
     686        reason: 'URL Ending with {{y_tile}}.png is not resolved correctly by openapi-generator'
    683687      parameters:
    684688        - name: accuracy
    … …  
    750754      type: http
    751755      scheme: basic
    752       x-basicInfoFunc: gnuboat.mapservice_impl.security.Security.auth_basic
     756      x-basicInfoFunc: gnuboat.mapservice_impl.security.security.auth_basic
    753757    apiKeyAuth:
    754758      type: apiKey
    755759      in: header
    756760      name: X-API-KEY
    757       x-apikeyInfoFunc: gnuboat.mapservice_impl.security.Security.auth_api
     761      x-apikeyInfoFunc: gnuboat.mapservice_impl.security.security.auth_api
    758762  schemas:
    759763    username:
Note: See TracChangeset for help on using the changeset viewer.