Commit Graph

95 Commits

Author SHA1 Message Date
Clinton
9a5bba9c04 Created a Kotlin node runner (#367)
* Added a cross platform node runner to replace scripts.

* Added runnodes shell and batch files back.

* Node runner supports new webserver format.

* Runnodes now runs correctly on OSX

* Intermediate commit. Squash me.

* Upgdated gradle plugins version number to 0.10.1

* Further inlined more functions.

* Text display changes for noderunner.
2017-03-22 14:08:23 +00:00
Mike Hearn
1d6fe30f03 Minor: set file mode explicitly so corda.jar is executable on UNIX when copying from a downloaded jar 2017-03-21 18:01:17 +01:00
Ross Nicoll
486368d926 Clean up messaging/RPC port configuration and docs (#296)
* Non-ssl artemis acceptor for RPC connection. (#271)

* New non-ssl acceptor in artemis server for RPC connection.

* Rename artemisAddress with messagingAddress

Rename artemisAddress with messagingAddress so that the node configuration file properties match
the code variable names.
Rename artemisPort to messagingPort in Gradle configuration to match node configuration naming.

* Add rpcPort configuration option for Gradle

* Update docs to reflect changes to RPC port configuration

* Renumber ports in example CorDapp to match numbering used elsewhere

* Restructure upgrade guide

* added config file checks on corda startup to make the upgrade path a bit smoother.
2017-03-17 10:32:14 +00:00
Mike Hearn
a9412b32f3 Allow web servers to be suppressed in runnodes 2017-03-10 17:27:19 +01:00
Clinton Alexander
f786ff9312 Correct CRLF for BAT files and fixed templating of JAR names. 2017-02-27 16:42:28 +00:00
Clinton Alexander
75ff04d5a7 Webserver is now deployed as a capsule. 2017-02-27 16:42:23 +00:00
Clinton Alexander
8414c97a61 Moved JsonSupport to new webserver module. Fixed a few compile errors.
Fixed compile issues caused by webserver being split to a separate project.
WebServer now starts and stops correctly as a separate module.
2017-02-27 16:41:48 +00:00
Clinton Alexander
5516093a59 Modified title of the webserver on systems using xterm to run nodes. 2017-02-22 11:51:05 +00:00
Shams Asari
c7abbe8791 Converting groovy GStrings to normal strings for ConfigValueFactory 2017-02-21 20:15:06 +00:00
Shams Asari
7181b697a3 extraAdvertisedServiceIds config is now a list of strings, rather than a comma separated string 2017-02-21 15:21:37 +00:00
Clinton Alexander
4b71b60066 Cordformation now correctly includes and excludes cordapps. 2017-02-10 15:44:04 +00:00
Clinton Alexander
3482452c8b Added webserver to runnodes. 2017-01-27 14:15:08 +00:00
Clinton Alexander
e38167c500 runnodes.bat no longer recursives when creating nodes. 2017-01-11 11:37:20 +00:00
Shams Asari
7cd281364f Removed basedir from the config file as it's always overwritten by the --base-directory cmd line arg 2017-01-10 10:49:28 +00:00
Mike Hearn
7247e7280f Two runnodes fixes for MacOS X:
1) Support users who run non-bash shells
2) Use /usr/bin/libexec to pick the right Java version, as currently Corda does not start on Java 9
2017-01-06 12:36:49 +01:00
Clinton Alexander
b49c97d409 runnodes.bat returns the user to the original directory. 2017-01-05 16:07:31 +00:00
Clinton Alexander
857de9df49 runnodes.bat can now run the nodes from any working directory and not cause an infinite loop and system crash. 2017-01-05 15:57:32 +00:00
Shams Asari
08e391579c Node verifies the peer it connects to by checking its TLS common name 2017-01-05 14:22:11 +00:00
Clinton Alexander
884ffffd62 Fixed a bug with building gradle plugins due to an invalid version number used. 2017-01-05 14:11:58 +00:00
Mike Hearn
119d00c384 Upgrade dependencies and centralise some more version numbers in the root gradle file 2017-01-04 15:44:56 +01:00
Clinton Alexander
ba321121e5 Fixed instructions in readme 2016-12-09 15:05:18 +00:00
Clinton Alexander
2f61340945 Fixed review comments. 2016-12-08 16:58:22 +00:00
Clinton Alexander
5b4babf329 Removed redundant gradle extension variable to reduce complexity of build.gradle and clear up the process of changing the version numbers. 2016-12-08 12:18:26 +00:00
Clinton Alexander
f1daae0491 To avoid needing to bump three different files upon updates, a common publish properties file has been added. 2016-12-06 16:29:15 +00:00
Clinton Alexander
87e5c9bf46 Added documentation and buildscript to allow full bootstrapping without modifying build files. 2016-12-06 16:14:06 +00:00
Clinton Alexander
1b052b07ec Returned to using more readable bintray syntax. 2016-12-06 16:06:16 +00:00
Clinton Alexander
a6d1a07670 Added documentation for the new publishing functionality of publish-utils. 2016-12-06 16:06:16 +00:00
Clinton Alexander
41b0b6c0b1 Re-added the capsule file. Fixed deploy with another publish option. 2016-12-06 16:06:16 +00:00
Clinton Alexander
1463cd2b37 Renamec capsule module to corda. 2016-12-06 16:06:16 +00:00
Clinton Alexander
b24c628e34 Publications now publish JARs again. Install task now publishes again. 2016-12-06 16:06:16 +00:00
Clinton Alexander
bf49dda731 Corda now publishes with updated publish utils. 2016-12-06 16:06:16 +00:00
Clinton Alexander
4b2d786724 Bintray configuration block now contains all fields required for the bare minimum POM. 2016-12-06 16:06:16 +00:00
Clinton Alexander
6ac7b9384d All gradle plugins can now be published with the publishing plugin. 2016-12-06 16:06:16 +00:00
Clinton Alexander
e751d80c00 Added documentation for bintray configuration. 2016-12-06 16:06:16 +00:00
Clinton Alexander
6bc118b997 Quasar utils now follows the format required by the new publishing utilities gradle plugin. 2016-12-06 16:06:16 +00:00
Clinton Alexander
46ddd3bd0e Publish utils no longer needs a configuration block per project, just one bintray configuration per project providing it fits certain criteria. 2016-12-06 16:06:16 +00:00
Clinton Alexander
4eb7d3db11 Added more publish utilities for simplifying bintray configuration per project to reduced boilerplate. 2016-12-06 16:06:16 +00:00
Clinton Alexander
1f88d0fa76 Updated plugin versions. 2016-11-30 15:44:09 +00:00
Clinton Alexander
74ea6ab0df Fixed runnodes when JAVA_HOME is not set. 2016-11-30 15:43:27 +00:00
Mike Hearn
5ba9e7a396 Start M7 2016-11-29 20:15:24 +00:00
Clinton Alexander
cc2b472947 Corrected version of the gradle plugins for publishing. 2016-11-29 16:16:15 +00:00
Clinton Alexander
426bae625a Fixed most duplicate dependencies between cordapps and the corda.jar. 2016-11-29 15:00:02 +00:00
Clinton Alexander
c3c0b4b25a Added a fix for the duplicat log4j bindings. 2016-11-29 14:18:01 +00:00
Andrius Dagys
32451bac1d Upped gradle plugin version 2016-11-25 17:11:27 +00:00
Andrius Dagys
946cfda03e Added a distributed notary demo that runs a notary cluster and gets several transactions notarised 2016-11-25 17:09:57 +00:00
Clinton Alexander
1d789d3a45 Fixed gradle plugins version. 2016-11-25 16:39:18 +00:00
Clinton Alexander
2d444fe42b Re-unified the gradle plugin versions. 2016-11-25 16:34:32 +00:00
Clinton Alexander
94166484ca Fixed whitespace issue and documentation. 2016-11-25 16:21:02 +00:00
Clinton Alexander
1e025bded2 Moved the version numbers for the gradle plugins into the individual projects. Added RPC user configuration block. Reformated groovy code with IntelliJ auto refactor. 2016-11-25 15:52:33 +00:00
Clinton Alexander
7858a76542 Merged in clint-gpgpassword (pull request #541)
Due to updated GPG key that requires a passphrase a passphrase block has been added.
2016-11-24 18:24:46 +00:00