Change the config path for CLI

Tagged: ,

This topic has 3 replies, 3 voices, and was last updated 6 years, 4 months ago by laurent.bristiel.

  • Author
    Posts
  • #3164
     Brad Tumy
    Participant

    By default the CLI tool uses the configuration found in /openidm/conf … if we are using another configuration directory (e.g. /openidm/acme/conf ) is it possible to have the CLI tool use this conf directory instead of the default? Specifically I am wanting to use the validate tool to validate the files found in the acme directory instead of the default conf.

    One work-around would be to copy all of the customer’s customizations to the default conf directory but we would prefer keeping the customizations in a separate folder to ease the deployment and possibly recovery process.

    Thanks,
    Brad

    #3167
     Mike Jang
    Spectator

    Hi Brad,

    I assume you’re familiar with the samples in the /path/to/openidm/samples directory. I think each sample in that folder includes a conf subdirectory.

    For example, when you start OpenIDM with the files associated with Sample 1 e.g. ./startup.sh -p samples/sample1, OpenIDM uses the configuration files in the samples/sample1/conf subdirectory.

    (OpenIDM would then also use files from the included data and script subdirectories)

    Thanks,
    Mike

    #3168
     Brad Tumy
    Participant

    Thanks for your response Mike. I understand OpenIDM will use the conf under the project folder (specified with the -p) but the ./cli.sh (or .bat) seem to still default to the conf in the root OpenIDM folder.

    #3169
     laurent.bristiel
    Participant

    Indeed Brad. There is no argument in cli.sh to target another conf directory. You might enter a request for improvement in OpenIDM Jira.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

©2021 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?