Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Confluence

Aspire 5
Results will update as you type.
  • What is Aspire?
  • Getting Started
  • Generative AI
  • Crawling Features
  • Rest API Usage
  • Configuration
    • Properties
    • Settings File
    • Memory settings
    • Security
    • Setting Aspire with No Internet Access (Offline)
    • Aspire 5 Repository Cloud Migration
  • How-to articles
  • Connectors
  • Publishers
  • Workflows
  • Aspire Tools
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
Settings File
Updated Apr 06

    Settings File

      The settings.json file holds environmental information (server addresses, passwords, system properties, repository settings, etc.) for your Aspire installation.

      What goes in the Settings File? This is the information to include in the settings.xml Configuration File:

      • Node configuration

      • Security configuration

      • Maven repositories

      • App Bundle properties

      • Applications to launch on startup

       

      • 1 Settings File Location
      • 2 Structure of settings.json
      • 3 Auto Start Section
        • 3.1 Both Application XML/JSON Files and App Bundles
        • 3.2 Rename Auto-Started Applications
        • 3.3 Application Properties
      • 4 Repositories Section
        • 4.1 Use Specific Versions of Bundle
      • 5 Properties
        • 5.1 Property Escaping (for Groovy Scripts)
      • 6 Properties for Applications
      • 7 Apache Felix Configuration
      • 8 Security Configuration
        • 8.1 LDAP Configuration
        • 8.2 OIDC Configuration (SSO)
        • 8.3 Simple (username & password)
      • 9 Secrets Providers
      • 10 Encryption provider 
        • 10.1 Default Encryption Provider
        • 10.2 AWS KMS Encryption Provider
      • 11 Nodes Properties
        • 11.1 Worker properties
        • 11.2 Manager properties
        • 11.3 Specifying properties for a specific node

      Settings File Location


      On startup, the Aspire application will automatically attempt to load the settings from the configured provider. Aspire by default uses Elasticsearch as a provider, and the settings are expected to be in the aspire-settings index.

      The settings file can be uploaded by using the aspire.bat/aspire.sh file with the command "-upload_settings <absolute_settings_path>"  or "-us<absolute_settings_path>" or in the case of using containers, these will be uploaded automatically on the startup. 

       

      Structure of settings.json


      The settings.json file contains sections for automatically starting system configuration files, setting Aspire system properties, and setting Apache Felix system properties. The structure is as follows:

      { "settings": { "authentication": { "tokenExpiration": "30m", "refreshExpiration": "1h", "type": "Ldap", "ldap": { "server": "ldap://oldap:389", "authentication": "simple", "bindDN": "cn=admin,dc=accenture,dc=com", "searchBase": "dc=accenture,dc=com", "userDNQuery": "(uid={user})", "groupsHoldMembers": "true", "memberAttr": "uniqueMember", "connectTimeout": "3000", "roles": [ { "dn": "cn=administrators,ou=Groups,dc=accenture,dc=com", "group": "true", "roles": [ "ADMINISTRATOR" ] }, { "dn": "cn=operators,ou=Groups,dc=accenture,dc=com", "group": "true", "roles": [ "OPERATOR" ] } ] } }, "configAdmin": { "properties": { "@pid": "org.apache.felix.webconsole.internal.servlet.OsgiManager", "property": [ { "@name": "username", "$": "admin" }, { "@name": "password", "$": "admin" }, { "@name": "manager.root", "$": "/osgi" } ] } }, "repositories": { "defaultVersion": "5.0-SNAPSHOT", "allowAutoUpdate": "true", "repository": [ { "@type": "distribution", "directory": "bundles/aspire" }, { "@type": "maven", "remoteRepositories": { "remoteRepository": { "id": "stPublic", "url": "https://accenturesca.jfrog.io/artifactory/public/" } } } ] }, "encryptionProvider": { "implementation": "com.accenture.aspire:aspire-encryption-provider", "jarName": "aspire-encryption-provider-5.0-SNAPSHOT.jar", "jarPath": "/bundles/aspire/", "className": "com.accenture.aspire.encryption.providers.AspireEncryptionProvider" }, "properties": { "property": [ { "@name": "sampleProperty1", "$": "http://localhost:8983" }, { "@name": "sampleProperty2", "$": "false" }, { "@name": "sampleProperty3", "$": "data/crawler" }, { "@name": "sampleProperty4", "$": "data" } ] }, "nodesProperties": { "worker": { "maxMemQueueSize": "1000", "queueSizeThreshold": "0.75", "cleanUpWaitTime": "300000", "cleanUpThreshold": "3600000", "maxEnqueueRetries": "5", "debug": "false", "appCleanUpWaitTime": "60000", "appCleanUpThreshold": "3600000", "tags": "", "entryProcessorBaseSleep": "200", "entryProcessorMaxSleep": "10000", "entryProcessorMaxIterations": "5", "entryProcessorMultiplier": "2", "batchLoaderBaseSleep": "200", "batchLoaderMaxSleep": "10000", "batchLoaderMaxIterations": "5", "batchLoaderMultiplier": "2", "connectionTimeout": "60000", "socketTimeout": "60000", "maxRetries": "3", "proxyHost": "", "proxyPort": "0", "proxyUser": "", "proxyPassword": "", "pingFrequency": "15000", "nodeFailureTimeout": "30000" }, "manager": { "scanBatchCreatorBaseSleep": "200", "scanBatchCreatorMaxSleep": "10000", "scanBatchCreatorMaxIterations": "10", "scanBatchCreatorMultiplier": "2", "processBatchCreatorBaseSleep": "200", "processBatchCreatorMaxSleep": "10000", "processBatchCreatorMaxIterations": "10", "processBatchCreatorMultiplier": "2", "crawlProgressManagerBaseSleep": "500", "schedulerBaseSleep": "10000", "maxBatches": "1000", "maxBatchItems": "100", "connectionTimeout": "60000", "socketTimeout": "60000", "maxRetries": "3", "proxyHost": "", "proxyPort": "0", "proxyUser": "", "proxyPassword": "", "pingFrequency": "15000", "nodeFailureTimeout": "30000", "tags": "", "workerRoundRobin": "false", "workerRoundRobinTimeout": "600000" } }, "autoStart": { "application": [ { "@config": "com.accenture.aspire:app-cf-bootloader" }, { "@enable": false, "@config": "com.accenture.aspire:app-admin-ui" } ] } } }

      Copyright © 2024 Accenture

      Contact Us: SCAAssetsSupport@accenture.com

      {"serverDuration": 37, "requestCorrelationId": "49bf2749728f46e2888cdcd5500796f1"}