From daee922e51e60c3cad6a3cc691214a34aad9ac7f Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Thu, 19 Apr 2018 11:28:41 -0400 Subject: Add license to policy-engine files Added license to various files. Updated XACMLPolicyScanner to work even when license comment is added to the Policy.xml file. Moved DOCTYPE before license in html files. Removed license from css files, as many are generated or come from third-party software. Removed license from other generated files. Change-Id: I9d98ca9f552a6eae17e80ef27fc7045cc4f27b8e Issue-ID: POLICY-741 Signed-off-by: Jim Hahn --- .../src/test/resources/Action_TestActionPolicy.1.xml | 19 +++++++++++++++++++ .../Config_BRMS_Param_BRMSParamvFWDemoPolicy.1.xml | 19 +++++++++++++++++++ .../Config_BRMS_Raw_TestBRMSRawPolicy.1.xml | 19 +++++++++++++++++++ .../resources/Config_FW_TestFireWallPolicy.1.xml | 19 +++++++++++++++++++ .../Config_Fault_TestClosedLoopPolicy.1.xml | 19 +++++++++++++++++++ .../src/test/resources/Config_MS_vFirewall.1.xml | 19 +++++++++++++++++++ .../resources/Config_PM_TestClosedLoopPMPolicy.1.xml | 19 +++++++++++++++++++ .../src/test/resources/Config_SampleTest1206.1.xml | 19 +++++++++++++++++++ ...cision_TestDecisionPolicyWithRuleAlgorithms.1.xml | 19 +++++++++++++++++++ .../test/resources/pdps/default/xacml.pip.properties | 20 ++++++++++++++++++++ .../resources/pdps/default/xacml.policy.properties | 20 ++++++++++++++++++++ .../src/test/resources/pdps/xacml.properties | 20 ++++++++++++++++++++ .../src/test/resources/policy_tosca_tca-v1707.yml | 20 ++++++++++++++++++++ 13 files changed, 251 insertions(+) (limited to 'POLICY-SDK-APP/src/test/resources') diff --git a/POLICY-SDK-APP/src/test/resources/Action_TestActionPolicy.1.xml b/POLICY-SDK-APP/src/test/resources/Action_TestActionPolicy.1.xml index 82f02e0ff..3db4778ce 100644 --- a/POLICY-SDK-APP/src/test/resources/Action_TestActionPolicy.1.xml +++ b/POLICY-SDK-APP/src/test/resources/Action_TestActionPolicy.1.xml @@ -1,4 +1,23 @@ + TestActionPolicy@CreatedBy:@CreatedBy:@ModifiedBy:@ModifiedBy: diff --git a/POLICY-SDK-APP/src/test/resources/Config_BRMS_Param_BRMSParamvFWDemoPolicy.1.xml b/POLICY-SDK-APP/src/test/resources/Config_BRMS_Param_BRMSParamvFWDemoPolicy.1.xml index d66704920..5021fdd94 100644 --- a/POLICY-SDK-APP/src/test/resources/Config_BRMS_Param_BRMSParamvFWDemoPolicy.1.xml +++ b/POLICY-SDK-APP/src/test/resources/Config_BRMS_Param_BRMSParamvFWDemoPolicy.1.xml @@ -1,4 +1,23 @@ + BRMSParam vFW Demo Policy@CreatedBy:@CreatedBy:@ModifiedBy:@ModifiedBy: diff --git a/POLICY-SDK-APP/src/test/resources/Config_BRMS_Raw_TestBRMSRawPolicy.1.xml b/POLICY-SDK-APP/src/test/resources/Config_BRMS_Raw_TestBRMSRawPolicy.1.xml index e9b38cc13..54b722e24 100644 --- a/POLICY-SDK-APP/src/test/resources/Config_BRMS_Raw_TestBRMSRawPolicy.1.xml +++ b/POLICY-SDK-APP/src/test/resources/Config_BRMS_Raw_TestBRMSRawPolicy.1.xml @@ -1,4 +1,23 @@ + TestBRMSRawPolicy@CreatedBy:@CreatedBy:@ModifiedBy:@ModifiedBy: diff --git a/POLICY-SDK-APP/src/test/resources/Config_FW_TestFireWallPolicy.1.xml b/POLICY-SDK-APP/src/test/resources/Config_FW_TestFireWallPolicy.1.xml index 71e3221cb..4b35fc901 100644 --- a/POLICY-SDK-APP/src/test/resources/Config_FW_TestFireWallPolicy.1.xml +++ b/POLICY-SDK-APP/src/test/resources/Config_FW_TestFireWallPolicy.1.xml @@ -1,4 +1,23 @@ + TestFireWallPolicy@CreatedBy:@CreatedBy:@ModifiedBy:@ModifiedBy: diff --git a/POLICY-SDK-APP/src/test/resources/Config_Fault_TestClosedLoopPolicy.1.xml b/POLICY-SDK-APP/src/test/resources/Config_Fault_TestClosedLoopPolicy.1.xml index faeed916c..efd2c016f 100644 --- a/POLICY-SDK-APP/src/test/resources/Config_Fault_TestClosedLoopPolicy.1.xml +++ b/POLICY-SDK-APP/src/test/resources/Config_Fault_TestClosedLoopPolicy.1.xml @@ -1,4 +1,23 @@ + TestClosedLoopPolicy@CreatedBy:rb7147@CreatedBy:@ModifiedBy:rb7147@ModifiedBy: diff --git a/POLICY-SDK-APP/src/test/resources/Config_MS_vFirewall.1.xml b/POLICY-SDK-APP/src/test/resources/Config_MS_vFirewall.1.xml index ba3d9c215..be4b4dc2d 100644 --- a/POLICY-SDK-APP/src/test/resources/Config_MS_vFirewall.1.xml +++ b/POLICY-SDK-APP/src/test/resources/Config_MS_vFirewall.1.xml @@ -1,4 +1,23 @@ + Micro Service vFirewall Demo Policy@CreatedBy:demo@CreatedBy:@ModifiedBy:demo@ModifiedBy: diff --git a/POLICY-SDK-APP/src/test/resources/Config_PM_TestClosedLoopPMPolicy.1.xml b/POLICY-SDK-APP/src/test/resources/Config_PM_TestClosedLoopPMPolicy.1.xml index 370ff365f..e2cd1b1e3 100644 --- a/POLICY-SDK-APP/src/test/resources/Config_PM_TestClosedLoopPMPolicy.1.xml +++ b/POLICY-SDK-APP/src/test/resources/Config_PM_TestClosedLoopPMPolicy.1.xml @@ -1,4 +1,23 @@ + TestClosedLoopPMPolicy@CreatedBy:rb7147@CreatedBy:@ModifiedBy:rb7147@ModifiedBy: diff --git a/POLICY-SDK-APP/src/test/resources/Config_SampleTest1206.1.xml b/POLICY-SDK-APP/src/test/resources/Config_SampleTest1206.1.xml index dcfd0c5eb..551616744 100644 --- a/POLICY-SDK-APP/src/test/resources/Config_SampleTest1206.1.xml +++ b/POLICY-SDK-APP/src/test/resources/Config_SampleTest1206.1.xml @@ -1,4 +1,23 @@ + SampleTest1206@CreatedBy:test@CreatedBy:@ModifiedBy:test@ModifiedBy: diff --git a/POLICY-SDK-APP/src/test/resources/Decision_TestDecisionPolicyWithRuleAlgorithms.1.xml b/POLICY-SDK-APP/src/test/resources/Decision_TestDecisionPolicyWithRuleAlgorithms.1.xml index 5e8dcac36..34173761e 100644 --- a/POLICY-SDK-APP/src/test/resources/Decision_TestDecisionPolicyWithRuleAlgorithms.1.xml +++ b/POLICY-SDK-APP/src/test/resources/Decision_TestDecisionPolicyWithRuleAlgorithms.1.xml @@ -1,4 +1,23 @@ + TestDecisionPolicyWithRuleAlgorithms@CreatedBy:rb7147@CreatedBy:@ModifiedBy:rb7147@ModifiedBy: diff --git a/POLICY-SDK-APP/src/test/resources/pdps/default/xacml.pip.properties b/POLICY-SDK-APP/src/test/resources/pdps/default/xacml.pip.properties index ae3538a6e..f16a7e510 100644 --- a/POLICY-SDK-APP/src/test/resources/pdps/default/xacml.pip.properties +++ b/POLICY-SDK-APP/src/test/resources/pdps/default/xacml.pip.properties @@ -1,3 +1,23 @@ +# +#============LICENSE_START================================================== +# ONAP Policy Engine +#=========================================================================== +# Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. +#=========================================================================== +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#============LICENSE_END================================================== +# + # #Thu Feb 15 10:13:45 EST 2018 historydb.name=operationHistoryDB diff --git a/POLICY-SDK-APP/src/test/resources/pdps/default/xacml.policy.properties b/POLICY-SDK-APP/src/test/resources/pdps/default/xacml.policy.properties index 7070690fe..1ff78baf8 100644 --- a/POLICY-SDK-APP/src/test/resources/pdps/default/xacml.policy.properties +++ b/POLICY-SDK-APP/src/test/resources/pdps/default/xacml.policy.properties @@ -1,3 +1,23 @@ +# +#============LICENSE_START================================================== +# ONAP Policy Engine +#=========================================================================== +# Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. +#=========================================================================== +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#============LICENSE_END================================================== +# + # #Thu Feb 15 10:13:45 EST 2018 xacml.referencedPolicies= diff --git a/POLICY-SDK-APP/src/test/resources/pdps/xacml.properties b/POLICY-SDK-APP/src/test/resources/pdps/xacml.properties index cf8d29da0..93fe8cc73 100644 --- a/POLICY-SDK-APP/src/test/resources/pdps/xacml.properties +++ b/POLICY-SDK-APP/src/test/resources/pdps/xacml.properties @@ -1,3 +1,23 @@ +# +#============LICENSE_START================================================== +# ONAP Policy Engine +#=========================================================================== +# Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. +#=========================================================================== +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#============LICENSE_END================================================== +# + # #Wed Feb 21 11:54:45 EST 2018 xacml.pap.groups.default=default diff --git a/POLICY-SDK-APP/src/test/resources/policy_tosca_tca-v1707.yml b/POLICY-SDK-APP/src/test/resources/policy_tosca_tca-v1707.yml index 0c30ceea0..b29ebcfa9 100644 --- a/POLICY-SDK-APP/src/test/resources/policy_tosca_tca-v1707.yml +++ b/POLICY-SDK-APP/src/test/resources/policy_tosca_tca-v1707.yml @@ -1,3 +1,23 @@ +# +#============LICENSE_START================================================== +# ONAP Policy Engine +#=========================================================================== +# Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. +#=========================================================================== +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#============LICENSE_END================================================== +# + tosca_definitions_version: tosca_simple_yaml_1_0_0 node_types: -- cgit 1.2.3-korg