From 8e10288c2ff354610b3639974f17d16ccce80b19 Mon Sep 17 00:00:00 2001 From: Ivan Santiago Paunovic Date: Tue, 31 Mar 2020 13:00:14 -0300 Subject: [PATCH] Rename policy files from *.xml to *.policy.xml Signed-off-by: Ivan Santiago Paunovic --- .../policies/{add_two_ints.xml => add_two_ints.policy.xml} | 0 .../{minimal_action.xml => minimal_action.policy.xml} | 0 sros2/test/policies/policy_to_permissions.py | 2 +- .../test/policies/{sample_policy.xml => sample.policy.xml} | 6 +++--- .../{talker_listener.xml => talker_listener.policy.xml} | 0 sros2/test/test_policy_to_permissions.py | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) rename sros2/test/policies/{add_two_ints.xml => add_two_ints.policy.xml} (100%) rename sros2/test/policies/{minimal_action.xml => minimal_action.policy.xml} (100%) rename sros2/test/policies/{sample_policy.xml => sample.policy.xml} (83%) rename sros2/test/policies/{talker_listener.xml => talker_listener.policy.xml} (100%) diff --git a/sros2/test/policies/add_two_ints.xml b/sros2/test/policies/add_two_ints.policy.xml similarity index 100% rename from sros2/test/policies/add_two_ints.xml rename to sros2/test/policies/add_two_ints.policy.xml diff --git a/sros2/test/policies/minimal_action.xml b/sros2/test/policies/minimal_action.policy.xml similarity index 100% rename from sros2/test/policies/minimal_action.xml rename to sros2/test/policies/minimal_action.policy.xml diff --git a/sros2/test/policies/policy_to_permissions.py b/sros2/test/policies/policy_to_permissions.py index 69c4f2ed..c6cc7dfb 100644 --- a/sros2/test/policies/policy_to_permissions.py +++ b/sros2/test/policies/policy_to_permissions.py @@ -33,7 +33,7 @@ permissions_xsd = etree.XMLSchema(etree.parse(permissions_xsd_path)) # Get policy -policy_xml_path = 'sample_policy.xml' +policy_xml_path = 'sample.policy.xml' policy_xml = etree.parse(policy_xml_path) policy_xml.xinclude() diff --git a/sros2/test/policies/sample_policy.xml b/sros2/test/policies/sample.policy.xml similarity index 83% rename from sros2/test/policies/sample_policy.xml rename to sros2/test/policies/sample.policy.xml index 589a05e3..549a3e68 100644 --- a/sros2/test/policies/sample_policy.xml +++ b/sros2/test/policies/sample.policy.xml @@ -2,11 +2,11 @@ - - -