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)

Activity

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

It works according to acceptance criteria.

Done

Assignee

Łukasz Lewczyński

Reporter

Chongsun Ahn

Labels

Story Points

2

Time tracking

0m

Time remaining

12h 30m

Components

Sprint

None

Fix versions

Priority

Major