Skip to content

Local Config File Samples

Tim S edited this page Jun 17, 2019 · 6 revisions

The following config files are examples of local config files for each SDK. You should create a config file with settings appropriate for your environment and objectives. For full documentation of config file options, see Config Files.

The default path for local config files when using sdkBuilder.js is platform-client-sdk-common/resources/sdk/<language>/localConfig.(yml|json). If both a .json and .yml file of the same name exist, the JSON file will be used.

Java SDK

localConfig.yml

---
envVars:
  jenkinsOverrides:
    WORKSPACE: "/git"
    BUILD_NUMBER: 900
    INCREMENT_POINT: true
  pureCloud:
    # Set this to true or provide client credentials to generate notification models
    EXCLUDE_NOTIFICATIONS: false
    PURECLOUD_CLIENT_ID: "xxx"
    PURECLOUD_CLIENT_SECRET: "xxx"
    PURECLOUD_ENVIRONMENT: "mypurecloud.com"
overrides:
  settings:
    enableLoggerColor: true
    mavenSettingsFilePath: "" 
    mavenTarget: package

JavaScript, .NET, Python, Ruby SDKs

localConfig.yml

---
envVars:
  jenkinsOverrides:
    WORKSPACE: "/git"
    BUILD_NUMBER: 900
    INCREMENT_POINT: true
  pureCloud:
    # Set this to true or provide client credentials to generate notification models
    EXCLUDE_NOTIFICATIONS: false
    PURECLOUD_CLIENT_ID: "xxx"
    PURECLOUD_CLIENT_SECRET: "xxx"
    PURECLOUD_ENVIRONMENT: "mypurecloud.com"
overrides:
  settings:
    enableLoggerColor: true
Clone this wiki locally