The pre-reg version should be fetched from API applicationconfig as done in Admin

Story point estimate

Description

So, the pre-reg version should be taken care via API as it is Hardcoded and always has to manually change.

As done in Admin UI the version is fetched version in applicationconfig

URL : https://qa.mosip.net/v1/masterdata/applicationconfigs [GET]

Response
{"id":null,"version":null,"responsetime":"2021-02-09T12:24:58.629Z","metadata":null,"response":{"primaryLangCode":"eng","secondaryLangCode":"ara","version":"1.1.4"},"errors":null}

Environment

qa

Attachments

2
  • 29 Mar 2021, 11:58 AM
  • 29 Mar 2021, 11:58 AM

Activity

Show:

Chandra Keshav Mishra April 26, 2021 at 11:41 AM
Edited

If this is the only place where it is present then we need to add it from the config-server as it will change based upon the version of config server changed instead of hardcoding that in the property file

Anushree N March 29, 2021 at 11:58 AM

Verified in qa environment.


Version is been fetched from the config file.
https://qa.mosip.net//preregistration/v1/login/config

ajay.j2@mindtree.com February 25, 2021 at 10:38 AM

fetching from property file instead of hardcoded in package.json file

Fixed

Details

Assignee

Reporter

Severity

Major

Affects versions

Fix versions

Closed Date

Mar 29, 2021, 11:59 AM

Rootcause

Coding issue

Priority

Created February 9, 2021 at 12:27 PM
Updated April 26, 2021 at 11:42 AM
Resolved February 25, 2021 at 10:37 AM