commit | e02adfc4c3243778c83c6ab44fae359019b164e3 | [log] [tgz] |
---|---|---|
author | liamfallon <liam.fallon@est.tech> | Mon Nov 16 12:13:58 2020 +0000 |
committer | Liam Fallon <liam.fallon@est.tech> | Mon Nov 16 17:04:55 2020 +0000 |
tree | 3b8ee849aabcdceee0865b6fb582d3f566356b4d | |
parent | 84d0f41eba6884cc8e75e920e766abd785c06f2b [diff] |
Apex CLI editor closes standard input/output/error The Apex CLI editor closes its input and output when it completes. This is correct behaviour when the input and output are files. However, if the input and output are tied to standard input, output, and error then if there are subsequent actions in the JVM (Such as continuing to run Apex as we do in tests), then any output such as logging is lost. This fix checks for standard input/output/error before closing the input and output. Issue-ID: POLICY-2897 Change-Id: Ifa20b62511f770197f30c4a817212a92876dd6a6 Signed-off-by: liamfallon <liam.fallon@est.tech> (cherry picked from commit 17527ee82c63b8671224b3340e379e0bfcce6ba1)
Copyright (C) 2016-2018 Ericsson. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains the ONAP Policy APEX PDP Engine code. The settings file only needs to support the standard Maven repositories (e.g. central = http://repo1.maven.org/maven2/), and any proxy settings needed in your environment.
To build it using Maven 3, run: mvn clean install