chongsun ahn <> in openlmis-contract-tests

OLMIS-4982 Fix contract tests for fixed bug

Since order-related columns are hidden, they should be removed from contract tests.

OLMIS-4871 Fix requisition contract test

Needs database to be reset to a baseline before each scenario. Java implementation wasn't working, so doing it via Postgres tools.

Make max Java heap size match mem limit

Seems to resolve some exit code 137 issues, like OutOfMemoryError GC overhead limit exceeded.

OLMIS-4871 Fix reference data contract tests

They were failing because right assignment regeneration was not finishing before the tests started, so modifying resources was not working because of permissions. Add some pauses in the contract tests to give enough time for right assignment regeneration.

Increase mem limit to 512m for db container

To see if it will fix the errors:

* PSQLException: This connection has been closed

* PSQLException: FATAL: the database system is in recovery mode

OLMIS-4017 Add dispensables to referencedata db schema

So dispensable data is loaded for contract tests.

Update contract test configurations

* All configurations need to use docker dev image v3

* Auth service should be bumped to latest snapshot

* Nginx should be bumped to v4

* Requisition should not load old refUI image and should load latest snapshot image of stock management

* Stock management contract tests should be using latest snapshot image and should not use its own auth image

Add new services to logging config

Change CCE demo data loading to use Spring profiles

Bump reference data

Bump to 9.0.0-SNAPSHOT, since reference data is moving to this version.

OLMIS-3030 Add right assignments to reference data demo data

So that contract tests will pass when using the new way to check permissions.

OLMIS-2811 Update contract tests to enable Spring profile refresh-db

This is so when running reference data for contract tests, the DB is refreshed (for right assignments).

OLMIS-2413 Update Postgres image to 9.6 with PostGIS

Update postgres image to 9.6 with postgis extension.

Update contract tests to use next snapshot version of auth and fulfillment

Since auth and fulfillment components have been released, contract tests should use next snapshot versions.

OLMIS-1933 Change infrastructure/dev images from latest to 1

Moving away from latest to versioned image.

OLMIS-1933 Switch from using public env file

Instead of curling the public env file and replacing mail settings (including password!) before running the contract tests, we should have CI have a private env file in each contract test job.

OLMIS-1933 Change postgres image from latest to 9.4

Moving away from latest to versioned image.

OLMIS-1726 Rename months in contract test demo data

Max and min stock uses periods instead of months, doses per month is doses per patient, and remove maxMonthsStock in program orderables.