1.3.5.5.3.1 Configuring Deployment Descriptor for PGQL on PGX

To configure the Graph Visualization application to communicate with a graph server (PGX) deployment (PGQL on PGX):
  1. Edit the value for the graphviz.driver.class context parameter as shown:
    <context-param>
    	<param-name>graphviz.driver.class</param-name>
    	<param-value>oracle.pgx.graphviz.driver.PgxDriver</param-value>
    </context-param>
  2. Modify the pgx.base_url context parameter to match your PGX deployment endpoint. Use the correct FQDN or IP address, along with the correct port.
    <context-param>
    	<param-name>pgx.base_url</param-name>
    	<param-value>http://localhost:8080/pgx</param-value>
    </context-param>

    Note:

    This step does not have any effect if you use graph visualization in standalone mode (RPM installation). The PGX base URL is set automatically to point to the local PGX server.
  3. Disable secure cookies if using http:
    <session-config>
    	<tracking-mode>COOKIE</tracking-mode>
    	<cookie-config>
    		<secure>false</secure>
    		<http-only>true</http-only>
    	</cookie-config>
    	<session-timeout>60</session-timeout>
    </session-config>

    When the Graph Visualization application is using PGQL on PGX the application will use your Oracle Database as identity manager by default. This means that you log into the application using existing Oracle Database credentials (username and password), and the actions which you are allowed to do on the graph server are determined by the roles that have been granted to you in the Oracle Database.