Fix issues with drools pdp of policy framework 05/6205/1
authorRehanRaza <muhammad.rehan.raza@est.tech>
Wed, 2 Jun 2021 15:19:07 +0000 (17:19 +0200)
committerRehanRaza <muhammad.rehan.raza@est.tech>
Wed, 2 Jun 2021 15:40:09 +0000 (17:40 +0200)
commitcafa367269ab41e75904b9de8e01f10f5c3ddee4
tree4c21716644af0cb66ab74fa58c508d1012b347aa
parent933fa7e1235a86b069040d03974eb7e0f2bdac47
Fix issues with drools pdp of policy framework

Https does not seem to be working in the policy framework, hence changed it to http.
All other components of the framework are also using http.

The following REST call succeeds now that shows the health of drools along with other components:

curl -k -u 'healthcheck:zb!XztG34' -X GET "https://localhost:6868/policy/pap/v1/components/healthcheck"

{"pdps":{"xacml":[{"instanceId":"policy-xacml-pdp","pdpState":"ACTIVE","healthy":"HEALTHY"}],"drools":[{"instanceId":"drools-apps","pdpState":"ACTIVE","healthy":"HEALTHY"}],"apex":[{"instanceId":"policy-apex-pdp","pdpState":"ACTIVE","healthy":"HEALTHY","message":"Pdp Heartbeat"}]},"healthy":true,"api":{"name":"Policy API","url":"https://policy-api:6969/policy/api/v1/healthcheck","healthy":true,"code":200,"message":"alive"},"pap":{"name":"Policy PAP","url":"https://policy-pap:6969/policy/pap/v1/healthcheck","healthy":true,"code":200,"message":"alive"}}

Change-Id: Ie33beafc00176b99eb395d962e3aaceb95a23ee8
Issue-ID: NONRTRIC-533
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
15 files changed:
docker-compose/docker-compose-policy-framework/config/drools-apps/custom/APPC-CL-topic.properties
docker-compose/docker-compose-policy-framework/config/drools-apps/custom/APPC-LCM-READ-topic.properties
docker-compose/docker-compose-policy-framework/config/drools-apps/custom/APPC-LCM-WRITE-topic.properties
docker-compose/docker-compose-policy-framework/config/drools-apps/custom/DCAE_CL_RSP-topic.properties
docker-compose/docker-compose-policy-framework/config/drools-apps/custom/DCAE_TOPIC-topic.properties
docker-compose/docker-compose-policy-framework/config/drools-apps/custom/GUARD-http-client.properties
docker-compose/docker-compose-policy-framework/config/drools-apps/custom/POLICY-CL-MGT-topic.properties
docker-compose/docker-compose-policy-framework/config/drools-apps/custom/SDNC-http-client.properties
docker-compose/docker-compose-policy-framework/config/drools-apps/custom/SDNR-CL-RSP-topic.properties
docker-compose/docker-compose-policy-framework/config/drools-apps/custom/SDNR-CL-topic.properties
docker-compose/docker-compose-policy-framework/config/drools-apps/custom/VFC-http-client.properties
docker-compose/docker-compose-policy-framework/config/drools-apps/custom/engine.properties
docker-compose/docker-compose-policy-framework/config/drools-apps/custom/feature-lifecycle.properties
docker-compose/docker-compose-policy-framework/config/drools/custom/engine.properties
docker-compose/docker-compose-policy-framework/docker-compose.yml