summaryrefslogtreecommitdiffstats
path: root/onap/policy/README.md
diff options
context:
space:
mode:
authorjbalasub <jbalasub@amdocs.com>2018-01-29 22:18:51 +0200
committerMichael O'Brien <frank.obrien@amdocs.com>2018-01-30 17:40:59 +0000
commit9379dc6c5bd516a7601a179603de1aeefc5140ec (patch)
tree139acec25bf9400e546ff47a6fe3b730271dcd5d /onap/policy/README.md
parent0e37f66b4d5c0ca76f402984531082936ce98b4f (diff)
Removing the ONAP directory
Issue-ID: LOG-143 Change-Id: I7b0231a39d003f651270df6d5badc5093fe32d82 Signed-off-by: jbalasub <jbalasub@amdocs.com>
Diffstat (limited to 'onap/policy/README.md')
-rw-r--r--onap/policy/README.md82
1 files changed, 0 insertions, 82 deletions
diff --git a/onap/policy/README.md b/onap/policy/README.md
deleted file mode 100644
index e3c1d8a..0000000
--- a/onap/policy/README.md
+++ /dev/null
@@ -1,82 +0,0 @@
-##############################################################################################################################################
-## Policy Logging Configuration
-=================================================================================================
-Policy has 7 docker containers - pap,pdp,pypdp,drools,mariadb,nexus,brmsGateway.
-Each one has its own separate logback.xml file.
-The canonical logging implementation is done for the containers- pap,pdp,pypdp,drools.
-Canonical logs will be generated at /var/log/onap/policy/
-=================================================================================================
-## Instructions for deployment
-=================================================================================================
-### Policy logging deployment for PDP
--------------------------------------------------------------------------------------------------
- 1. Log provider file is available at the path, /opt/app/policy/servers/pdp/webapps/pdp/WEB-INF/classes, in the container PDP.
- 2. Copy the canonical logback.xml from 'xacml-pdp-rest' directory (of gerrit) into the path mentioned in step 1.
- 3. Create the canonical path for logs, /var/log/onap/policy/xacml-pdp-rest, on the host VM.
- 4. Provide write permissions for "others" users for directory created in step 3.
- 5. Volume-Mount:The pdp container requires one host path mapped as volume in the container
-
- 5.1. Log file path:
- Host path - /var/log/onap/policy/xacml-pdp-rest/ mapped to
- Container path - /var/log/onap/policy/xacml-pdp-rest/
- 5.2. Log provider file path:
- Note: Log provider path cannot be configured externally as it is bundled inside a WAR.
-------------------------------------------------------------------------------------------------------------------------------------------
-### Policy logging deployment for PAP sub-module ep_sdk_app
-------------------------------------------------------------------------------------------------------------------------------------------
- 1. Log provider file is available at the path, /opt/app/policy/servers/console/webapps/ecomp/WEB-INF/classes/, is in the container PAP.
- 2. Copy the canonical logback.xml from 'ep_sdk_app' directory (of gerrit) into the path mentioned in step 1.
- 3. Create the canonical path for logs, /var/log/onap/policy/ep_sdk_app, on the host VM.
- 4. Provide write permissions for "others" users for directory created in step 3.
- 5. Volume-Mount: The pap container requires one host path mapped as volume in the container
-
- 5.1. Log file path:
- Host path - /var/log/onap/policy/ep_sdk_app/ mapped to
- Container path - /var/log/onap/policy/ep_sdk_app/
- 5.2. Log provider file path:
- Note: Log provider path cannot be configured externally as it is bundled inside a WAR.
-------------------------------------------------------------------------------------------------------------------------------------------
-### Policy logging deployment for PAP sub-module xacml-pap-rest
-------------------------------------------------------------------------------------------------------------------------------------------
- 1. Log provider file is available at the path, /opt/app/policy/servers/pap/webapps/pap/WEB-INF/classes/, is in the container PAP.
- 2. Copy the canonical logback.xml from 'xacml-pap-rest' directory (of gerrit) into the path mentioned in step 1.
- 3. Create the canonical path for logs, /var/log/onap/policy/xacml-pap-rest, on the host VM.
- 4. Provide write permissions for "others" users for directory created in step 3.
- 5. Volume-Mount: The pap container requires one host path mapped as volume in the container
-
- 5.1. Log file path:
- Host path - /var/log/onap/policy/xacml-pap-rest/ mapped to
- Container path - /var/log/onap/policy/xacml-pap-rest/
- 5.2. Log provider file path:
- Note: Log provider path cannot be configured externally as it is bundled inside a WAR.
-------------------------------------------------------------------------------------------------------------------------------------------
-### Policy logging deployment for drools
-------------------------------------------------------------------------------------------------------------------------------------------
- 1. Create the canonical path for log provider, /etc/onap/policy/conf.d/drools/, on the host VM.
- 2. Copy the canonical logback.xml from 'drools' directory (of gerrit) into the path created in step 1.
- 3. Give the read access to 'others' for the file, /etc/onap/policy/conf.d/drools/logback.xml. This will give access to the 'policy' user used by the policy container to read this file.
- 4. Create the canonical path for logs, /var/log/onap/policy/drools, on the host VM.
- 5. Provide write permissions for "others" users for directory created in step 4.
- 6. Volume-Mount:The drools container requires two host paths mapped as volume in the container
-
- 6.1. Log file path:
- Host path - /var/log/onap/policy/drools/ mapped to
- Container path - /var/log/onap/policy/drools/
- 6.2. Log provider file path:
- Host path - /etc/onap/policy/conf.d/drools/logback.xml mapped to
- Container path - /opt/app/policy/config/logback.xml
-------------------------------------------------------------------------------------------------------------------------------------------
-### Policy logging deployment for pypdpserver
-------------------------------------------------------------------------------------------------------------------------------------------
- 1. Log provider file is available at the path, /opt/app/policy/servers/pypdp/webapps/PyPDPServer/WEB-INF/classes/, is in the container pypdpserver on the host VM.
- 2. Copy the canonical logback.xml from 'pypdpserver' directory (of gerrit) into the path mentioned in step 1.
- 3. Create the canonical path for logs, /var/log/onap/policy/pypdpserver, on the host VM.
- 4. Provide write permissions for "others" users for directory created in step 3.
- 5. Volume-Mount:The pypdpserver container requires one host path mapped as volume in the container
-
- 5.1. Log file path:
- Host path - /var/log/onap/policy/pypdpserver/ mapped to
- Container path - /var/log/onap/policy/pypdpserver/
- 5.2. Log provider file path:
- Note: Log provider path cannot be configured externally as it is bundled inside a WAR.
-##############################################################################################################################################