From a927ba095d2b239f1b2b99b60a1ea79831dfd4a5 Mon Sep 17 00:00:00 2001 From: Clinton Alexander Date: Tue, 11 Oct 2016 13:29:44 +0100 Subject: [PATCH] Removed isNotary part of DSL in response to it being removed from the configuration interface. --- .../src/main/groovy/com/r3corda/plugins/Node.groovy | 11 ----------- .../resources/com/r3corda/plugins/nodetemplate.conf | 1 - 2 files changed, 12 deletions(-) diff --git a/gradle-plugins/cordformation/src/main/groovy/com/r3corda/plugins/Node.groovy b/gradle-plugins/cordformation/src/main/groovy/com/r3corda/plugins/Node.groovy index 492e07638d..c47e980812 100644 --- a/gradle-plugins/cordformation/src/main/groovy/com/r3corda/plugins/Node.groovy +++ b/gradle-plugins/cordformation/src/main/groovy/com/r3corda/plugins/Node.groovy @@ -16,7 +16,6 @@ class Node { public String name private String dirName private String nearestCity - private Boolean isNotary = false private Boolean isHttps = false private List advertisedServices = [] private Integer artemisPort @@ -54,15 +53,6 @@ class Node { this.nearestCity = nearestCity } - /** - * Sets whether this node will be a notary - * - * @param isNotary True if this node is a notary. - */ - void notary(Boolean isNotary) { - this.isNotary = isNotary - } - /** * Sets whether this node will use HTTPS communication. * @@ -207,7 +197,6 @@ class Node { "name": name, "dirName": dirName, "nearestCity": nearestCity, - "isNotary": isNotary, "isHttps": isHttps, "advertisedServices": advertisedServices, "networkMapAddress": networkMapAddress, diff --git a/gradle-plugins/cordformation/src/main/resources/com/r3corda/plugins/nodetemplate.conf b/gradle-plugins/cordformation/src/main/resources/com/r3corda/plugins/nodetemplate.conf index 8499cdf640..8ba650c3ef 100644 --- a/gradle-plugins/cordformation/src/main/resources/com/r3corda/plugins/nodetemplate.conf +++ b/gradle-plugins/cordformation/src/main/resources/com/r3corda/plugins/nodetemplate.conf @@ -5,7 +5,6 @@ keyStorePassword : "cordacadevpass" trustStorePassword : "trustpass" artemisAddress : "localhost:$artemisPort" webAddress : "localhost:$webPort" -hostNotaryServiceLocally: $isNotary extraAdvertisedServiceIds: "$advertisedServices" networkMapAddress : "$networkMapAddress" useHTTPS : $isHttps