{ "tests/pdp_api_v0/test_policy_rest.py::test_get_policy_latest": [ { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_sit" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_policy_rest_auth.py::test_get_policy_latest": [ { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic YWxleC1QRFBfVVNFUjphbGV4LVBEUF9QV0Q=", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_sit" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_policyhandler.py::WebServer2018Test::test_web_all_policies_latest": [ { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_policyhandler.py::WebServer2018Test::test_web_policies_latest": [ { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_amet.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_policyhandler.py::WebServer2018Test::test_web_policy_latest": [ { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_sit" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_policyhandler.py::WebServer2018Test::test_zzz_get_catch_up": [ { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "catch_up": true, "latest_policies": { "test_scope_prefix.Config_Lorem": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "test_scope_prefix.Config_Lorem" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_Lorem.1.xml", "policyVersion": "1", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_Lorem" }, "test_scope_prefix.Config_amet": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "test_scope_prefix.Config_amet" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_amet.5.xml", "policyVersion": "5", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_amet" }, "test_scope_prefix.Config_ametist": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "6", "policy_updated_to_ver": "7", "updated_policy_id": "test_scope_prefix.Config_ametist" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ametist.7.xml", "policyVersion": "7", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ametist" }, "test_scope_prefix.Config_consectetur": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "5", "policy_updated_to_ver": "6", "updated_policy_id": "test_scope_prefix.Config_consectetur" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_consectetur.6.xml", "policyVersion": "6", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_consectetur" }, "test_scope_prefix.Config_dolor": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "test_scope_prefix.Config_dolor" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_dolor.3.xml", "policyVersion": "3", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_dolor" }, "test_scope_prefix.Config_ipsum": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "test_scope_prefix.Config_ipsum" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ipsum.2.xml", "policyVersion": "2", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ipsum" }, "test_scope_prefix.Config_sit": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "test_scope_prefix.Config_sit" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_sit.4.xml", "policyVersion": "4", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_sit" } }, "policy_filter_matches": { "test_scope_prefix.Config_Lorem": {}, "test_scope_prefix.Config_amet": {}, "test_scope_prefix.Config_ametist": {}, "test_scope_prefix.Config_consectetur": {}, "test_scope_prefix.Config_dolor": {}, "test_scope_prefix.Config_ipsum": {}, "test_scope_prefix.Config_sit": {} }, "removed_policies": {} }, "method": "put", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "catch_up": true, "latest_policies": { "test_scope_prefix.Config_Lorem": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "test_scope_prefix.Config_Lorem" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_Lorem.1.xml", "policyVersion": "1", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_Lorem" }, "test_scope_prefix.Config_amet": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "test_scope_prefix.Config_amet" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_amet.5.xml", "policyVersion": "5", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_amet" }, "test_scope_prefix.Config_ametist": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "6", "policy_updated_to_ver": "7", "updated_policy_id": "test_scope_prefix.Config_ametist" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ametist.7.xml", "policyVersion": "7", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ametist" }, "test_scope_prefix.Config_consectetur": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "5", "policy_updated_to_ver": "6", "updated_policy_id": "test_scope_prefix.Config_consectetur" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_consectetur.6.xml", "policyVersion": "6", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_consectetur" }, "test_scope_prefix.Config_dolor": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "test_scope_prefix.Config_dolor" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_dolor.3.xml", "policyVersion": "3", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_dolor" }, "test_scope_prefix.Config_ipsum": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "test_scope_prefix.Config_ipsum" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ipsum.2.xml", "policyVersion": "2", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ipsum" }, "test_scope_prefix.Config_sit": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "test_scope_prefix.Config_sit" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_sit.4.xml", "policyVersion": "4", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_sit" } }, "policy_filter_matches": { "test_scope_prefix.Config_Lorem": {}, "test_scope_prefix.Config_amet": {}, "test_scope_prefix.Config_ametist": {}, "test_scope_prefix.Config_consectetur": {}, "test_scope_prefix.Config_dolor": {}, "test_scope_prefix.Config_ipsum": {}, "test_scope_prefix.Config_sit": {} }, "removed_policies": {} }, "method": "put", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_policyhandler.py::WebServer2018Test::test_zzz_policy_updates_and_catch_ups": [ { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "catch_up": true, "latest_policies": { "test_scope_prefix.Config_Lorem": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "test_scope_prefix.Config_Lorem" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_Lorem.1.xml", "policyVersion": "1", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_Lorem" }, "test_scope_prefix.Config_amet": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "test_scope_prefix.Config_amet" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_amet.5.xml", "policyVersion": "5", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_amet" }, "test_scope_prefix.Config_ametist": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "6", "policy_updated_to_ver": "7", "updated_policy_id": "test_scope_prefix.Config_ametist" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ametist.7.xml", "policyVersion": "7", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ametist" }, "test_scope_prefix.Config_consectetur": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "5", "policy_updated_to_ver": "6", "updated_policy_id": "test_scope_prefix.Config_consectetur" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_consectetur.6.xml", "policyVersion": "6", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_consectetur" }, "test_scope_prefix.Config_dolor": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "test_scope_prefix.Config_dolor" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_dolor.3.xml", "policyVersion": "3", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_dolor" }, "test_scope_prefix.Config_ipsum": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "test_scope_prefix.Config_ipsum" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ipsum.2.xml", "policyVersion": "2", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ipsum" }, "test_scope_prefix.Config_sit": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "test_scope_prefix.Config_sit" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_sit.4.xml", "policyVersion": "4", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_sit" } }, "policy_filter_matches": { "test_scope_prefix.Config_Lorem": {}, "test_scope_prefix.Config_amet": {}, "test_scope_prefix.Config_ametist": {}, "test_scope_prefix.Config_consectetur": {}, "test_scope_prefix.Config_dolor": {}, "test_scope_prefix.Config_ipsum": {}, "test_scope_prefix.Config_sit": {} }, "removed_policies": {} }, "method": "put", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_ipsum" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_sit" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_consectetur" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "catch_up": false, "latest_policies": { "test_scope_prefix.Config_consectetur": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "5", "policy_updated_to_ver": "6", "updated_policy_id": "test_scope_prefix.Config_consectetur" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_consectetur.6.xml", "policyVersion": "6", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_consectetur" }, "test_scope_prefix.Config_ipsum": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "test_scope_prefix.Config_ipsum" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ipsum.2.xml", "policyVersion": "2", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ipsum" }, "test_scope_prefix.Config_sit": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "test_scope_prefix.Config_sit" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_sit.4.xml", "policyVersion": "4", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_sit" } }, "policy_filter_matches": { "test_scope_prefix.Config_consectetur": {}, "test_scope_prefix.Config_ipsum": {}, "test_scope_prefix.Config_sit": {} }, "removed_policies": {} }, "method": "put", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_policyhandler.py::WebServer2018Test::test_zzzzz_shutdown": [ { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "catch_up": true, "latest_policies": { "test_scope_prefix.Config_Lorem": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "test_scope_prefix.Config_Lorem" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_Lorem.1.xml", "policyVersion": "1", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_Lorem" }, "test_scope_prefix.Config_amet": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "test_scope_prefix.Config_amet" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_amet.5.xml", "policyVersion": "5", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_amet" }, "test_scope_prefix.Config_ametist": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "6", "policy_updated_to_ver": "7", "updated_policy_id": "test_scope_prefix.Config_ametist" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ametist.7.xml", "policyVersion": "7", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ametist" }, "test_scope_prefix.Config_consectetur": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "5", "policy_updated_to_ver": "6", "updated_policy_id": "test_scope_prefix.Config_consectetur" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_consectetur.6.xml", "policyVersion": "6", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_consectetur" }, "test_scope_prefix.Config_dolor": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "test_scope_prefix.Config_dolor" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_dolor.3.xml", "policyVersion": "3", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_dolor" }, "test_scope_prefix.Config_ipsum": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "test_scope_prefix.Config_ipsum" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ipsum.2.xml", "policyVersion": "2", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ipsum" }, "test_scope_prefix.Config_sit": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "test_scope_prefix.Config_sit" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_sit.4.xml", "policyVersion": "4", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_sit" } }, "policy_filter_matches": { "test_scope_prefix.Config_Lorem": {}, "test_scope_prefix.Config_amet": {}, "test_scope_prefix.Config_ametist": {}, "test_scope_prefix.Config_consectetur": {}, "test_scope_prefix.Config_dolor": {}, "test_scope_prefix.Config_ipsum": {}, "test_scope_prefix.Config_sit": {} }, "removed_policies": {} }, "method": "put", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_ipsum" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_sit" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_consectetur" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "catch_up": false, "latest_policies": { "test_scope_prefix.Config_consectetur": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "5", "policy_updated_to_ver": "6", "updated_policy_id": "test_scope_prefix.Config_consectetur" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_consectetur.6.xml", "policyVersion": "6", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_consectetur" }, "test_scope_prefix.Config_ipsum": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "test_scope_prefix.Config_ipsum" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ipsum.2.xml", "policyVersion": "2", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ipsum" }, "test_scope_prefix.Config_sit": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "test_scope_prefix.Config_sit" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_sit.4.xml", "policyVersion": "4", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_sit" } }, "policy_filter_matches": { "test_scope_prefix.Config_consectetur": {}, "test_scope_prefix.Config_ipsum": {}, "test_scope_prefix.Config_sit": {} }, "removed_policies": {} }, "method": "put", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_policyhandler.py::WebServer2018Test::test_zzz_catch_up_on_deploy_handler_changed": [ { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "catch_up": true, "latest_policies": { "test_scope_prefix.Config_Lorem": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "test_scope_prefix.Config_Lorem" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_Lorem.1.xml", "policyVersion": "1", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_Lorem" }, "test_scope_prefix.Config_amet": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "test_scope_prefix.Config_amet" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_amet.5.xml", "policyVersion": "5", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_amet" }, "test_scope_prefix.Config_ametist": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "6", "policy_updated_to_ver": "7", "updated_policy_id": "test_scope_prefix.Config_ametist" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ametist.7.xml", "policyVersion": "7", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ametist" }, "test_scope_prefix.Config_consectetur": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "5", "policy_updated_to_ver": "6", "updated_policy_id": "test_scope_prefix.Config_consectetur" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_consectetur.6.xml", "policyVersion": "6", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_consectetur" }, "test_scope_prefix.Config_dolor": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "test_scope_prefix.Config_dolor" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_dolor.3.xml", "policyVersion": "3", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_dolor" }, "test_scope_prefix.Config_ipsum": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "test_scope_prefix.Config_ipsum" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ipsum.2.xml", "policyVersion": "2", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ipsum" }, "test_scope_prefix.Config_sit": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "test_scope_prefix.Config_sit" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_sit.4.xml", "policyVersion": "4", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_sit" } }, "policy_filter_matches": { "test_scope_prefix.Config_Lorem": {}, "test_scope_prefix.Config_amet": {}, "test_scope_prefix.Config_ametist": {}, "test_scope_prefix.Config_consectetur": {}, "test_scope_prefix.Config_dolor": {}, "test_scope_prefix.Config_ipsum": {}, "test_scope_prefix.Config_sit": {} }, "removed_policies": {} }, "method": "put", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_ipsum" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "catch_up": false, "latest_policies": { "test_scope_prefix.Config_ipsum": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "test_scope_prefix.Config_ipsum" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ipsum.2.xml", "policyVersion": "2", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ipsum" } }, "policy_filter_matches": { "test_scope_prefix.Config_ipsum": {} }, "removed_policies": {} }, "method": "put", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "catch_up": true, "latest_policies": { "test_scope_prefix.Config_Lorem": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "test_scope_prefix.Config_Lorem" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_Lorem.1.xml", "policyVersion": "1", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_Lorem" }, "test_scope_prefix.Config_amet": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "test_scope_prefix.Config_amet" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_amet.5.xml", "policyVersion": "5", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_amet" }, "test_scope_prefix.Config_ametist": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "6", "policy_updated_to_ver": "7", "updated_policy_id": "test_scope_prefix.Config_ametist" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ametist.7.xml", "policyVersion": "7", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ametist" }, "test_scope_prefix.Config_consectetur": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "5", "policy_updated_to_ver": "6", "updated_policy_id": "test_scope_prefix.Config_consectetur" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_consectetur.6.xml", "policyVersion": "6", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_consectetur" }, "test_scope_prefix.Config_dolor": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "test_scope_prefix.Config_dolor" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_dolor.3.xml", "policyVersion": "3", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_dolor" }, "test_scope_prefix.Config_ipsum": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "test_scope_prefix.Config_ipsum" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ipsum.2.xml", "policyVersion": "2", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ipsum" }, "test_scope_prefix.Config_sit": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "test_scope_prefix.Config_sit" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_sit.4.xml", "policyVersion": "4", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_sit" } }, "policy_filter_matches": { "test_scope_prefix.Config_Lorem": {}, "test_scope_prefix.Config_amet": {}, "test_scope_prefix.Config_ametist": {}, "test_scope_prefix.Config_consectetur": {}, "test_scope_prefix.Config_dolor": {}, "test_scope_prefix.Config_ipsum": {}, "test_scope_prefix.Config_sit": {} }, "removed_policies": {} }, "method": "put", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_dolor" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_amet" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "catch_up": false, "latest_policies": { "test_scope_prefix.Config_amet": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "test_scope_prefix.Config_amet" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_amet.5.xml", "policyVersion": "5", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_amet" }, "test_scope_prefix.Config_dolor": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "test_scope_prefix.Config_dolor" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_dolor.3.xml", "policyVersion": "3", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_dolor" } }, "policy_filter_matches": { "test_scope_prefix.Config_amet": {}, "test_scope_prefix.Config_dolor": {} }, "removed_policies": {} }, "method": "put", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "catch_up": true, "latest_policies": { "test_scope_prefix.Config_Lorem": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "test_scope_prefix.Config_Lorem" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_Lorem.1.xml", "policyVersion": "1", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_Lorem" }, "test_scope_prefix.Config_amet": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "test_scope_prefix.Config_amet" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_amet.5.xml", "policyVersion": "5", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_amet" }, "test_scope_prefix.Config_ametist": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "6", "policy_updated_to_ver": "7", "updated_policy_id": "test_scope_prefix.Config_ametist" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ametist.7.xml", "policyVersion": "7", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ametist" }, "test_scope_prefix.Config_consectetur": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "5", "policy_updated_to_ver": "6", "updated_policy_id": "test_scope_prefix.Config_consectetur" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_consectetur.6.xml", "policyVersion": "6", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_consectetur" }, "test_scope_prefix.Config_dolor": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "test_scope_prefix.Config_dolor" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_dolor.3.xml", "policyVersion": "3", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_dolor" }, "test_scope_prefix.Config_ipsum": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "test_scope_prefix.Config_ipsum" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ipsum.2.xml", "policyVersion": "2", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ipsum" }, "test_scope_prefix.Config_sit": { "policy_body": { "config": { "policy_hello": "world!", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "test_scope_prefix.Config_sit" }, "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_sit.4.xml", "policyVersion": "4", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_sit" } }, "policy_filter_matches": { "test_scope_prefix.Config_Lorem": {}, "test_scope_prefix.Config_amet": {}, "test_scope_prefix.Config_ametist": {}, "test_scope_prefix.Config_consectetur": {}, "test_scope_prefix.Config_dolor": {}, "test_scope_prefix.Config_ipsum": {}, "test_scope_prefix.Config_sit": {} }, "removed_policies": {} }, "method": "put", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_pz_catch_up.py::test_catch_up_failed_dh": [ { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "catch_up": true, "latest_policies": { "test_scope_prefix.Config_Lorem": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_Lorem.1.xml", "policyVersion": "1", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_Lorem" }, "test_scope_prefix.Config_amet": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_amet.5.xml", "policyVersion": "5", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_amet" }, "test_scope_prefix.Config_ametist": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ametist.7.xml", "policyVersion": "7", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ametist" }, "test_scope_prefix.Config_consectetur": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_consectetur.6.xml", "policyVersion": "6", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_consectetur" }, "test_scope_prefix.Config_dolor": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_dolor.3.xml", "policyVersion": "3", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_dolor" }, "test_scope_prefix.Config_ipsum": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ipsum.2.xml", "policyVersion": "2", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ipsum" }, "test_scope_prefix.Config_sit": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_sit.4.xml", "policyVersion": "4", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_sit" } }, "policy_filter_matches": { "test_scope_prefix.Config_Lorem": {}, "test_scope_prefix.Config_amet": {}, "test_scope_prefix.Config_ametist": {}, "test_scope_prefix.Config_consectetur": {}, "test_scope_prefix.Config_dolor": {}, "test_scope_prefix.Config_ipsum": {}, "test_scope_prefix.Config_sit": {} }, "removed_policies": {} }, "method": "put", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 413 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "catch_up": true, "latest_policies": { "test_scope_prefix.Config_Lorem": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_Lorem.1.xml", "policyVersion": "1", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_Lorem" }, "test_scope_prefix.Config_amet": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_amet.5.xml", "policyVersion": "5", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_amet" }, "test_scope_prefix.Config_ametist": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ametist.7.xml", "policyVersion": "7", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ametist" }, "test_scope_prefix.Config_consectetur": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_consectetur.6.xml", "policyVersion": "6", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_consectetur" }, "test_scope_prefix.Config_dolor": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_dolor.3.xml", "policyVersion": "3", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_dolor" }, "test_scope_prefix.Config_ipsum": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ipsum.2.xml", "policyVersion": "2", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ipsum" }, "test_scope_prefix.Config_sit": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_sit.4.xml", "policyVersion": "4", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_sit" } }, "policy_filter_matches": { "test_scope_prefix.Config_Lorem": {}, "test_scope_prefix.Config_amet": {}, "test_scope_prefix.Config_ametist": {}, "test_scope_prefix.Config_consectetur": {}, "test_scope_prefix.Config_dolor": {}, "test_scope_prefix.Config_ipsum": {}, "test_scope_prefix.Config_sit": {} }, "removed_policies": {} }, "method": "put", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 413 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "catch_up": true, "latest_policies": { "test_scope_prefix.Config_Lorem": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_Lorem.1.xml", "policyVersion": "1", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_Lorem" }, "test_scope_prefix.Config_amet": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_amet.5.xml", "policyVersion": "5", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_amet" }, "test_scope_prefix.Config_ametist": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ametist.7.xml", "policyVersion": "7", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ametist" }, "test_scope_prefix.Config_consectetur": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_consectetur.6.xml", "policyVersion": "6", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_consectetur" }, "test_scope_prefix.Config_dolor": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_dolor.3.xml", "policyVersion": "3", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_dolor" }, "test_scope_prefix.Config_ipsum": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_ipsum.2.xml", "policyVersion": "2", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_ipsum" }, "test_scope_prefix.Config_sit": { "policy_body": { "config": "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", "matchingConditions": { "ConfigName": "alex_config_name", "ONAPName": "DCAE" }, "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "test_scope_prefix.Config_sit.4.xml", "policyVersion": "4", "property": null, "responseAttributes": {}, "type": "JSON" }, "policy_id": "test_scope_prefix.Config_sit" } }, "policy_filter_matches": { "test_scope_prefix.Config_Lorem": {}, "test_scope_prefix.Config_amet": {}, "test_scope_prefix.Config_ametist": {}, "test_scope_prefix.Config_consectetur": {}, "test_scope_prefix.Config_dolor": {}, "test_scope_prefix.Config_ipsum": {}, "test_scope_prefix.Config_sit": {} }, "removed_policies": {} }, "method": "put", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 413 } ], "tests/pdp_api_v0/test_pz_catch_up.py::test_catch_up_dh_404": [ { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_pz_pdp_boom.py::WebServerPDPBoom2018Test::test_web_all_policies_latest": [ { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_pz_pdp_boom.py::WebServerPDPBoom2018Test::test_zzz_catch_up_on_deploy_handler_changed": [ { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_pz_pdp_boom.py::WebServerPDPBoom2018Test::test_zzz_get_catch_up": [ { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_pz_pdp_boom.py::WebServerPDPBoom2018Test::test_zzz_policy_updates_and_catch_ups": [ { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_pz_pdp_boom.py::WebServerPDPBoom2018Test::test_zzzzz_shutdown": [ { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_pz_ph_boom.py::WebServerInternalBoom2018Test::test_web_all_policies_latest": [ { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_pz_ph_boom.py::WebServerInternalBoom2018Test::test_web_policies_latest": [ { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_amet.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_pz_ph_boom.py::WebServerInternalBoom2018Test::test_web_policy_latest": [ { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_sit" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_pz_ph_boom.py::WebServerInternalBoom2018Test::test_zzz_catch_up_on_deploy_handler_changed": [ { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_pz_ph_boom.py::WebServerInternalBoom2018Test::test_zzz_get_catch_up": [ { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_pz_ph_boom.py::WebServerInternalBoom2018Test::test_zzz_policy_updates_and_catch_ups": [ { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 } ], "tests/pdp_api_v0/test_pz_ph_boom.py::WebServerInternalBoom2018Test::test_zzzzz_shutdown": [ { "request": { "headers": { "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": null, "method": "get", "params": { "cfy_tenant_name": "default_tenant" }, "uri": "http://unit-test-deployment_handler:8188000/policy" }, "res": "*", "status_code": 200 }, { "request": { "headers": { "Accept": "application/json", "Authorization": "Basic auth", "ClientAuth": "Basic user", "Content-Type": "application/json", "Environment": "TEST", "X-ONAP-RequestID": "*", "X-ECOMP-RequestID": "*" }, "json": { "policyName": "test_scope_prefix.Config_.*" }, "method": "post", "params": null, "uri": "https://unit-test-pdp-server:8081000/pdp/api/getConfig" }, "res": "*", "status_code": 200 } ] }