From: liamfallon Date: Thu, 28 Nov 2019 15:14:07 +0000 (+0000) Subject: Fix errors in apex-pdp documentation X-Git-Tag: 3.1.0~1^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=policy%2Fparent.git;a=commitdiff_plain;h=1540e47757af279cf0e4b0e710074cbbf7f9f4c0 Fix errors in apex-pdp documentation In order to buid a Docker image, you now need to invoke the "docker profile when buidling apex, this was missing in the documentation. The variable LOG_DIR was renamed logDir in the logback.xml file but this was not reflected in the documentation. Issue-ID: POLICY-2186 Change-Id: I6019f3e6c4dd369b44c0f1e617a427892a2e6ef8 Signed-off-by: liamfallon --- diff --git a/docs/apex/APEX-Install-Guide.rst b/docs/apex/APEX-Install-Guide.rst index 92b96565..a264a119 100644 --- a/docs/apex/APEX-Install-Guide.rst +++ b/docs/apex/APEX-Install-Guide.rst @@ -192,8 +192,8 @@ Build APEX | :number-lines: | :number-lines: | | | | | >c: | # cd /usr/local/src/apex-pdp | - | >cd \dev\apex | # mvn clean install -DskipTest | - | >mvn clean install -DskipTests | | + | >cd \dev\apex | # mvn clean install -Pdocker -DskipTests | + | >mvn clean install -Pdocker -DskipTests | | +-------------------------------------------------------+--------------------------------------------------------+ .. container:: paragraph @@ -520,8 +520,8 @@ Build and Install Manually (Unix, Windows, Cygwin) | :number-lines: | :number-lines: | | | | | >c: | # cd /usr/local/src/apex | - | >cd \dev\apex | # mvn clean install -DskipTests | - | >mvn clean install -DskipTests | | + | >cd \dev\apex | # mvn clean install -Pdocker -DskipTests | + | >mvn clean install -Pdocker -DskipTests | | +-------------------------------------------------------+--------------------------------------------------------+ .. container:: paragraph diff --git a/docs/apex/APEX-Policy-Guide.rst b/docs/apex/APEX-Policy-Guide.rst index dc4f2bbe..f76ed138 100644 --- a/docs/apex/APEX-Policy-Guide.rst +++ b/docs/apex/APEX-Policy-Guide.rst @@ -1440,7 +1440,7 @@ Writing APEX Task Selection Logic | :number-lines: | :number-lines: | | | | | >c: | # cd /usr/local/src/apex-pdp | - | >cd \dev\apex | # mvn clean install -DskipTest | + | >cd \dev\apex | # mvn clean install -DskipTests | | >mvn clean install -DskipTests | | +-------------------------------------------------------+--------------------------------------------------------+ diff --git a/docs/apex/APEX-User-Manual.rst b/docs/apex/APEX-User-Manual.rst index 61143d98..f33ad5ee 100644 --- a/docs/apex/APEX-User-Manual.rst +++ b/docs/apex/APEX-User-Manual.rst @@ -192,8 +192,8 @@ Build APEX | :number-lines: | :number-lines: | | | | | # cd /usr/local/src/apex-pdp | >c: | - | # mvn clean install -Pdocker -DskipTest | >cd \dev\apex | - | | >mvn clean install -DskipTests | + | # mvn clean install -Pdocker -DskipTests | >cd \dev\apex | + | | >mvn clean install -Pdocker -DskipTests | +-------------------------------------------------------+--------------------------------------------------------+ .. container:: paragraph @@ -520,8 +520,8 @@ Build and Install Manually (Unix, Windows, Cygwin) | :number-lines: | :number-lines: | | | | | # cd /usr/local/src/apex | >c: | - | # mvn clean install -DskipTests | >cd \dev\apex | - | | >mvn clean install -DskipTests | + | # mvn clean install -Pdocker -DskipTests | >cd \dev\apex | + | | >mvn clean install -Pdocker -DskipTests | +-------------------------------------------------------+--------------------------------------------------------+ .. container:: paragraph @@ -910,7 +910,7 @@ Edit the APEX Logging Settings .. container:: paragraph - ```` + ```` .. container:: paragraph @@ -918,7 +918,7 @@ Edit the APEX Logging Settings .. container:: paragraph - ```` + ```` .. container:: paragraph @@ -926,7 +926,7 @@ Edit the APEX Logging Settings .. container:: paragraph - ```` + ```` .. container:: paragraph @@ -7203,7 +7203,7 @@ Standard Logging Configuration The standard logging configuration defines a context *APEX*, which is used in the standard output pattern. The location - for log files is defined in the property ``VAR_LOG`` and set + for log files is defined in the property ``logDir`` and set to ``/var/log/onap/policy/apex-pdp``. The standard status listener is set to *NOP* and the overall logback configuration is set to no debug. @@ -7219,7 +7219,7 @@ Standard Logging Configuration Apex - + ...appenders ...loggers @@ -7272,7 +7272,7 @@ Standard Logging Configuration :number-lines: - ${VAR_LOG}/apex.log + ${logDir}/apex.log %d %-5relative [procId=${processId}] [%thread] %-5level %logger{26} - %msg %n %ex{full} @@ -7291,7 +7291,7 @@ Standard Logging Configuration :number-lines: - ${VAR_LOG}/apex_ctxt.log + ${logDir}/apex_ctxt.log %d %-5relative [procId=${processId}] [%thread] %-5level %logger{26} - %msg %n %ex{full} @@ -7471,11 +7471,11 @@ Rolling File Appenders .. code:: - ${VAR_LOG}/apex.log + ${logDir}/apex.log - ${VAR_LOG}/apex_%d{yyyy-MM-dd}.%i.log.gz + ${logDir}/apex_%d{yyyy-MM-dd}.%i.log.gz 4 @@ -7503,9 +7503,9 @@ Rolling File Appenders - ${VAR_LOG}/apex_ctxt.log + ${logDir}/apex_ctxt.log - ${VAR_LOG}/apex_ctxt_%d{yyyy-MM-dd}.%i.log.gz + ${logDir}/apex_ctxt_%d{yyyy-MM-dd}.%i.log.gz 4 Apex - + @@ -7552,7 +7552,7 @@ Example Configuration for Logging Logic - ${VAR_LOG}/apex.log + ${logDir}/apex.log %d %-5relative [procId=${processId}] [%thread] %-5level%logger{26} - %msg %n %ex{full} @@ -7602,10 +7602,10 @@ Example Configuration for a Production Server Apex - + - ${VAR_LOG}/apex.log + ${logDir}/apex.log %d %-5relative [procId=${processId}] [%thread] %-5level%logger{26} - %msg %n %ex{full}