Master Branch Build Status

This module adds support to enable FusionReactor on the servers you start inside CommandBox.

Installation

Install the module like so:

install commandbox-fusionreactor

Configuration

This will automatically add the JVM args into any server you start using the server start command.

Add your FusionReactor license like so:

fusionreactor register "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"

You can get a FusionReactor trial, or if you need to purchase a license, visit here: https://www.ortussolutions.com/products/fusion-reactor

Usage

FusionReactor will choose a random, unused port to bind to. Check the console when starting the server to see what it is.

You can open the FusionReactor web admin by running the following command:

fusionreactor open

Additional Configuration

You can override the default settings for a single server with the following properties in your server's server.json.

# Disable the module
server set fusionreactor.enable=false
# Set a custom port
server set fusionreactor.port=8088
# set your license key
server set fusionreactor.licenseKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
# Override the jar download to a custom URL of your choice
server set fusionreactor.downloadURL=http://site.com/custom/path/fusionreactor.jar
# Where the jar downloads to internally. Change this to force a new download
server set fusionreactor.jarPath=/FR-home/fusionreactor-custom.jar

You can configure the defaults for all servers in the Config Setting server defaults.

config set server.defaults.fusionreactor.enable=false
config set server.defaults.fusionreactor.port=8088
config set server.defaults.fusionreactor.licenseKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
config set server.defaults.fusionreactor.downloadURL=http://site.com/custom/path/fusionreactor.jar
config set server.defaults.fusionreactor.jarPath=/FR-home/fusionreactor-custom.jar

Changing the module's core settings will also apply to all servers.

config set modules.commandbox-fusionreactor.enable=false
config set modules.commandbox-fusionreactor.port=8088
config set modules.commandbox-fusionreactor.licenseKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
config set modules.commandbox-fusionreactor.downloadURL=http://site.com/custom/path/fusionreactor.jar
config set modules.commandbox-fusionreactor.jarPath=/FR-home/fusionreactor-custom.jar

Settings are used in this order:

  1. The server.json for the server you're starting
  2. The server defaults in your Config Settings
  3. The module default settings in your Config Settings
  4. The hard-coded defaults in the module's code

v2.4.15

10 Oct 2018 — 21:18: 24 UTC

other

  • *: Merge pull request #11 from mbandizzle/patch-8 (ba1f2be)
  • *: Bump to 7.4.3 (4292b44)

v2.4.14

28 Sep 2018 — 20:23: 46 UTC

other

  • *: Fix for bad downloads (7649a7e)

v2.4.13

25 Sep 2018 — 21:28: 49 UTC

other

  • *: Update key retrieval (12f7499)

v2.4.12

25 Sep 2018 — 21:18: 32 UTC

other

  • *: Merge pull request #10 from mbandizzle/patch-7 (2d1df27)
  • *: Bump to 7.4.2 (baa28ba)

v2.4.11

13 Aug 2018 — 19:51: 23 UTC

other

  • *: Bump to version 7.4.1 (db5b0bc)

v2.4.10

26 Jul 2018 — 23:01: 32 UTC

other

  • *: Add Travis Badge (e3a0759)
  • *: Merge pull request #8 from mbandizzle/patch-6 (0d3145a)
  • *: Bump version to 7.3.1 (9305392)

v2.4.9

16 Jul 2018 — 19:01: 17 UTC

other

  • *: Merge pull request #7 from bdw429s/semantic_release (5e794c9)
  • *: Add semantic-release (21d88db)

 

 
$ box install commandbox-fusionreactor
No collaborators yet.
  • Aug 03 2016 01:52 AM
  • Oct 10 2018 04:18 PM
  • 1836
  • 17
  • 3635