Implement supply partner model

Description

Once the design work is finished in OLMIS‌-5137, we need to implement the model, creating entities, repositories for storage, APIs for CRUD operations.

The UI part should be done in OLMIS‌-5353, OLMIS‌-5354, OLMIS‌-5355 and OLMIS‌-5356.

Also, a new endpoint to retrieve supervising facilities for the given supervisory node and program should be added.

In the end, we need to allow to retrieve FTAPs for several facility types.

Acceptance criteria

  • there should be possible to retrieve FTAPs for several facility types

    • GET /api/facilityTypeApprovedProducts

    • it should be possible to provide the facilityType parameter many times and in results, all FTAPs for facility types should be returned

  • there should be possible to retrieve supervising facilities for the given supervisory node

    • GET /api/supervisoryNodes/{id}/facilities

    • the programId parameter is optional and if provided it narrows results to only facilities that support the given program

  • Supply partner model should be implemented

    • standard CRU operations should be available via API console (without the delete operation)

is blocked by

Activity

Joanna Szymańska 
October 24, 2018 at 9:27 AM

It works according to acceptance criteria.

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Original estimate

Time tracking

2d 7h 30m logged1d 4h 30m remaining

Components

Sprint

Fix versions

Priority

Time Assistant

Created August 2, 2018 at 7:25 AM
Updated November 9, 2018 at 9:39 PM
Resolved October 24, 2018 at 9:32 AM