Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Commit

Permalink
Add a CDI container to allow for dependency injection
Browse files Browse the repository at this point in the history
  • Loading branch information
amckenzie committed Jul 11, 2019
1 parent b394f69 commit 327650f
Show file tree
Hide file tree
Showing 46 changed files with 1,652 additions and 676 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ on [Keep a CHANGELOG](http://keepachangelog.com/). This project adheres to
[Semantic Versioning](http://semver.org/).

## [Unreleased]
### Added
- New command '--list' which lists the commands available on your Wildfly instance.
- Authentication to a remote Wildfly instance with commands '--username' and '--password'
### Changed
- Application now run in a Weld container to allow for dependency injection

## [1.0.0] - 2019-06-19

### Added
- Initial release of the catchup-shuttering-manager CLI tool, supporting invocation of the event sourcing frameworks SHUTTER, UNSHUTTER, CATCHUP, REBUILD operations.

21 changes: 15 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,19 @@
## Usage

catchup-shuttering-manager
-c,--command <arg> Framework command to execute, for example
CATCHUP,SHUTTER, UNSHUTTER & REBUILD.
-h,--help show help.
-ho,--host <arg> Host Remote or Localhost
-p,--port <arg> Wildfly management port
-c,--command <arg> Framework command to execute.
-h,--help Show help.
-ho,--host <arg> Hostname or IP address of the Wildfly server. Defaults to localhost
-p,--port <arg> Wildfly management port. Defaults to 9990 (the default for Wildfly)
-u, --username Optional username for Wildfly management security
-pw, --password Optional password for Wildfly management security
-l, --list List of all framework commands

java -jar catchup-shuttering-manager.jar -c "SHUTTER" -ho "localhost" -p "9999"

java -jar catchup-shuttering-manager.jar -c "PING"

Note: If you are running wildfly on your local machine and running as the same user as the one you are
logged in as, then username/password are not required. (However, if running wildfly in a virtual machine
like vagrant, username and password will be required)

The default username/password for Wildfly is admin/admin
Loading

0 comments on commit 327650f

Please sign in to comment.