Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options for any custom order type and for date ranges #27

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Nov 17, 2021

  1. Merge support for download requests with start/end date from styppo

    - Merged styppo's commit 014df1e
      limited to only changes related to the support for start and end
      dates
    Nicholas Sushkin committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    554c7ce View commit details
    Browse the repository at this point in the history
  2. Add support for any custom order type

    - Support any bank's custom order types via new options --download
      <arg> and --upload <arg>
    
    - Add logging of the order type
    Nicholas Sushkin committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    337d063 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2021

  1. Package Ebics Client as a single jar

    - Use executable-packer-maven-plugin to package the project in a
      single jar. This plugin uses a Jar-in-Jar approach which does not
      break digital signature of the Bouncy Castle JCE provider jar. Run
      "mvn package" to package and run "java -jar ebics*.jar" to execute
      EbicsClient main class.
    Nicholas Sushkin committed Nov 18, 2021
    Configuration menu
    Copy the full SHA
    f5f440a View commit details
    Browse the repository at this point in the history
  2. When download request has no data, warn instead of crashing

    - When requesting order types that download data, NoDataException is a
      common occurrence. In this case, the client writes a warning to the
      log and exits with error code 2 (to distinguish the condition from
      other errors which return error code 1).
    
    - When a file download succeeds, the client logs the success.
    
    - Introduce new method EbicsClient.fetchFileIfAvailable which wraps
      fetchFile with warn and log.
    Nicholas Sushkin committed Nov 18, 2021
    Configuration menu
    Copy the full SHA
    1b03d39 View commit details
    Browse the repository at this point in the history
  3. Add options to specify configuration directory and print version

    - Add option --configuration-directory <arg> to override the default
      value of ${user.home}/ebics/client
    
    - Add option --version to print version information
    Nicholas Sushkin committed Nov 18, 2021
    Configuration menu
    Copy the full SHA
    9540c01 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2021

  1. Implement override of configuration properties with the system ones

    - In DefaultConfiguration.java, any configuration property that comes
      from a key in the configuration file can be overriden with a system
      property with the same key. For example, specify
      -Dlog.dir.name=/var/log to override the default ebics/client/log
      directory.
    
    - In DefaultConfiguration.java, if a property is a compound of a
      directory name and a file name, specifying an absolute file name
      overrides the directory name. For example,
      -Dtraces.dir.name=/var/local/traces overrides the default value of
      traces under ebics/client/users/USERNAME.
    Nicholas Sushkin committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    e298c67 View commit details
    Browse the repository at this point in the history