From fc300130de5390a7161dfe11198e737881e92619 Mon Sep 17 00:00:00 2001 From: Chris Rankin Date: Tue, 31 Jan 2017 11:10:56 +0000 Subject: [PATCH] Add cash and issuer services to DemoBench. --- .../main/kotlin/net/corda/demobench/model/ServiceController.kt | 2 +- tools/demobench/src/main/resources/services.conf | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/demobench/src/main/kotlin/net/corda/demobench/model/ServiceController.kt b/tools/demobench/src/main/kotlin/net/corda/demobench/model/ServiceController.kt index 2804d8ea6b..5cf0c61fc7 100644 --- a/tools/demobench/src/main/kotlin/net/corda/demobench/model/ServiceController.kt +++ b/tools/demobench/src/main/kotlin/net/corda/demobench/model/ServiceController.kt @@ -13,7 +13,7 @@ class ServiceController : Controller() { get() = serviceSet private fun loadConf(url: URL): List { - val set = HashSet() + val set = TreeSet() InputStreamReader(url.openStream()).readLines().forEach { val service = it.trim() set.add(service) diff --git a/tools/demobench/src/main/resources/services.conf b/tools/demobench/src/main/resources/services.conf index 790f51d8dc..5763eca0ca 100644 --- a/tools/demobench/src/main/resources/services.conf +++ b/tools/demobench/src/main/resources/services.conf @@ -1,3 +1,6 @@ corda.notary.validating corda.notary.simple corda.interest_rates +corda.issuer.USD +corda.issuer.GBP +corda.cash