The Fusion Data Mapper gets all of it's information using the Fusion Registry web services and as such the only configuration required is to tell the Fusion Data Mapper where the Fusion Registry is.
Edit the file under location so that it is pointing to your Fusion Registry server:
The locales array in this siteconfig.json file refer to which languages will be supported in the User Interface, allowing the user to change language. The Fusion Data Mapper obtains locale specific text from two sources:
1. The Fusion Registry metadata. If the Fusion Registry contains a Dataflow with a name in English and French, for example, then the Data Mapper will display the French version IF the Locale has been added to siteconfig and the user has selected this language in the User Interface.
2. The Fusion Data Mapper language file. The Fusion Data Mapper contains many labels in the User Interface, for example the Login button has the text 'Login' on the button, the login form displays the labels 'Username' and 'Password'. These labels all come from the file browser_lang_en.json when the language is set to 'en', if the language is set to 'fr' then the Data Mapper looks for the file browser_lang_fr.json. The Fusion Data Mapper is only distributed with the English labels, however the possiblility to add labels in other languages is achieved by copying this file, and changing the text accordingly.
Installation Steps - Summary
- Copy Fusion Data Mapper folder to your web application server (example Apache or Tomcat)
- Edit dist/properties/siteconfig.json to point to the public URL of your Fusion Registry
- Open your web browser, navigate to the index.html file of the Fusion Data Mapper