Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleDrools configuration file
linenumberstrue
collapsetrue
policy@drools:/opt/app/policy/logs$ cat ../config/controlloop.properties.environment 
###
# ============LICENSE_START=======================================================
# ONAP APPS Base Package
# ================================================================================
# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#      http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ============LICENSE_END=========================================================
###
# Environment file (.environment) for control loop applications in this
# directory, it will be automatically loaded by PDP-D, after being expanded
# by installation scripts.
sql.db.host=mariadb
sql.db.username=policy_user
sql.db.password=policy_user
aai.url=https://aai.api.simpledemo.openecomp.org:8443
aai.username=POLICY
aai.password=POLICY
so.url=http://vm1.mso.simpledemo.openecomp.org:8080/ecomp/mso/infra
so.username=InfraPortalClient
so.password=password1$
vfc.url=
vfc.username=
vfc.password=
pdpx.host=pdp
pdpx.username=testpdp
pdpx.password=alpha123
pdpx.environment=TEST
pdpx.client.username=python
pdpx.client.password=test
guard.url=http://pdp:8081/pdp/api/getDecision
guard.jdbc.url=mariadb://mariadb:3306/operationshistory10
guard.disabled=true


Drools logs directory. Event message can be seen in network.log

Code Block
languagebash
titleDrools Logs
collapsetrue
policy@drools:/opt/app/policy/logs$ ls -l
total 1280
-rw-r--r-- 1 policy policy 1183256 Oct 23 17:24 debug.log
-rw-r--r-- 1 policy policy   84048 Oct 23 17:23 error.log
-rw-r--r-- 1 policy policy   24670 Oct 23 17:15 network.log
-rw-r--r-- 1 policy policy       0 Oct 23 15:37 policy-management.err
-rw-r--r-- 1 policy policy       0 Oct 23 15:37 policy-management.out

...