Skip to content

[Feature Request]: Hop server enhancement #4569

@nadment

Description

@nadment

What would you like to happen?

The hop-server.bat command has 3 setup modes

  • SETUP BY CONFIG FILE: hop-server.bat hop-server-config.xml
  • SETUP BY SERVER NAME: hop-server.bat -n HOPSERVER01 --gs
  • SETUP BY HOSTNAME AND PORT: hop-server.bat <hostname> <port> <shutdownport> -k -u=<user> -p=<password>
  1. Remove the last mode because it's buggy and doesn't allow the command to indicate which protocol to use: HTTP or HTTPS)

  2. All config parameters must have a command line option, add the following:

--host
--port
--shutdownport
--ssl
--proxyhost
--proxyport
  1. If you are using config file or named server mode, it should be possible to override certain properties on the command line:
    hop-server.bat hop-server-config.xml -gs -u=<user> -p=<password>
    hop-server.bat -n HOPSERVER01 -proxyhost=192.0.0.1 -proxyport=8080

  2. Add command line options --help and --version

  3. Add the command to stop a remote server on a shutdown port requiring authentication.
    hop-server.bat hop-server-config.xml --kill
    hop-server.bat -n HOPSERVER01 -k -shutdowport=8082

  4. Code cleanup

  • Create an org.apache.hop.www.RemoteHopServer class to interact with a Hop server, and thus remove a few of methods from HopServerMeta. HopServerMeta would then become pure metadata.

Issue Priority

Priority: 3

Issue Component

Component: Hop Server

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions