1131: Problems with blue

1131: Problems with blue

Test Case #:1131

Test Case Name: Problems with blue

System: openLMIS

Subsystem: blue

Test case designed by: Anna Czyrko

Design Date:2.12.2016

Short description

This ticket consist of three separate tickets: OLMIS-1263: Nginx-proxy duplicates upstreams, OLMIS-1264: Notification service in blue breaks if external db url provided, OLMIS-1265: Services fail to boot when restarting Blue

 

                                                                                                                                                   

Pre – conditions:

                                                                                                                                                                                                                                                       

 

 

Step

Action

Expected system response

Comment

1

In Terminal enter:

cd openlmis-blue

service docker start

docker-compose pull

docker-compose up

 

                                                                                                           

                                                 

2

restart docker

 

Service will not fail after restarting docker.

3

stop docker. In Terminal enter:

service docker stop

 

 

 

4

 Change in .env file DATABASE_URL for DATABASE_URL=jdbc:postgresql://IP_ADDRESS:5432/open_lmis 


Should fail

5

 Change in .env file DATABASE_URL for DATABASE_URL=jdbc:postgresql://db:5432/open_lmis everythink should work properly,

 

Should pass

6

Stop docker and switch service for requisition. Start dev container.

 

 

7

Run gradle bootRun

 

 

8

Launch blue

 

9

Restart blue

 

 

 

Post – conditions:

 

 

OpenLMIS: the global initiative for powerful LMIS software