Clone
 

chongsun ahn <cahn922@yahoo.com> in openlmis-ref-distro

OLMIS-6514 Update OpenLMIS Debezium Connect docker image version

To go to latest available for new features (like better delete support).

    • -3
    • +3
    /reporting/debezium-connect/Dockerfile
Update Casper documentation

The pipeline has been streamlined.

Add stock adjustments to transform pipeline

* Add stock adjustments to connectors

* Add XML template

* Add properties file to autoload from Nifi registry

* Add schema mapping file

* Add adjustment reason mapping file

    • -0
    • +4573
    /reporting/TransformReqLineItemLossAdjV2ToV3.xml
    • -1
    • +1
    /reporting/casper-register-v2-source.json
    • -1
    • +1
    /reporting/casper-register-v3-sink.json
Minor changes to transform XML templates

    • -1
    • +1
    /reporting/TransformReqLineItemsV2ToV3.xml
    • -1
    • +1
    /reporting/TransformReqStatusChangesV2ToV3.xml
Include requisition status mapping

Release no order should be mapped to release without order.

Add requisition comments/status messages to transform pipeline

* Add comments/status message tables to connectors

* Add XML template

* Add properties file to autoload from Nifi registry

* Add schema mapping file

    • -0
    • +6054
    /reporting/TransformReqStatusMessagesV2ToV3.xml
    • -1
    • +1
    /reporting/casper-register-v2-source.json
    • -1
    • +1
    /reporting/casper-register-v3-sink.json
Add requisition status changes to transform pipeline

* Add status changes tables to connectors

* Add XML template

* Add properties file to autoload from Nifi registry

* Add schema mapping file

* Technically RELEASED_NO_ORDER is not in the schema, but in the payload, but it is easier to include in the schema mapping file.

    • -0
    • +4311
    /reporting/TransformReqStatusChangesV2ToV3.xml
    • -1
    • +1
    /reporting/casper-register-v2-source.json
    • -1
    • +1
    /reporting/casper-register-v3-sink.json
Add step in transform requisitions for regen perms

Regenerate requisition permission strings when new requisition is inserted.

Merge branch 'master' into casper-wip

Make Casper pipeline more robust

* Fix demo data to match new eLMIS demo data.

* Give Nifi access to OpenLMIS db, so that it can check a requisition exists before inserting line items. Also, redis is renamed to not conflict with redis running on Ref Distro.

* Transform process groups are added to Nifi registry, so add properties to autoload them into Nifi on startup.

* Modify the preload script to add controller services for Redis

* Add updated transform templates

    • -1104
    • +2547
    /reporting/TransformReqLineItemsV2ToV3.xml
    • -2087
    • +1994
    /reporting/TransformRequisitionsV2ToV3.xml
Create Nifi transform for requisition line items

This requires some additional logic in the requisition transform. Requisitions are saved in a cache with the V3 UUID mapping, in order to ensure coordination (requisitions saved before line items to avoid foreign key violations). This is saved after publishing to Kafka, in order for requisitions to go through the pipeline before line items. Each line item checks for existence of its parent requisition in the cache before continuing through the pipeline. Line items are also saved in the cache for their children (losses and adjustments).

Redis with persistence and a mapping volume has been added to docker compose for this cache.

    • -0
    • +3350
    /reporting/TransformReqLineItemsV2ToV3.xml
    • -2818
    • +4260
    /reporting/TransformRequisitionsV2ToV3.xml
    • -0
    • +7
    /reporting/casper-delete-topic.sh
    • -1
    • +1
    /reporting/casper-register-v2-source.json
    • -1
    • +1
    /reporting/casper-register-v3-sink.json
    • -0
    • +14
    /reporting/config/services/nifi/casper/orderables.txt
    • -0
    • +11
    /reporting/docker-compose.casper.yml
Get OpenLMIS Debezium Connect from DockerHub

Instead of building it each time at startup.

Initial files for Project Casper

    • -0
    • +3422
    /reporting/TransformRequisitionsV2ToV3.xml
    • -0
    • +22
    /reporting/casper-register-v2-source.json
    • -0
    • +3
    /reporting/casper-register-v2-source.sh
    • -0
    • +15
    /reporting/casper-register-v3-sink.json
    • -0
    • +3
    /reporting/casper-register-v3-sink.sh
    • -0
    • +10
    /reporting/casper-start.sh
    • -0
    • +1
    /reporting/config/services/nifi/casper/facilities.txt
    • -0
    • +1
    /reporting/config/services/nifi/casper/programs.txt
    • -0
    • +1
    /reporting/config/services/nifi/casper/supervisory_nodes.txt
    • -0
    • +45
    /reporting/docker-compose.casper.yml
Add OpenLMIS Debezium Kafka Connect Docker image

For project Casper. This is so we do not have to keep building the image on starting up the Casper stack.

    • -0
    • +9
    /reporting/debezium-connect/Dockerfile
    • -0
    • +4
    /reporting/debezium-connect/README.md
OLMIS-4944 Add additional useful documentation about locale settings

For time zones and date/time formats.

OLMIS-6040 Update sample settings to add SMS integration configuration

TextIt broadcast API URL and sample token.

Bump up stock management service version to 4.1.0-SNAPSHOT

OLMIS-3186 Update sample settings to include lot near expiry cron

To show how to configure schedule for checking lots that are near expiry.

Move Ref Distro components to next snapshot versions

Now that it has been released and tagged.

Revert "Update documentation to v3.5 versions"

This reverts commit b1cd78dc02ea571e07fd120ca53560b829219020.

    • -1
    • +1
    /docs/source/components/erd-report.rst
    • -31
    • +20
    /docs/source/components/index.rst
Update documentation to v3.5 versions

To 3.5 versions of documentation, and 3.5 versions of build artifacts.

    • -1
    • +1
    /docs/source/components/erd-report.rst
    • -20
    • +31
    /docs/source/components/index.rst
Revert "Update documentation to v3.4 versions"

This reverts commit d1eb1a66f0e6a2da5d88d79306f4c194b7f71952.

    • -1
    • +1
    /docs/source/components/erd-report.rst
    • -10
    • +10
    /docs/source/components/index.rst
Update Ref Distro to next SNAPSHOT versions

Update documentation to v3.4 versions

To 3.4 versions of documentation, and 3.4 versions of build artifacts.

    • -1
    • +1
    /docs/source/components/erd-report.rst
    • -10
    • +10
    /docs/source/components/index.rst
Change components to release versions

For 3.4.0 release.

OLMIS-4701 Update README

Add more info about demo data.

Merge pull request #17 from OpenLMIS/reporting-folder-start

Reporting folder start

OLMIS-4701 Update README

Also remove an old demo data script.

OLMIS-4701 Add startup script for new demo data

For Ref Distro. Need to run demo data before the services, but need to start db so it is available.

    • -0
    • +8
    /docker-compose.demo-data.yml
OLMIS-4701 Update run-sql to latest dev image

Which has pg_dump.