Customer Portal

how to pass parameters to graph file?

Comments 2

  • Avatar
    mvarecha
    0
    Comment actions Permalink
    Hello Albert,

    as for logging:
    WAR file contains default log4j configuration. Default logging configuration may be overriden by system property "log4j.configuration", which should contain URL to log4j config file.
    i.e. you can specify system property as jvm parameter:
    -Dlog4j.configuration=file:/home/clover/config/log4j.xml
    Since new log4j config overrides default one, I recommend to copy default log4j.xml from [WAR file]/WEB-INF/classes/log4j.xml and modify it.

    as for passing parameters to graphs:
    In version 1.3, it's possible to specify graph config properties (webGUI - section Sandboxes - select some graph file - tab "Config properties").
    It's described in manual, section "Graph config properties".
    If you want to use additional graph parameters as placeholders in graph XML, you can use common workspace.prm file.

    There is huge improvement of passing parameters in Clover Server 1.4, which is about to release.
    Additional and graph config parameters may be passed through
    * Simple HTTP API
    * Launch Services API (in addition, this API accepts data from http request as graph input data and sends transformation results in http response)
    * Task - Execution of Graph
    * RunGraph component
    When some parameter isn't specified, graph/sandbox/server default is used (with priority in this order)

    Best Regards,
    Martin
  • Avatar
    achan
    0
    Comment actions Permalink
    Thanks, Martin, for your clear and detailed explanation.

    albert :)

Please sign in to leave a comment.