From 0cf967c0239a8ab9c8b8831b700b72d9a08f7b03 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Fri, 16 Oct 2020 13:09:11 +0100 Subject: Remove apex asciidoc documents Apex documentation has now all been ported to use the ONAP recommended rst format. This review removes the old asciidoc documents. Issue-ID: POLICY-2824 Change-Id: I562bd344cb7d6ff36e7d54bdb8f95e3b656468f8 Signed-off-by: liamfallon --- .../adoc/fragments/howto-apex/engine.adoc | 69 ---------------------- 1 file changed, 69 deletions(-) delete mode 100644 src/site-docs/adoc/fragments/howto-apex/engine.adoc (limited to 'src/site-docs/adoc/fragments/howto-apex/engine.adoc') diff --git a/src/site-docs/adoc/fragments/howto-apex/engine.adoc b/src/site-docs/adoc/fragments/howto-apex/engine.adoc deleted file mode 100644 index 79dfe20e9..000000000 --- a/src/site-docs/adoc/fragments/howto-apex/engine.adoc +++ /dev/null @@ -1,69 +0,0 @@ -// -// ============LICENSE_START======================================================= -// 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 -// -// SPDX-License-Identifier: CC-BY-4.0 -// ============LICENSE_END========================================================= -// -// @author Sven van der Meer (sven.van.der.meer@ericsson.com) -// - -== The APEX Engine -The APEX engine can be started in different ways, depending your requirements. -All scripts are located in the APEX __bin__ directory - -On UNIX and Cygwin systems use: - -- `apexEngine.sh` - this script will - ** Test if `$APEX_USER` is set and if the user exists, terminate with an error otherwise - ** Test if `$APEX_HOME` is set. If not set, it will use the default setting as `/opt/app/policy/apex-pdp/apex-pdp`. - Then the set directory is tested to exist, the script will terminate if not. - ** When all tests are passed successfully, the script will call `apexApps.sh` with arguments to start the APEX engine. -- `apexApps.sh engine` - this is the general APEX application launcher, which will - ** Start the engine with the argument `engine` - ** Test if `$APEX_HOME` is set and points to an existing directory. If not set or directory does not exist, script terminates. - ** Not test for any settings of `$APEX_USER`. - -On Windows systems use `apexEngine.bat` and `apexApps.bat engine` respectively. -Note: none of the windows batch files will test for `%APEX_USER%`. - -Summary of alternatives to start the APEX Engine: - -[width="100%",options="header",cols="5a,5a"] -|==================== -| Unix, Cygwin | Windows -| -[source%nowrap,sh] ----- -# $APEX_HOME/bin/apexEngine.sh [args] -# $APEX_HOME/bin/apexApps.sh engine [args] ----- -| -[source%nowrap,bat] ----- -> %APEX_HOME%\bin\apexEngine.bat [args] -> %APEX_HOME%\bin\apexApps.bat engine [args] ----- -|==================== - - -The APEX engine comes with a few CLI arguments for setting configuration and policy model. -The configuration file is always required. -The policy model file is only required if no model file is specified in the configuration, or if the specified model file should be over written. -The option `-h` prints a help screen. - -[source%nowrap,sh] ----- -usage: org.onap.policy.apex.service.engine.main.ApexMain [options...] -options --c,--config-file the full path to the configuration file to use, the configuration file must be a Json file - containing the Apex configuration parameters --h,--help outputs the usage of this command --m,--model-file the full path to the model file to use, if set it overrides the model file set in the - configuration file --v,--version outputs the version of Apex ----- - -- cgit 1.2.3-korg