summaryrefslogtreecommitdiffstats
path: root/dmaap/tests
AgeCommit message (Collapse)AuthorFilesLines
2020-02-14Support python3 in all pluginsMiroslav Los3-21/+30
Unify tox/requirements/setup.py requirement specifications. Use cloudify-common 5.0.5 release. For helm, use a dev cloudify-common build with better python3 code. Use PEP 508 URLs in requirements for the non-PyPI (github) release. Fix mixed indentation and trailing whitespace. Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech> Issue-ID: CCSDK-1931 Change-Id: I607957d9e2c299121785f3f02420c6038966a200
2020-01-07Make DMaaP tests independent of each otherMiroslav Los5-149/+79
The tests in controllerif need not run to make the other tests work. Use mockconsul instead of test_get_config_service to feed test_dmaapc. Use mockconsul fixture in all other tests. Do not wrap actual exceptions with NonRecoverableError in test code. Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech> Issue-ID: CCSDK-1937 Change-Id: Iacb229cb8569838cc63932bcf572a6692ffd9124
2019-03-29[20190329]: unit test code for dmaap pluginxufeiliu6-0/+491
add unit test code for dmaap plugin. Conaul call in consul interface module is replace by mock function. Issue-ID: CCSDK-794 Change-Id: I01f8bbe4f3aba8f6b3bc1a17d2aa8a63781a575f Signed-off-by: xufeiliu <xl085b@att.com>
2019-03-05[20190304] update copyright and __init__.pyxufeiliu1-1/+1
Update all copyrights. Update dmaapplugin/__init__.py to match the ONAP environment. 1) Consul address is "consul". 2) certificate is at /opt/onap/certs/cacert.pem. 3) Consul key name "dmaap-plugin" 4) Bus controller address is "dmaap-bc", port 8080 or 8443. Issue-ID: CCSDK-794 Change-Id: I47c85be11430510e2035f7972f97e63fe11757dc Signed-off-by: xufeiliu <xl085b@att.com>
2017-09-01Add seed code for DMaaP pluginJack Lucas1-0/+26
Change-Id: I8c7a9c432badd3052a571ed87b9b580760b376e6 Issue-Id: CCSDK-65 Signed-off-by: Jack Lucas <jflucas@research.att.com>