Clone
 

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

Do not expose 8083 externally

For Debezium Connect originally.

Fix casper-elmis to be part of the Casper security group

    • -0
    • +1
    /provision/terraform/uat/casper-elmis/main.tf
OLMIS-6427 Change Casper v3 server to v3.6

Do not use latest snapshot, as the code is unstable and changes quickly.

OLMIS-6424 Add waiting period

Kind of hacky. Need to make sure the system is up when loading the demo data; otherwise, there may be conflicts in data loading.

    • -0
    • +1
    /deployment/casper_env/deploy_to_env.sh
OLMIS-6424 Load Casper demo data after deployment

Also, update requisition service version.

    • -3
    • +3
    /deployment/casper_env/deploy_to_env.sh
OLMIS-6424 Remove unnecessary file copy

    • -1
    • +0
    /deployment/casper_env/deploy_to_env.sh
OLMIS-6424 Load Casper demo data during deployment

Similar to how perftest does it.

    • -0
    • +4
    /deployment/casper_env/deploy_to_env.sh
OLMIS-6427 Add eLMIS-pipeline bridge network

So default networks can be taken down and up, but eLMIS and the pipeline will be using a custom network that always exists.

OLMIS-6425 Change Postgres from 9.4 to 9.6

To match our Ref Distro. This does not simply work, as Postgres for RDS instance will need to be upgraded to 9.5 first, then its PostGIS updated (using ALTER EXTENSION postgis UPDATE TO '2.2.5';), then upgraded to 9.6 (and ALTER EXTENSION postgis UPDATE; again).

OLMIS-6425 Add security group id variable to override

Not all instances may be on the same security group. This allows Casper instance to be on a different security group, with more open inbound ports. More ports were opened for all instances because it is unclear how to add more listener ports to each individual instance. Seems like listeners can be set with a list (https://github.com/hashicorp/terraform/issues/9807), which could be a variable, but a default list of listeners cannot have interpolations (https://github.com/hashicorp/terraform/issues/18069), which may have been fixed in v0.12. For now, we just add the listeners.

    • -1
    • +22
    /provision/terraform/modules/openlmis/network.tf
    • -0
    • +1
    /provision/terraform/uat/casper/main.tf
    • -0
    • +4
    /provision/terraform/uat/casper/variables.tf
Merge pull request #19 from pgarrison/casper

Casper provisioning & deployment for OpenLMIS

Change stock management service version to 4.1.0-SNAPSHOT

Update demo-v3 config to match Ref Distro

Mainly moving away from old demo data loading.,

    • -8
    • +8
    /deployment/demo_env/docker-compose.yml
Update demo-v3 to v3.4.0

For 3.4 release.

Bump up UAT Java mem limit to 2048m

To match UAT3 and UAT4, for consistency among UAT servers.

    • -1
    • +1
    /deployment/uat_env/docker-compose.yml
Change uat3 and uat4 to not restore from a snapshot

It should reset db to whatever is in the settings.env, which should be set to demo data. Also docker config needs to be updated to remove old demo data config.

    • -11
    • +0
    /deployment/uat3_env/deploy_to_env.sh
    • -4
    • +4
    /deployment/uat3_env/docker-compose.yml
    • -11
    • +0
    /deployment/uat4_env/deploy_to_env.sh
    • -4
    • +4
    /deployment/uat4_env/docker-compose.yml
Reduce logging to UAT2

To keep from running out of space so quickly.

OLMIS-4701 Perf test cleaning existing schema in demo data image

Cannot clean schema through script in case docker host does not have access to db instance. Rather, should do it through the demo data container, right before creating it.

OLMIS-4701 Update perftest config to use new demo data image

For stock management.

    • -0
    • +32
    /deployment/shared/clean_schema.sh
Revert "OLMIS-4701 Update test config to use new demo data"

This reverts commit d6e7b110f20eba3d60e48795230464a3759f8ad5.

    • -6
    • +1
    /deployment/test_env/docker-compose.yml
OLMIS-4701 Update test config to use new demo data

For stock management.

    • -1
    • +6
    /deployment/test_env/docker-compose.yml
Revert "OLMIS-4701 Update test config to use new demo data"

This reverts commit ac3af3517fe02e250f6cf91d8f93fc1e63964828.

    • -7
    • +1
    /deployment/test_env/docker-compose.yml
OLMIS-4701 Update test config to use new demo data

For stock management.

    • -1
    • +7
    /deployment/test_env/docker-compose.yml
Revert "Update UAT2 to the latest code"

This reverts commit 69f9e9997ea37539cb836cbf891f512306df4a4b.

Update UAT2 to the latest code

In preparation for demo, to have the latest translated strings.

Update UAT2 to 3.3 release version

Update demo v3 docker config

So it does not use old demo data loading approach.

    • -1
    • +12
    /deployment/demo_env/docker-compose.yml
Update demo, perftest and UAT deployment environments

Demo should be on 3.3.0 release, and perftest and UAT should match test.

Update UAT to latest snapshot

To regression test latest UI changes in preparation for release.

Update perftest reference UI to RC3

To be able to test batch approve.