ServiceBuild

data class ServiceBuild(val name: String, val contexts: List<String>, val source: String)

The service a build names, as the service module's jar carries it at RESOURCE: the name of the merged Manifest (wow { service }, else the name the contracts of its contexts give, else its project's) and the contexts it serves. The Gradle plugin's service role writes it with the Manifest (mergeWowManifest); the node refuses to start under another name for those contexts. A build without the plugin writes none, and nothing is compared.

A class path may hold several, one per service module on it: a test that runs several services in one process. The builds that name a context the node serves are the ones its name is compared with.

Constructors

Link copied to clipboard
constructor(name: String, contexts: List<String>, source: String)

Types

Link copied to clipboard

Properties

Link copied to clipboard

the contexts the service serves, its own: no peer's.

Link copied to clipboard

the service's name, the merged Manifest's.

Link copied to clipboard

where it was read: the resource's URL.