summaryrefslogtreecommitdiffstats
path: root/dcae-policy/setup.py
AgeCommit message (Collapse)AuthorFilesLines
2020-06-02move plugins from from ccsdk to dcaegen2Hansen, Tony (th1395)1-2/+1
copy dmaap, helm, pgaas and sshkeyshare plugins from ccsdk to dcaegen2 Change-Id: Ib257495de6c275c45f0c87a4b42ac21a2fab7979 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: DCAEGEN2-2207 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
2019-12-09Update versions for all pluginsMiroslav Los1-1/+1
Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech> Issue-ID: DCAEGEN2-1986 Change-Id: Id4cc1cd9c6c5fb0c013f950b11b7799fa9f4fcfa
2019-11-26Support python3 in all pluginsMiroslav Los1-1/+3
Unify tox/requirements/setup.py requirement specifications. Do not set upper version limits if possible. Drop uuid as dependency included with standard library. Drop import of unmaintained cloudify_importer without python3 version. Use PEP 508 URLs in requirements for non-PyPI (github) releases. Use cloudify-common 5 release; pre-release package for python3. Rewrite uses of map with loops/comprehensions. Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech> Issue-ID: DCAEGEN2-1956 Change-Id: I7b3ceb97a628e3af5bda3178d182f4207069e86d
2019-11-14DCAEGEN2-1920 enhance policy plugin for error conditionsSchmalzried, Terry (ts862m)1-2/+2
Issue-ID: DCAEGEN2-1920 Change-Id: I7e1b08cb008f60d7f08ed2db41236a03b8490287 Signed-off-by: Schmalzried, Terry (ts862m) <ts862m@att.com>
2018-04-122.3.0 dcaepolicyplugin and data typesAlex Shatov1-1/+1
- discovering consul at consul:8500 instead of localhost:8500 - added and refactored unit tests for discovery -- coverage 78% Change-Id: I3712fe36df47d6117206d61ca4916c4dbc42d035 Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-438
2018-03-272.2.1 dcaepolicyplugin and data typesAlex Shatov1-1/+1
- trying to avoid changing code for k8s deployment of policy-handler with unknown url to MSB or policy-handler at the moment - expecting optional manual population of the consul-kv with config data for dcaepolicyplugin - when not found service for policy-handler in consul -- try finding config for "dcaepolicyplugin" in consul-kv -- the config structure is expected to contain url to policy_handler - example of config value for key=dcaepolicyplugin: { "dcaepolicyplugin" : { "policy_handler" : { "url" : "http://policy-handler:25577" } } } - still drop down to hardcoded default when this config not found in consul-kv - added and refactored unit tests for discovery -- coverage 78% - making code more PEP8 compliant Change-Id: Ia176b54ed62631baa30d614785d1937023408ddf Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-419
2018-03-262.2.0 dcaepolicyplugin and data typesAlex Shatov1-1/+1
- dcaepolicyplugin to use default policy-handler url by dns to discover policy-handler under k8s when policy_handler record not found under consul-service - pending hardcoding the proper dns based url that is to be provided by k8s + MSB solution Change-Id: I8bf49fe29735ec842235c0b58595c7196f5d24ca Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-419
2018-03-232.1.0 dcaepolicyplugin and data typesAlex Shatov1-3/+1
- configAttributes in policy_filter being a stringified json, rather than the map due to SDC UI limitations - safely parse the configAttributes string into json Change-Id: I934b6254aed285ddab245b440f43403a4fe918fe Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-413
2018-02-12Update license textLusheng Ji1-1/+1
Change-Id: I352c41a5150925327fc9f9b71eaa8f72f575a8b9 Signed-off-by: Lusheng Ji <lji@research.att.com> Issue-ID: DCAEGEN2-325
2018-01-11variable collection of policies per componentAlex Shatov1-1/+3
* new feature variable collection of policies per component in DCAE * Unit Test coverage 78% * moved module docstring below the license text Change-Id: Iefe6d4c31e2e125194781edc79e69af2c11e96ef Issue-ID: DCAEGEN2-249 Signed-off-by: Alex Shatov <alexs@att.com>
2017-09-12dcaepolicy plugin and dcae.node.typeAlex Shatov1-0/+38
* new plugin and node type file to be used by blueprints that use policy Change-Id: I79dc24f3bf6f8471457544f6bb8562cbcd448d00 Issue-Id: DCAEGEN2-62 Signed-off-by: Alex Shatov <alexs@att.com>