Fusion Security Manager Configure

From Fusion Registry Wiki
Revision as of 06:24, 11 September 2023 by Vmurrell (talk | contribs)
Jump to navigation Jump to search

Fusion Security Manager (FSM) contains two Configuration files which are in the dist/properties folder. These are in .json format but can easily be edited using a simple tool such as notepad as long as you use the correct json syntax.

FSM Config Files.png

siteconfig.json

Defines where the API will find the connected Fusion Registry and defines which Locales are supported and generates a language picker in the User interface. For example:

{
 "ServicesAPI" : "http://localhost:8063/FusionRegistry/ws/fusion/info/product",
 "Locales" : ["en"]
}

Adding additional locales Add the appropriate code as show below

  "Locales" : ["en", "he", "ru"]

browser_lang_en.json

The browser_lang_[locale].json file contains a map of property name to human readable label, for example:

  "btn.add.connection" : "Add Connection",

The Language configuration file is used to decode labels on the User Interface. Any metadata (Dataflows, Concepts, Codes) used by the Data Portal come from the web service, requested in the selected locale - as such the language configuration file does not play a role in decoding values in the retrieved metadata.