diff options
Diffstat (limited to 'clamp-policy')
-rw-r--r-- | clamp-policy/.gitignore | 3 | ||||
-rw-r--r-- | clamp-policy/LICENSE.txt | 1 | ||||
-rw-r--r-- | clamp-policy/clamppolicyplugin/__init__.py | 1 | ||||
-rw-r--r-- | clamp-policy/clamppolicyplugin/tasks.py | 1 | ||||
-rw-r--r-- | clamp-policy/pom.xml | 1 | ||||
-rw-r--r-- | clamp-policy/setup.py | 1 | ||||
-rw-r--r-- | clamp-policy/tests/__init__.py | 1 | ||||
-rw-r--r-- | clamp-policy/tests/log_ctx.py | 1 | ||||
-rw-r--r-- | clamp-policy/tests/mock_cloudify_ctx.py | 1 | ||||
-rw-r--r-- | clamp-policy/tests/mock_setup.py | 1 | ||||
-rw-r--r-- | clamp-policy/tests/test_tasks.py | 3 | ||||
-rw-r--r-- | clamp-policy/tox.ini | 6 |
12 files changed, 19 insertions, 2 deletions
diff --git a/clamp-policy/.gitignore b/clamp-policy/.gitignore new file mode 100644 index 0000000..06c7571 --- /dev/null +++ b/clamp-policy/.gitignore @@ -0,0 +1,3 @@ +# local additions to plugins .gitignore +xunit-results* +htmlcov diff --git a/clamp-policy/LICENSE.txt b/clamp-policy/LICENSE.txt index 5bf12c1..c8b67cd 100644 --- a/clamp-policy/LICENSE.txt +++ b/clamp-policy/LICENSE.txt @@ -1,5 +1,6 @@ ================================================================================ Copyright (c) 2019 Wipro Limited Intellectual Property. All rights reserved. +Copyright (c) 2020 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. diff --git a/clamp-policy/clamppolicyplugin/__init__.py b/clamp-policy/clamppolicyplugin/__init__.py index 9f32d4c..2b6f44f 100644 --- a/clamp-policy/clamppolicyplugin/__init__.py +++ b/clamp-policy/clamppolicyplugin/__init__.py @@ -1,5 +1,6 @@ # ================================================================================ # Copyright (c) 2019 Wipro Limited Intellectual Property. All rights reserved. +# Copyright (c) 2020 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. diff --git a/clamp-policy/clamppolicyplugin/tasks.py b/clamp-policy/clamppolicyplugin/tasks.py index 40b1659..6308172 100644 --- a/clamp-policy/clamppolicyplugin/tasks.py +++ b/clamp-policy/clamppolicyplugin/tasks.py @@ -1,5 +1,6 @@ # ================================================================================ # Copyright (c) 2019 Wipro Limited Intellectual Property. All rights reserved. +# Copyright (c) 2020 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. diff --git a/clamp-policy/pom.xml b/clamp-policy/pom.xml index 460eb24..4bfe5d1 100644 --- a/clamp-policy/pom.xml +++ b/clamp-policy/pom.xml @@ -2,6 +2,7 @@ <!-- ================================================================================ Copyright (c) 2019-2020 Wipro Limited Intellectual Property. All rights reserved. +# Copyright (c) 2020 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. diff --git a/clamp-policy/setup.py b/clamp-policy/setup.py index 225c8d0..e3c7e94 100644 --- a/clamp-policy/setup.py +++ b/clamp-policy/setup.py @@ -1,6 +1,7 @@ # ================================================================================ # Copyright (c) 2019 Wipro Limited Intellectual Property. All rights reserved. # Copyright (c) 2019 Pantheon.tech. All rights reserved. +# Copyright (c) 2020 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. diff --git a/clamp-policy/tests/__init__.py b/clamp-policy/tests/__init__.py index 20c17e4..4f04502 100644 --- a/clamp-policy/tests/__init__.py +++ b/clamp-policy/tests/__init__.py @@ -1,5 +1,6 @@ # ================================================================================ # Copyright (c) 2019 Wipro Limited Intellectual Property. All rights reserved. +# Copyright (c) 2020 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. diff --git a/clamp-policy/tests/log_ctx.py b/clamp-policy/tests/log_ctx.py index 89ed9ea..ba7c5ee 100644 --- a/clamp-policy/tests/log_ctx.py +++ b/clamp-policy/tests/log_ctx.py @@ -1,5 +1,6 @@ # ================================================================================ # Copyright (c) 2019 Wipro Limited Intellectual Property. All rights reserved. +# Copyright (c) 2020 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. diff --git a/clamp-policy/tests/mock_cloudify_ctx.py b/clamp-policy/tests/mock_cloudify_ctx.py index cf40232..dfd33aa 100644 --- a/clamp-policy/tests/mock_cloudify_ctx.py +++ b/clamp-policy/tests/mock_cloudify_ctx.py @@ -1,5 +1,6 @@ # ================================================================================ # Copyright (c) 2019 Wipro Limited Intellectual Property. All rights reserved. +# Copyright (c) 2020 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. diff --git a/clamp-policy/tests/mock_setup.py b/clamp-policy/tests/mock_setup.py index 147ba43..3ab37c6 100644 --- a/clamp-policy/tests/mock_setup.py +++ b/clamp-policy/tests/mock_setup.py @@ -1,5 +1,6 @@ # ================================================================================ # Copyright (c) 2019 Wipro Limited Intellectual Property. All rights reserved. +# Copyright (c) 2020 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. diff --git a/clamp-policy/tests/test_tasks.py b/clamp-policy/tests/test_tasks.py index f4c8d5a..21c7660 100644 --- a/clamp-policy/tests/test_tasks.py +++ b/clamp-policy/tests/test_tasks.py @@ -1,5 +1,6 @@ # ================================================================================ # Copyright (c) 2019 Wipro Limited Intellectual Property. All rights reserved. +# Copyright (c) 2020 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. @@ -43,4 +44,4 @@ def test_policy_get(): """test policy_get operation on clamp.nodes.policy node""" mock_ctx = MockCloudifyContext(node_id='policy_model_id',node_name='clamp.nodes.policy') current_ctx.set(mock_ctx) - tasks.policy_get()
\ No newline at end of file + tasks.policy_get() diff --git a/clamp-policy/tox.ini b/clamp-policy/tox.ini index 21ecdb2..f7b4cdb 100644 --- a/clamp-policy/tox.ini +++ b/clamp-policy/tox.ini @@ -1,5 +1,7 @@ [tox] -envlist = py27,py36,cov +envlist = py27,py36,py37,py38,cov +skip_missing_interpreters = true + [testenv] # coverage can only find modules if pythonpath is set @@ -24,6 +26,8 @@ setenv= commands= coverage combine coverage xml + coverage report + coverage html [pytest] junit_family = xunit2 |