Skip to content

SOP for Publishing Web API

Roi Larrence Amatong edited this page Jul 28, 2021 · 3 revisions

Overview

This page contains the instructions to publish the Reserbiz Web API.

Procedures.

  1. Open Visual Studio and open the Reserbiz solution.
  2. Switch to master branch and make sure code base is synced with the origin.
  3. On the Solution Explorer, locate the project ReserbizAPP.API then right click and select Publish option.
  4. From within the Publish page, look for More option and select Edit sub-option. This will open up a dialog containing the web deploy settings. Make sure everything is ok. Normally password field is empty, if this is the case then enter the password (password is available on KeePass).
  5. Still on the publish dialog, go to Connection Section and click the Validate Connection button. This is to make sure that connection to the host server is ok. If everything is ok then close the dialog.
  6. Before doing the actual publish, if in case the publish will take some time then its better to lock the access on the Web API first to inform user that there is an ongoing system update. To do this, open Postman application and locate the request tab for updating system status (Go to Reserbiz Application -> General Information -> Update System Status), make sure its pointing to the production URL.
  7. Back on the publish main page, click the Publish button which is normally located at the upper right side of the page.
  8. If there any changes on the database that needs to be deployed do not unlock the Web API yet, instead follow the instructions found on this github wiki page https://github.com/RoiJS/Reserbiz/wiki/SOP-for-Publishing-Database-updates. Only unlock the Web API if done doing deployment on the database or there is nothing to deploy on databases.
  9. Do some post deployment testing to verify everything works just fine.