commit | a5bfd6aed8b182416ef1cf0ce88dbc0b61d92fa0 | [log] [tgz] |
---|---|---|
author | Alex Shatov <alexs@att.com> | Fri Sep 15 14:03:13 2017 -0400 |
committer | Alex Shatov <alexs@att.com> | Fri Sep 15 14:03:13 2017 -0400 |
tree | b3b28d1c2f9719851bf17bc41d47793e793035bd | |
parent | 36dc52430f5b05025588e500c4ec527dc3bbeb45 [diff] |
version and proper deployment_handler in config Change-Id: I4cde9c4a2e1305519458658479a1c19c36c80a5b Issue-Id: DCAEGEN2-62 Signed-off-by: Alex Shatov <alexs@att.com>
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