Uploaded image for project: 'Geo2tag LBS Platform'
  1. GT-2372

Парсер запроса /instance/service/testservice/channel не делает проверок + getChannelList имеет нерасширяемый вид

    Details

    • Type: Bug
    • Status: Review
    • Priority: 02.Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Test scenario:
      Исправлен тест src/static/js/tests/geo2tag_requests_tests.js
    • Sprint:
      0.5.35, 0.5.39, 0.5.40, 0.5.41

      Description

      Проблема:

      vood@vood-ThinkPad:~/ws/geomongo$ curl http://demo.geo2tag.org/instance/service/testservice/channel 
      null
      

      Хотя с параметром number:

      vood@vood-ThinkPad:~/ws/geomongo$ curl http://demo.geo2tag.org/instance/service/testservice/channel?number=1
      [{"json": {"url": "", "description": ""}, "_id": {"$oid": "556721a52a2e7febd2744200"}, "name": "testchannel", "owner_id": "stub"}]
      

      Необходимо:

      • сделать так чтобы параметр number был обязательным в парсере данного запроса
      • переписать getChannelList по аналогии с findPoints

        Attachments

          Activity

            People

            • Assignee:
              Berlenko Татьяна Берленко (Inactive)
              Reporter:
              mark.zaslavskiy Mark Zaslavskiy
              Leader:
              Sergey Balandin
              Architect:
              Kirill Krinkin
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour, 30 minutes
                1h 30m
                Remaining:
                Remaining Estimate - 1 hour, 30 minutes
                1h 30m
                Logged:
                Time Spent - Not Specified
                Not Specified