referencedata.dispensable_attributes.json

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
OLMIS-4871 Rename performance-data folder to demo-data
OLMIS-4871 Rename performance-data folder to demo-data
OLMIS-4871 Move demo data to TestDataInitializer

* Change demo data strategy from JSON to CSV.

* Add more data, not from Mockaroo, but from UAT2.

* Remove old demo-data files.

* Fix sonar bugs.

    • -407
    • +0
    ./referencedata.dispensable_attributes.json
  1. … 80 more files in changeset.
Revert demo data back to JSON strategy

Also, change requisition group FP 1 to use regular Monthly processing schedule (to pass requisition contract tests).

    • -0
    • +407
    ./referencedata.dispensable_attributes.json
  1. … 71 more files in changeset.
OLMIS-4871 Move demo data to TestDataInitializer

* Change demo data strategy from JSON to CSV.

* Add more data, not from Mockaroo, but from UAT2.

* Remove old demo-data files.

* Fix sonar bugs.

    • -407
    • +0
    ./referencedata.dispensable_attributes.json
  1. … 71 more files in changeset.
Revert "OLMIS-4871 Move demo data to TestDataInitializer"

This reverts commit 55caa5a79edd5c686a07cd33ad8b8f93fc350b61.

    • -0
    • +407
    ./referencedata.dispensable_attributes.json
  1. … 69 more files in changeset.
OLMIS-4871 Move demo data to TestDataInitializer

* Change demo data strategy from JSON to CSV.

* Add more data, not from Mockaroo, but from UAT2.

* Remove old demo-data files.

    • -407
    • +0
    ./referencedata.dispensable_attributes.json
  1. … 69 more files in changeset.
Revert "OLMIS-4118: Add displayUnit to demo data"

This reverts commit 4f059d28d0f9fd21335c17255acd4e3ea0d6e033.

    • -175
    • +0
    ./referencedata.dispensable_attributes.json
OLMIS-4118: Add displayUnit to demo data

    • -0
    • +175
    ./referencedata.dispensable_attributes.json
lgtm. Thanks!

lgtm. Thanks!

So I should redo the importer and exporter's interfaces to define getters and setters for the constituent parts? getDispensingUnit, setDispensingUnit, getSizeCode, etc.?

So I should redo the importer and exporter's interfaces to define getters and setters for the constituent parts? getDispensingUnit, setDispensingUnit, getSizeCode, etc.?

Not sure, but I put one in for RoleAssignment, so just in case there's a problem, I just copied the pattern.

Not sure, but I put one in for RoleAssignment, so just in case there's a problem, I just copied the pattern.

Left a couple comments, looks good. Thanks.

Left a couple comments, looks good. Thanks.

This I think exposes the implementation of the JPA/hibernate map. i.e. if I were to change this map from something using the exporter, I'd be changing the JPA entity.

This I think exposes the implementation of the JPA/hibernate map. i.e. if I were to change this map from something using the exporter, I'd be changing the JPA entity.

This needed on the abstract?

This needed on the abstract?

OLMIS-4017 Refactor dispensable to support multiple attributes
OLMIS-4017 Refactor dispensable to support multiple attributes
OLMIS-4017 Create separate types of dispensables

Dispensable concept is now separated out into types. There are three types for now—default, container, and vaccine. Container is for things that contain other things; currently only used for syringes of different sizes. Vaccine is for vaccines, for number of doses and the route of administration into the body. Default is for everything else.

The dispensable DTO also returns displayUnit, which is the value from toString.

    • -52
    • +152
    ./referencedata.dispensable_attributes.json
  1. … 17 more files in changeset.
OLMIS-4017 Refactor dispensable to support multiple attributes

Instead of dispensable having a dispensingUnit string property, it now supports multiple properties through a map and an attributes table. Note no other properties are returned by the API.

    • -0
    • +307
    ./referencedata.dispensable_attributes.json
  1. … 6 more files in changeset.