Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step

Action

Expected system response

Comment

1

go on swagger and check all facility Ftp Settings endpoints                                                                                                                                                                             

2

check endpoint for delete facility Ftp Settings:

delete /facilityFtpSettings/{id}

id: 312247e0-7c31-4b6c-b35c-1868e5a19742


 

Check by get if it still egzisting:GET


3

check endpoint

get /facilityFtpSettings/{id}


4

check endpoint

put /facilityFtpSettings/{id}


56

check endpoint

post /facilityFtpSettings

Body:

{

    "id": "ce88d3b1-0518-42fb-8fc1-e47ad80c7134",

    "facilityId": "19121381-9f3d-4e77-b9e5-d3f59fc1639e",

    "protocol": "ftp",

    "username": "admin",

    "password": "p@ssw0rd",

    "serverHost": "ftp",

    "serverPort": 21,

    "remoteDirectory": "/orders/files/csv/W01",

    "localDirectory": "/var/lib/openlmis/fulfillment/orders/W01",

    "passiveMode": true

}


Image Added

Check by GET

Image Added