Project

General

Profile

Actions

Feature #2115

open

Clean multiple startup choices from ConnectorServer.sh

Added by Petr Fišer about 4 years ago. Updated about 4 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Petr Fišer
Start date:
03/11/2020
Due date:
% Done:

90%

Estimated time:
Owner:

Description

Currently, the ConnectorServer.sh startup script contains four choices of how to start the daemon. The startup script is tweaked specifically for each deployment.

This is ugly, because you cannot have drop-in replacement of the startup script. Also, you have to modify the file by hand, etc. AFAIK some options like keystorePath (not truststorePath!) are never used.
The choices are (and combinations):
  • start with / without truststore
  • start with / without debug mode

We should create some reasonable default and allow to specify options from the outside of startup script.
Will also need documentation change afterwards.

Actions #1

Updated by Petr Fišer about 4 years ago

Implemented and pushed as git.271f316 .
We need to update documentation after this gets merged into the master.

What I did:
  • Thrown out all "possibilities" for running connector server.
  • Everything can be adjusted through the systemd unit the same way as for the IdM's Tomcat unit. So, if you need debug, just add parameters to the systemd unit.
  • logging.properties and connectorserver.properties are now fixed names hardcoded into the startup. This is not a problem because we do not use other configs anyway.
  • Added template systemd unit into the conf/ directory. For inspiration.
  • Creating truststore is now mandatory.
  • Change in generating security key for the connserv. You do not need to specify property file anymore. When generating new password, execute:
    ./bin/ConnectorServer.sh -setKey -key KEY_GOES_HERE
    
Actions #2

Updated by Petr Fišer about 4 years ago

  • Status changed from New to In Progress
  • Assignee set to Petr Fišer
  • Target version set to cs1.4.5.1-cf1.4.3.0-bcv1.1
  • % Done changed from 0 to 90

Waiting for release. After that, we have to update official howto at https://wiki.czechidm.com/devel/documentation/adm/systems/connectors/remote_server .

Actions

Also available in: Atom PDF