summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-11-14DCAEGEN2-1920 enhance policy plugin for error conditionsSchmalzried, Terry (ts862m)8-28/+32
Issue-ID: DCAEGEN2-1920 Change-Id: I7e1b08cb008f60d7f08ed2db41236a03b8490287 Signed-off-by: Schmalzried, Terry (ts862m) <ts862m@att.com>
2019-09-30R6 tag updateVijay Venkatesh Kumar1-1/+1
Change-Id: I1cbbee3dd24600907d2d5625179e92bb74ef4c48 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1785
2019-07-17Move DR subscriber creation before container start5.0.2-ONAP5.0.1-ONAPelaltoJack Lucas8-212/+62
Also update Kubernetes client library version Fix bug that allowed generating a too-long k8s deployment name. Issue-ID: DCAEGEN2-1651 Issue-ID: DCAEGEN2-1653 Issue-ID: DCAEGEN2-1667 Change-Id: Ied859073fb01d8623278cf9e58c1dcc26fed1712 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2019-07-01Add TLS support for client-only appsJack Lucas10-132/+290
Also enhance unit tests to do more robust checking of results. Issue-ID: DCAEGEN2-1550 Change-Id: Icf6e5357d828e19db73bb58b98fd60e9f111d0dc Signed-off-by: Jack Lucas <jflucas@research.att.com>
2019-05-23Fix xpath syntax for CentOSJack Lucas1-6/+6
Change-Id: I5f287b9541a20713b25a573879e44a4f37099141 Issue-ID: DCAEGEN2-1520 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2019-05-23Fix CentOS incompatibilities in mvn-phase-libJack Lucas2-5/+548
Issue-ID: DCAEGEN2-1520 Signed-off-by: Jack Lucas <jflucas@research.att.com> Change-Id: Ica41de308a32767a6f1c4ce178d2460adfa2f61b
2019-05-22Stop building CDAP and Docker pluginsJack Lucas3-11/+5
Also remove relationships plugin test case that has different expected results on Ubuntu and CentOS. (Should not change test coverage statistics.) Change-Id: I027e13ee92ff1c799d38d8ad9939c4aff73022c3 Issue-ID: DCAEGEN2-1524 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2019-05-06R5 tag updateVijay Venkatesh Kumar1-1/+1
Change-Id: I3822177c6b0e0ee08a647fd31a0a34532d52751d Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1481
2019-04-19Fix DR subscriber failure4.0.0-ONAPdublinJack Lucas9-51/+24
Issue-ID: DCAEGEN2-1009 Change-Id: Ieb770b6562123dda78fd4b8c8c514d30767ad7fb Signed-off-by: Jack Lucas <jflucas@research.att.com>
2019-04-10Initial commit for clamp-policy pluginVignesh K19-2/+895
Addressed review comments Issue-ID: DCAEGEN2-1129 Change-Id: Icdf95bdbf7c3ec2f201d5d57544ef6d206f3c5fa Signed-off-by: Vignesh K <vignesh.k041@wipro.com>
2019-04-02Change kubeconfig file locationJack Lucas5-4/+10
By putting kubeconfig in its own directory, we make sure updates to the underlying configMap become visible to the plugin without restarting CM. Issue-ID: DCAEGEN2-1136 Change-Id: Ifbc5bed31cdcf285b1cf845427679f631eaa4645 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2019-03-22add comment on 63 label length, fix _parse_volumesJason Luo5-3/+11
change to v['container'].get('mode') to allow mode value be absent Issue-ID: DCAEGEN2-1126 Change-Id: I12fe257995f466238f64b06e6cf80f3cc2654c5b Signed-off-by: Jason Luo <cl4531@att.com>
2019-03-18Add multi-cluster supportJack Lucas9-56/+97
Issue-ID: DCAEGEN2-1136 Change-Id: I314e5d8c501198b3e87c45813201498935c7bacc Signed-off-by: Jack Lucas <jflucas@research.att.com>
2019-03-12add liveness probe, fix readiness prob execJason Luo6-19/+43
liveness and readiness probes may run script with arguments, ports and volumes are optional instead of mandatory, test_tasks.py accept ports[] and volumes[] fix the issue of labels which are logner than 63 Issue-ID: DCAEGEN2-1126 Change-Id: Id2f893adc300bf508c0512a51b3665872d36f674 Signed-off-by: Jason Luo <cl4531@att.com>
2019-03-08Fix k8s plugin version in type fileJack Lucas1-1/+1
Issue-ID: DCAEGEN2-987 Change-Id: I74a17b3c8d79f12b77a7e7dd4b57b3fde2e77147 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2019-03-06Undeploy k8s artifacts on timeoutJack Lucas5-17/+32
Issue-ID: DCAEGEN2-987 Change-Id: I35a2dcdb7b7f1b7280dba6593a9ee2b8921b6df9 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2019-02-28Add k8sclient unit testsJack Lucas7-14/+154
Change-Id: I4b664865618bf87822af325e2c2dd43e71c0bdac Issue-ID: DCAEGEN2-1261 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2019-02-27Add resource_config to specify CPU and menoryJason Luo5-14/+54
Enhance K8s plugin used by DCAE Platform to specify CPU and memory Issue-ID: DCAEGEN2-1126 Change-Id: I2431b0b7f67f855122ed4494aa21cad0f99dcc37 Signed-off-by: Jason Luo <cl4531@att.com>
2019-01-21use new onap-dcae-dcaepolicy-libSchmalzried, Terry (ts862m)10-11/+17
Issue-ID: DCAEGEN2-1086 Change-Id: I64f994e99b417f4d79ac95f64aa9596bb77ce8f0 Signed-off-by: Schmalzried, Terry (ts862m) <ts862m@att.com>
2018-11-08fix typosStanislav Chlebec3-3/+3
Change-Id: I95954edbf2827292a5da500330ba43781cc2cd8d Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech> Issue-ID: AAF-582
2018-11-03R4 tag updateVijay Venkatesh Kumar1-1/+1
Change-Id: I3c248253f40dc31d055f263ada3b6dd1e6375a6b Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-937
2018-10-12Update plugin version in k8s type file3.0.1-ONAP3.0.0-ONAPcasablancaJack Lucas1-1/+1
Issue-ID: DCAEGEN2-796 Change-Id: Ic89231138ec7da7004334547031fef26df03032c Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-10-12Add support for UDP port mappingJack Lucas6-18/+105
Issue-ID: DCAEGEN2-796 Change-Id: I09038d0bc7154b989f9ce9e328da57aac0020597 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-09-18Don't change to https when use_tls is setAndrew Gauld1-2/+2
The k8s plugin's behavior of setting the health check probe type scheme to https when it was http and the use_tls flag is set is causing a problem for the Policy Handler. This change leaves the health check type alone, so, if it was http, it stays http even if use_tls is set. Change-Id: If004876f5142889abe0b24aeb4c0fdedaea3ab2b Issue-ID: DCAEGEN2-591 Signed-off-by: Andrew Gauld <ag1282@att.com>
2018-09-17include registry on tls imagevagrant1-1/+1
Change-Id: Ic109995f29922ca3a28107970fa1aae5246b9b67 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-790
2018-09-17Update image name for default TLS_IMAGEAndrew Gauld1-1/+1
Change-Id: If7a30270d07ce6283f4c24ca3802e23a5cbf70b5 Issue-ID: DCAEGEN2-790 Signed-off-by: Andrew Gauld <ag1282@att.com>
2018-09-10Add support for TLS init containerJack Lucas7-20/+90
Change-Id: I118af2c8a0294ffc89e045f8cdae24dfb7e57ab6 Issue-ID: DCAEGEN2-591 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-08-27Use managed guava versionGary Wu1-3/+1
Use centrally managed guava version specified in oparent. Includes upgrade to oparent 1.2.0. This change was submitted by script and may include additional whitespace or formatting changes. Change-Id: I8ceadffca9d6424727582ebb7297b1dd36207b7c Issue-ID: INT-619 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-08-21Add modules to tox.ini coverage specJack Lucas1-2/+2
Change-Id: I617b7f3b8a7b8ec068c16355530351aad0122062 Issue-ID: DCAEGEN2-723 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-08-17Add checks on runtime props for uninstallJack Lucas4-22/+32
Change-Id: Ib2e37713068e77126914d1af3bc238fc0119ef93 Issue-ID: DCAEGEN2-695 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-08-01Fix k8splugin to accept intervals as stringsJack Lucas5-5/+117
Also update type file to point to new plugin version Add unit tests for parsing interval Change RE to be non-Python specific Use uppercase for RE constant and unit conversion factors Issue-ID: DCAEGEN2-649 Change-Id: I1de728b3efd0725d4a3da996d95ec61e68f56ab4 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-07-27Merge "Add INFO.yaml file"Vijay Venkatesh Kumar1-0/+90
2018-07-27Merge "Make docker node type consistent with k8s"Jack Lucas1-0/+108
2018-07-26Add INFO.yaml fileJessica Wagantall1-0/+90
Add INFO.yaml to list: - Project description - Properties - PTL information - Meeting information - Committer information Change-Id: Ic6adb472e733d08cbed931e369fc47507fbfef5d Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-07-25Add policy update notification supportJack Lucas9-114/+201
Use k8s terminology instead of Docker terminology Remove some redundant logging Change-Id: Ic8e581ebde9ea062a7d0e145465425eec1db57c3 Issue-ID: DCAEGEN2-504 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-07-24Make docker node type consistent with k8sMichael Hwang1-0/+108
Change-Id: I877a041cfa9e272be5835f5956a4c08e16de39b0 Issue-ID: DCAEGEN2-551 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2018-07-18Merge "Add support for updating image."Michael Hwang12-172/+285
2018-07-17Add support for updating image.Jack Lucas12-172/+285
- Refactor type file to reduce duplication - General code cleanup Change-Id: I80354736100dcd3544db2f751335d704bd240666 Issue-ID: DCAEGEN2-543 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-07-16Update release tagLusheng Ji1-2/+9
Issue-ID: DCAEGEN2-499 Change-Id: I1c28ccd0b5e3322347a6ea00c756086848bff9d6 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-06-18Create k8s readiness probeJack Lucas8-76/+80
Change-Id: Iaf222957bc7aa049e3d8d6d1c290435767487387 Issue-ID: DCAEGEN2-503 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-04-19Remove explicit requirements to make build *any*2.0.0-ONAPbeijing2.0.0-ONAPMichael Hwang1-9/+0
There are certain python dependencies that will cause built wagons to be tied to the operating system it was built on. Simply removed almost all explicit dependencies. Change-Id: I4823f3c32f87e1843f788badf98468a3159074f5 Issue-ID: DCAEGEN2-455 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2018-04-17Support for /var/run/secrets/kubernetes.ioJack Lucas4-5/+24
Change-Id: If259892dd332981654bcad6b1e07037afbf31c7d Issue-ID: DCAEGEN2-447 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-04-12Merge "2.3.0 dcaepolicyplugin and data types"Lusheng Ji8-23/+89
2018-04-122.3.0 dcaepolicyplugin and data typesAlex Shatov8-23/+89
- 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-04-12Change consul host to be "consul"Michael Hwang7-8/+17
And not localhost Change-Id: I68c1cb4bf52e0a39a256c0adc4b6b8fb0db269ac Issue-ID: DCAEGEN2-442 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2018-04-05Set up env variables correctlyJack Lucas4-5/+5
Change-Id: I4752510a4e36d8dc19d923a817c7fb687d78fa22 Issue-ID: DCAEGEN2-432 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-03-272.2.1 dcaepolicyplugin and data typesAlex Shatov11-213/+397
- 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-27Merge "2.2.0 dcaepolicyplugin and data types"Lusheng Ji6-17/+62
2018-03-262.2.0 dcaepolicyplugin and data typesAlex Shatov6-17/+62
- 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-26Specify dcaepolicy-lib 2.3.0 in requirementsMichael Hwang4-4/+8
Change-Id: I2c251e25daea18f5be723b5238a00f40e42ba142 Issue-ID: DCAEGEN2-415 Signed-off-by: Michael Hwang <mhwang@research.att.com>