We're updating the issue view to help you get more done. 

Resolve relative paths in Node configuration using baseDirectory

Description

It is possible to specify relative paths in Corda node configuration file.
E.g.:

1 cordappDirectories = ["./myCorDapps1", "./myCorDapps2"]

In this case it is expected to resolve location of these directories relative to baseDirectory that been specified using --base-directory parameter and not using current working directory from which Node's Java process been started. This is especially true if Cron or Autosys been used to start Corda Node.

It is proposed to change Node configuration parsing logic such that anytime it discovers a relative path, it automatically resolves it against baseDirectory to create an absolute path.

CVSS Vector

None

Status

Assignee

Viktor Kolomeyko

Reporter

Viktor Kolomeyko

Labels

None

CVSS Score

None

Feature Team

Enterprise Robustness

Target Version/s

Corda 4.3

Ported to...

None

Story Points

5

Affects versions

Corda 4.1

Priority

Medium