iRING Deployment Resources

iRING Interface Service

  1. Install Joseki into C:\Joseki-3.3.
  2. Set JOSEKIROOT environment variable to C:\Joseki-3.3
    (Recommended - variation requires a change to %JOSEKIROOT%\webapps\joseki\WEB-INF\web.xml after running mod_joseki)
    To set up the environment variable, follow steps below:
    1. Open Control Panel and select System.
    2. Go to the Advanced tab.
    3. Click the Environment Variables button. Select the "new" button for the upper frame to create a new environment variable
    4. Enter JOSEKIROOT as the Varible Name and C:\Joseki-3.3 as Variable Value
  3. Setup an "iring" schema and user account with password "camelot" in MySQL database and provide privileges.
    To set up "iring" schema, follow steps below:
    1. Go to MySQL Administrator and click on Catalogs.
    2. In the window down below, right click and select Create New Schema.
    To provide privileges to "iring" schema, follow steps below:
    1. Go to MySQL Administrator and click on User Administration.
    2. Select iring and assign all the Available priveleges to Assigned Privileges.
    3. Click Apply changes.
  4. Run mod_joseki from InterfaceService directory
  5. From JOSEKIROOT
    1. Modify setclasspath.bat according to your environment.
    2. Run setclasspath to configure the java environment for the following commands.
    3. Create the default graph in the MySQL database by running dbcreate data.
    4. Create the Interface Service by running create-service.
    5. Start the Interface Service by running net start josekisvc.
  6. Browse the following Uri: http://localhost:2020

iRING WCF Services and Silverlight Apps

  1. Create iRINGWeb folder on appropriate drive on the server.
  2. Copy AdapterService, MappingEditor, RDSWIPEditor, and ReferenceDataService folders into the iRINGWeb folder.
  3. Create an application for each subfolder of iRINGWeb from IIS Manager.
    • Select Read and Execute permission.
    • For IRINGFramework and RDSWIPEditor, add "application/x-silverlight-app" MIME Type for .xap file extension.
  4. Edit AppSettings in each Web.config.
    • AdapterService (http://localhost/AdapterService/Service.svc)
      1. CSDLPath - Path of your CSDL file.
      2. connectionStrings\add where name="Entities"
        (actually not under appSettings.) - This is the Entity Framework connection string. It contains the ADO.NET connection string for your legacy database as well as the location of Entity Framework artifacts, including CSDL file.
    • MappingEditor (http://localhost/MappingEditor) (http://localhost/MappingEditor/Default.aspx)
      1. AdapterServiceUri - Base URI of the AdapterService.
      2. AdapterProxyCredentialToken - Credential token for AdapterService proxy server.
      3. AdapterProxyHost - AdapterService proxy server name.
      4. AdapterProxyPort - AdapterService proxy port number.
      5. ReferenceDataServiceUri - Base URI of the ReferenceDataService.
      6. ReferenceDataProxyCredentialToken - Credential token for ReferenceDataService proxy server.
      7. ReferenceDataProxyHost - ReferenceService proxy server name.
      8. ReferenceDataProxyPort - ReferenceService proxy port number.
    • RDSWIPEditor (http://localhost/RDSWIPEditor) (http://localhost/RDSWIPEditor/Service.svc)
      1. OntologyServiceUri - Base URI of the ReferenceDataService.
    • ReferenceDataService (http://localhost/ReferenceDataService/Service.svc)
      1. ClassRegistryBase - URI of the RDSWIP part4 endpoint
        (typically http://rdl.rdlfacade.org/data#).
      2. TemplateRegistryBase - URI of the RDSWIP part7 endpoint
        (typically http://tpl.rdlfacade.org/data#).
      3. ProxyCredentialToken - Credential token for ReferenceDataService proxy server.
      4. ProxyHost - ReferenceDataService proxy server name.
      5. ProxyPort - ReferenceDataService proxy port number.