Configuration

Configuration of the GPIR Browser Portlet is simple and only requires modification to the portlet deployment descriptor (portlet.xml). If using the GridPort Demo Portal, this file will be located in demo-portal/src/conf/portlet.xml.gpir-browser-2. If deploying the portlet to your own portal, the file will be located in gpir-browser-2/src/webapp/WEB-INF/portlet.xml Open the descriptor and go to the section of XML that looks like this:

        <init-param>
            <name>gpir.ws.url</name>
            <value>http://localhost:8080/gpir/webservices</value>
        </init-param>
        <init-param>
            <name>gpir.vo</name>
            <value>TEST_VO</value>
        </init-param>
        <init-param>
            <name>use.access.control</name>
            <value>false</value>
        </init-param>
        ...

  • The first init param you need to modify is 'gpir.ws.url'. The WSURL specifies the Web service URL at which your GPIR service is running.
  • The second init param you need to modify is 'gpir.vo'. The VO specifies which Virtual Organization you want to display data about. Modify this to be the VO that you have configured in GPIR.
  • The third init param you need to modify is 'use.access.control'. Enabling this parameter will result in the job queues being visible only to logged-in users. Guest(not logged-in) users will still be able to view the Gpir Browser but will not have access to the job queue. To enable this feature, simple set the value of this ini-param to 'true'.By default this feature is disabled.

After editing the configuration of this portlet, you must redeploy the portlet and restart Tomcat.