commit | 7e99e115d213e3a4395fe56f1bfbeacc0a501e3b | [log] [tgz] |
---|---|---|
author | Lusheng Ji <lji@research.att.com> | Mon Feb 19 23:57:20 2018 -0500 |
committer | Lusheng Ji <lji@research.att.com> | Tue Feb 20 00:00:28 2018 -0500 |
tree | f8a3f21b1fa01fd6af2b2920404913d422854a05 | |
parent | 967cc9add2fe92799be0488fd262e38e79b61f58 [diff] |
Fix for SONAR reporting Change-Id: I853af6b231b4b2f4eff7492d4770ce6a3a7fd786 Signed-off-by: Lusheng Ji <lji@research.att.com> Issue-ID: DCAEGEN2-355
virtualenv policy_venv
cd policy_venv
source bin/activate
cd ../policy_handler
pip install -r requirements.txt
cd policy_venv
source bin/activate
cd ../policy_handler
in folder policy_handler
:
- `config.json` contains - `"scope_prefixes" : ["DCAE_alex.Config_"]` - the list of policy-scope-class values - `"policy_engine"` - the http connect info to ECOMP **policy-engine** - headers.ClientAuth : base64(<mech-id with namespace>:<password>) - headers.Authorization : base64(<policy-engine server auth>) - `"deploy_handler"` - the http connect info to _policy part_ of the **deploy-handler** - `policy_engine.properties` contains config info for the client lib of ECOMP **policy-engine** that receives push notifications from the ECOMP **policy-engine** server - CLIENT_ID is the mech-id with the namespace - need to register with policy-engine team thru email - CLIENT_KEY is the base64 of the mech-id password - separate passwords for TEST versus PROD
in folder policy_handler
:
./run_policy.sh