openlmis-requisition

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
OLMIS-4966: Add additional column on requisition template called additionalQuantityRequired.

This new column cannot be displayed if the template does not display the adjusted consumption field.

If additionalQuantityRequired column is displayed, the calculation of adjusted consumption will be influenced.

    • -2
    • +48
    /demo-data/requisition.columns_maps.json
    • -0
    • +13
    /src/main/resources/db/migration/20180706200019454__add_additional_quantity_required_column.sql
OLMIS-4982 Exclude order-related columns when getting requisition template

When period is report-only.

OLMIS-4981: Support approving report-only requisitions

  1. … 4 more files in changeset.
OLMIS-5037: removed sonar login and password from docker compose builder

OLMIS-5037: updated sonar task

OLMIS-5037: set contract test branch to 3.3.1

OLMIS-5037: added Jenkinsfile

changed version to SNAPSHOT

OLMIS-5037: fixed failing tests

OLMIS-4935: improved error message for violating idempotency key

OLMIS-4935: changed separate parameters for hash map in requisition search

added requisition search params class

OLMIS-4935: added handling Idempotency-Key header to requisition status change endpoints

added Location header requisition response

    • -6
    • +38
    /src/main/resources/api-definition.yaml
OLMIS-4728 Add support for handling If-Match header in PUT /requisition

The existing validation based on timestamps has been removed and an

optional validation using If-Match header has been added. In case

the header is set, the PUT /requisition endpoint will validate

whether the passed and saved requisitions version matches to avoid

conflicts.

OLMIS-4728 Introduce optimistic locking for requisitions

Added a new version field to the requisition domain that is managed

by Hibernate. Each update the version field is incremented in the database.

In case of a mismatch between the version passed to save and the

version in database, Hibernate throws an excepion indicating

optimistic locking violation. Some endpoints now also set

the eTag header in the response with the version number of the requisition.

    • -0
    • +21
    /demo-data/requisition.requisitions.json
OLMIS-4982 Support initiating report-only requisitions

This adds a report only flag to a requisition that is initiated for a report only period. This does not include logic to exclude order-related columns from the line items.

OLMIS-4958: code review feedback

    • -1
    • +1
    /src/main/resources/api-definition.yaml
OLMIS-4958: code review feedback

    • -2
    • +2
    /src/main/resources/api-definition.yaml
    • -0
    • +25
    /src/main/resources/schemas/releasableRequisitionBatchDto.json
OLMIS-4958: code review feedback

Rename DTOs and Spec for batchReleases API

    • -3
    • +3
    /src/main/resources/api-definition.yaml
    • -0
    • +25
    /src/main/resources/schemas/releasableBatchDto.json
  1. … 9 more files in changeset.
OLMIS-4935: fixed getting service url to create location header

OLMIS-4935: fixed getting service url to create location header

OLMIS-4935: improved error message for violating idempotency key

OLMIS-4935: changed separate parameters for hash map in requisition search

added requisition search params class

OLMIS-4935: added handling Idempotency-Key header to requisition status change endpoints

added Location header requisition response

    • -6
    • +38
    /src/main/resources/api-definition.yaml
OLMIS-3162: Fix Sonar code smells

OLMIS-4935 Fix Sonar code smells

OLMIS-4935 Fix Sonar code smells

OLMIS-4935 Add missing redis link in sonar build

OLMIS-4935 Add missing redis link in sonar build

OLMIS-4935 Add redis image to compose builder

OLMIS-4935 Add redis image to compose builder