Angel Service Configuration Parameters

The configuration references for the Angel Service are given below:

  • pollingTimeSeconds: (Optional) The time in seconds to wait before polling the Zone Service.

  • networkParametersFile: The path to the network parameters file. This is the plain-text version of the network parameters used when setting the initial network parameters. This is not the binary network-parameters file that Corda nodes use. Only used for the NETWORK_MAP service type.

  • webServiceHost: (Optional) The IP address for the Angel web service to bind to.

  • webServicePort: (Optional) The port for the Angel web service to run. Must be specified for the web service to be started.

  • service:

    • type: The main class of the plugin being loaded.

    • jarFile: (Optional - defaults to one of: identitymanager.jar, networkmap.jar, signer.jar) The path to the service JAR.

    • ssl: See SSL Settings.

    • pluginJar: (Optional) The absolute path to the JAR file of the workflow plugin.

    • networkRootTrustStore: Information about the network root trust store file.

      • location: The path to the network parameters file. Only used for the Network Map Service.

      • password: The password for the truststore file.

      • rootAlias: The root alias.

  • zone:

    • host: The host or IP address of the Zone Service.

    • port: The port number of the Zone Service.

    • authToken: The Authentication token used to interact with the Zone Service.

pollingTimeSeconds = 10 // Optional
webServiceHost = "127.0.0.1" // Optional
webServicePort = "6000" // Optional

service = {
  type = IDENTITY_MANAGER
  jarFile = "identitymanager.jar"
  ssl = {
    keyStore = {
      location = "exampleSslKeyStore.jks"
      password = "password"
    }
    trustStore = {
      location = "exampleSslTrustStore.jks"
      password = "trustpass"
    }
  }
}

zone = {
  host = "127.0.0.1"
  port = 5061
  authToken = d63d091c-2e1a-4323-8db2-11e9c5b9e804
}
pollingTimeSeconds = 10 // Optional
webServiceHost = "127.0.0.1" // Optional
webServicePort = "6000" // Optional
networkParametersFile = "network-parameters"

service = {
  type = NETWORK_MAP
  jarFile = "networkmap.jar"
  ssl = {
    keyStore = {
      location = "exampleSslKeyStore.jks"
      password = "password"
    }
    trustStore = {
      location = "exampleSslTrustStore.jks"
      password = "trustpass"
    }
  }
  networkRootTrustStore = {
    rootAlias = "cordarootca"
    location = "exampleNetworkRootTrustStore.jks"
    password = "trustpass"
  }
}

zone = {
  host = "127.0.0.1"
  port = 5061
  authToken = d63d091c-2e1a-4323-8db2-11e9c5b9e804
}
pollingTimeSeconds = 10 // Optional

service = {
  type = SIGNER
  jarFile = "signer.jar"
  ssl = {
    keyStore = {
      location = "exampleSslKeyStore.jks"
      password = "password"
    }
    trustStore = {
      location = "exampleSslTrustStore.jks"
      password = "trustpass"
    }
  }
}

zone = {
  host = "127.0.0.1"
  port = 5061
  authToken = d63d091c-2e1a-4323-8db2-11e9c5b9e804
}

To view the latest changes to the obfuscated configuration files, see Obfuscation configuration file changes.

Was this page helpful?

Thanks for your feedback!

Chat with us

Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.

Propose documentation improvements directly

Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.

We're sorry this page wasn't helpful. Let us know how we can make it better!

Chat with us

Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.

Create an issue

Create a new GitHub issue in this repository - submit technical feedback, draw attention to a potential documentation bug, or share ideas for improvement and general feedback.

Propose documentation improvements directly

Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.