summaryrefslogtreecommitdiffstats
path: root/openecomp-be/api/openecomp-sdc-rest-webapp/item-rest/pom.xml
blob: 20e643f0227feda620810663d9e2752d33a3c799 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.openecomp.sdc</groupId>
        <artifactId>openecomp-sdc-rest-webapp</artifactId>
        <version>1.9.2-SNAPSHOT</version>
    </parent>

    <artifactId>item-rest</artifactId>
    <packaging>pom</packaging>


    <modules>
        <module>item-rest-services</module>
        <module>item-rest-types</module>
    </modules>

</project>
h an error otherwise ** Test if `$APEX_HOME` is set. If not set, it will use the default setting as `/opt/ericsson/apex/apex`. 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 <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 <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 ----