summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-02-23Make this compatible with CBS1 and CBS2Tommy Carpenter3-7/+15
Change-Id: I3e221cbc9f7e9554829b2a88f4cc3277a349f1ae Issue-ID: DCAEGEN2-351 Signed-off-by: Tommy Carpenter <tommy@research.att.com>
2018-02-22Implement the CBS 2.0.0 APITommy Carpenter6-31/+45
Change-Id: Iadf9e3d071ea24e240599fca2c13d1251e31f729 Issue-ID: DCAEGEN2-351 Signed-off-by: Tommy Carpenter <tommy@research.att.com>
2018-02-21Fixes for SONAR code coverage resultsAndrew Gauld3-8/+4
Change-Id: I2e3e548db393f85bae14b1fb4d5c867fe2d557ce Issue-ID: DCAEGEN2-355 Signed-off-by: Andrew Gauld <ag1282@att.com>
2018-02-21Make SONAR code coverage analysis workAndrew Gauld16-48/+39
Change-Id: I8091aea6127b78de404c986be74ecf44935ab92f Issue-ID: DCAEGEN2-355 Signed-off-by: Andrew Gauld <ag1282@att.com>
2018-02-19Dont pin requests version in client libTommy Carpenter8-21/+15
Note 0.0.4 was previously reused erronsouly in public pypi so I had to bump to 0.0.5 Issue-ID: DCAEGEN2-351 Change-Id: Ifd9fbd3f021d07f4ff2beac8aaf5a60ff4a1e317 Signed-off-by: Tommy Carpenter <tommy@research.att.com>
2018-02-19Initial version of dcaeapplib packageAndrew Gauld10-0/+638
Change-Id: I54db903e59a67eb4423cacf10ea957d148b4f853 Issue-ID: DCAEGEN2-354 Signed-off-by: Andrew Gauld <ag1282@att.com>
2018-02-12Update license textLusheng Ji10-11/+28
Change-Id: I9953f1064cb700c392234c62ac71bbe376f0d7f5 Signed-off-by: Lusheng Ji <lji@research.att.com> Issue-ID: DCAEGEN2-325
2018-02-05fix copyright from 2018 to 2017-2018Alex Shatov2-2/+2
Change-Id: I17a538431784b1d72f6364b68f720df11b904f09 Issue-ID: DCAEGEN2-249 Signed-off-by: Alex Shatov <alexs@att.com>
2018-02-01get policy config data from config.contentAlex Shatov2-3/+23
* get policy config data from config.content instead of config when policyType is MicroService * identify the microservice by policyType provided by policy-engine or by parsing policy_id -it should contain Config_MS after scope = defense in case the policyType is not provided Change-Id: I25b1ce9e30ee717b14aca3e59e92d4d64d825414 Issue-ID: DCAEGEN2-196 Signed-off-by: Alex Shatov <alexs@att.com>
2018-01-11variable collection of policies per componentAlex Shatov10-230/+1888
* new feature variable collection of policies per component in DCAE * massive refactoring * Unit Test coverage 100% * moved module docstring below the license text Change-Id: I5ba392cb5c42ec136306772163c370d64974ae3c Issue-ID: DCAEGEN2-249 Signed-off-by: Alex Shatov <alexs@att.com>
2017-11-25update versioning1.0.0-ONAP1.0.0-Amsterdamamsterdamvagrant7-15/+15
Issue-ID: DCAEGEN2-211 Change-Id: Iaf929c42928d2e0ea057c2e98345160d1886de28 Signed-off-by: vagrant <vv770d@att.com>
2017-11-01Turn off cert validationMichael Hwang5-3/+14
Change-Id: Ie43b6ffd4b50ee08ad65015d43ec262ba0b2b7f8 Issue-Id: DCAEGEN2-189 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2017-10-13Add script upload to snapshotsLusheng Ji2-2/+4
Issue-Id: DCAEGEN2-128 Change-Id: I90d456e43f0ad42f5b34c52476d7993ccc044ff1 Signed-off-by: Lusheng Ji <lji@research.att.com>
2017-10-13Fix pomLusheng Ji1-0/+247
Issue-Id: DCAEGEN2-128 Change-Id: Ifc7d20dd729947f2983df6ac97248243493e48d0 Signed-off-by: Lusheng Ji <lji@research.att.com>
2017-10-13Move mvn script lib to scripts/Lusheng Ji2-80/+169
Issue-Id: DCAEGEN2-128 Change-Id: I8a1198b0b400d03b1fd3a26ef6cbd8a6cda35597 Signed-off-by: Lusheng Ji <lji@research.att.com>
2017-09-29remove check-blueprint-vs-input, repackageTony Hansen11-1718/+0
check-blueprint-vs-input was moved to blueprints module repackage was moved to ccsdk/pgaas module Change-Id: If9d04d4ee1c0e5a3a2b837fc253c00dee226a2ac Signed-off-by: Tony Hansen <tony@att.com> Issue-ID: DCAEGEN2-49
2017-09-2672% unit test and coverage with toxAlex Shatov6-2/+592
* usage on local run: tox -c tox-local.ini * usage on ONAP run: tox Change-Id: I8075b035f9f05fa45a3e7eba52dc40fbcef8feec Issue-Id: DCAEGEN2-62 Signed-off-by: Alex Shatov <alexs@att.com>
2017-09-25Add unit testing to cbs docker clientTommy Carpenter10-26/+208
Issue-ID: DCAEGEN2-60 Change-Id: I4e376ed2b417aceb2927997ff9be8e502829fd86 Signed-off-by: Tommy Carpenter <tommy@research.att.com>
2017-09-21Fix tox to give more accurate coverage reportsMichael Hwang9-34/+60
* Also attempted to get sonar working * Fixed minor things along the way Change-Id: I434c0d791140e75cd5997be0cc3fefce7ccc292f Issue-Id: DCAEGEN2-60 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2017-09-21proper setup.py for global pypiAlex Shatov3-20/+10
* usage: pip install onap-dcae-dcaepolicy-lib import onap_dcae_dcaepolicy_lib Change-Id: I57b1b3157f21f9cb3b018c55ba469cd14450942b Issue-Id: DCAEGEN2-62 Signed-off-by: Alex Shatov <alexs@att.com>
2017-09-21Fix raw artifact push pathLusheng Ji4-9/+9
Issue-Id: DCAEGEN2-60 Change-Id: I0f420b6a4ebbdf0f2a9d6acd56d09f7366358b2d Signed-off-by: Lusheng Ji <lji@research.att.com>
2017-09-20Add metadata liscense to setupTommy Carpenter4-2/+5
Issue-ID: DCAEGEN2-60 Change-Id: I9933f36fe7df6a6bf33f935b2702b5209f1bca81 Signed-off-by: Tommy Carpenter <tommy@research.att.com>
2017-09-20renamed package to onap_dcae_dcaepolicy_libAlex Shatov12-86/+13
Change-Id: I692c45488fc84270ab02eca5730a3dd9b6f100ca Issue-Id: DCAEGEN2-62 Signed-off-by: Alex Shatov <alexs@att.com>
2017-09-20Rename the cbs docker clientTommy Carpenter10-6/+6
Issue-ID: DCAEGEN2-60 Change-Id: Ia0d4726215efc1c2fe78bee1bdfdf1403e2c349c Signed-off-by: Tommy Carpenter <tommy@research.att.com>
2017-09-20Change name of packages to onap-dcae-*Michael Hwang6-8/+9
For dockering and discovery-client Change-Id: Ieeab4309fc06ebb32f5f48133b7afc90dea681f8 Issue-Id: DCAEGEN2-60 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2017-09-20Update parent IDLusheng Ji8-131/+14
Issue-Id: DCAEGEN2-60 Change-Id: I40996ee4766b068568cd1c5978e1fbd0812b34c7 Signed-off-by: Lusheng Ji <lji@research.att.com>
2017-09-20Add sonar and push to pypiLusheng Ji13-64/+585
Issue-Id: DCAEGEN2-60 Change-Id: I4d2d32ca2c5ffb113c4379a1b3374b1a1dfc1856 Signed-off-by: Lusheng Ji <lji@research.att.com>
2017-09-19add tools to support PGaaS integrationTony Hansen11-17/+598
add pom files for check-blueprint-vs-input, repackage fill in deployment step within mvn script fix warnings generated during jenkins build Change-Id: Id8d10180a4e32b5125c586804086ea86c3b85a78 Signed-off-by: Tony Hansen <tony@att.com> Issue: DCAEGEN2-49 Signed-off-by: Tony Hansen <tony@att.com>
2017-09-18add tools to support PGaaS integrationTony Hansen7-0/+1184
add check-blueprint-vs-input, repackage and yamltojson Change-Id: Ibc82e37a3143f8f1567ebd829cfda53001d3ea78 Signed-off-by: Tony Hansen <tony@att.com> Issue: DCAEGEN2-49 Signed-off-by: Tony Hansen <tony@att.com>
2017-09-14Fix issue where container ports is not listMichael Hwang4-6/+24
Container ports was being returned as dict keys for python3 Change-Id: I434049c465094265d8e0ec8c8d6310b682866da8 Issue-Id: DCAEGEN2-91 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2017-09-121.0.0 and removed dcae.node.type and policy_getAlex Shatov5-187/+36
* moved dcae.node.type and policy_get from lib to dcaepolicy plugin and dcae.node.type * removed dependency on cloudify-plugins-common and requests packages * removed discovery logic since the lib does not talk to policy-handler anymore - happens in the new dcaepolicy plugin now * no more policy_apply_mode per policy node - it is up to component's blueprint to decide how to notify about policy change Change-Id: Ieefc3b5af1166a5c201574144fbf8c399e5ddc15 Issue-Id: DCAEGEN2-62 Signed-off-by: Alex Shatov <alexs@att.com>
2017-09-08Cleanup project's name in SonarJessica Wagantall1-1/+1
The name parameter in the root pom.xml should match the project name in gerrit to reflect consistency in Sonar. Change-Id: Id9149ed70e687eb833607484e2301b0678ba6574 Issue-id: CIMAN-65 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-09-08Merge "Fix pom for child modules"Vijay Venkatesh Kumar4-560/+372
2017-09-07Add in functionality for policy notificationMichael Hwang3-5/+51
Change-Id: I4ef4bc9c35266814f226cbad13c55d11901c8e79 Issue-Id: DCAEGEN2-97 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2017-09-07Fix pom for child modulesLusheng Ji4-560/+372
Issue-Id: DCAEGEN2-60 Change-Id: I9be7e10ca53f32f99c116ac730ee3c848bd76489 Signed-off-by: Lusheng Ji <lji@research.att.com>
2017-08-29Update LICENSE.txt, pom.xml's, etcLusheng Ji8-0/+1417
Issue-Id: DCAEGEN2-86 Change-Id: Ia0cda2a83eab6031d4e41d9fdf86bb2891132d5a Signed-off-by: Lusheng Ji <lji@research.att.com>
2017-08-24added python-dcae-policy to utilsalex_sh11-0/+880
Change-Id: Iefba53b3fa219ff799828e5128abd7503d0fe75c Issue-Id: DCAEGEN2-80 Signed-off-by: Alex Shatov <alexs@att.com>
2017-08-23Intiial utils push to ONAPTommy Carpenter32-0/+1974
Issue-Id: DCAEGEN2-80 Change-Id: I1dc8f2d384b0af346fccb86e6767b7e3ca484078 Signed-off-by: Tommy Carpenter <tommy@research.att.com>
2017-06-28Initial empty repositoryJessica Wagantall0-0/+0